beetbox / beets

music library manager and MusicBrainz tagger
http://beets.io/
MIT License
12.89k stars 1.82k forks source link

Customizable default search fields #1696

Open bearcatsandor opened 9 years ago

bearcatsandor commented 9 years ago

I would love to be able to have the list of searchable fields _search_fields = ('artist', 'title', 'comments', album', 'albumartist', 'genre') be customizable, as discussed with Adrian here:

https://groups.google.com/forum/#!topic/beets-users/9Os4LkNq484

While the above would make a fine default, some of us want more power over what gets found in a simple query.

Thank you!!

sampsyo commented 9 years ago

Seems like a reasonable thing to configure. It's similar to the default sort order configuration we already have.

Sadly, this won't be entirely trivial because of the way the code is currently structured—it gets messy to change class-level fields based on configuration.