google-code-export / beets

Automatically exported from code.google.com/p/beets
MIT License
0 stars 0 forks source link

Search for incomplete albums in db #409

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Building off of suggestion http://code.google.com/p/beets/issues/detail?id=380 
it would be useful to have an option to query the database for any albums with 
missing tracks. When importing albums it lets me know, but rather than having 
to copy them to a text file I would rather go back later and query all 
incomplete albums or missing tracks so we can fill in any missing songs. 

Original issue reported on code.google.com by edlin303 on 20 Jul 2012 at 3:18

GoogleCodeExporter commented 9 years ago

Original comment by adrian.sampson on 20 Jul 2012 at 4:04

GoogleCodeExporter commented 9 years ago
Apparently this could be done with a simple plugin. Adrian said: "for each 
album, check len(album.items()) != album.tracktotal".

However, would it be possible to assign this type of custom/complex search 
logic to a label in the config, and then supply that label as a query argument 
to regular beets commands? Instead of having to create a new plugin whenever a 
complex search is needed?

Original comment by real.hu...@mrmachine.net on 26 Jan 2013 at 11:43