beets/beetsplug
Adrian Sampson f005ec2de0 refactor: everything is like a plugin query (#214)
The initial idea for this refactor was motivated by the need to make
PluginQuery.match() have the same method signature as the match() methods on
other queries. That is, it needed to take an *item*, not the pattern and
value. (The pattern is supplied when the query is constructed.) So it made
sense to move the value-to-pattern code to a class method.

But then I realized that all the other FieldQuery subclasses needed to do
essentially the same thing. So I eliminated PluginQuery altogether and
refactored FieldQuery to subsume its functionality. I then changed all the
other FieldQuery subclasses to conform to the same pattern.

This has the side effect of allowing different kinds of queries (even
non-field queries) down the road.
2013-03-13 22:57:20 -07:00
..
bpd changelog note and indentation fix for #86 2013-02-02 12:27:42 -08:00
lastgenre docs & style for #92 2013-02-06 10:55:48 -08:00
web happy new year 2013-01-11 10:43:41 -08:00
__init__.py happy new year 2013-01-11 10:43:41 -08:00
bench.py happy new year 2013-01-11 10:43:41 -08:00
chroma.py chroma: catch acoustid exceptions during submit 2013-03-12 20:30:57 -07:00
convert.py convert: auto (#212) now transcodes to /tmp 2013-03-10 13:22:05 -07:00
echonest_tempo.py echonest_tempo: catch socket.error 2013-03-09 11:33:55 -08:00
embedart.py allow convert to be used without embedart enabled 2013-01-23 15:56:49 -08:00
fetchart.py fetchart: remote_priority config option 2013-02-10 21:40:55 -08:00
fuzzy.py refactor: everything is like a plugin query (#214) 2013-03-13 22:57:20 -07:00
ihate.py remove singleton enforcement from plugins 2013-01-31 12:13:19 -08:00
importfeeds.py changelog for #180 2013-03-12 22:00:11 -07:00
info.py happy new year 2013-01-11 10:43:41 -08:00
inline.py fix inline and rewrite for instance fields 2013-02-02 08:35:54 -08:00
lyrics.py lyrics: replace apostrophes with ' (GC-498) 2013-01-11 10:51:22 -08:00
mbcollection.py mbcollection: use library functions 2013-03-11 19:43:57 -07:00
mbsync.py mbsync: fix redundant album art movement 2013-03-03 17:46:16 -08:00
mpdupdate.py Update comments to reflect config migration 2013-01-31 18:17:00 -05:00
random.py happy new year 2013-01-11 10:43:41 -08:00
replaygain.py replaygain: catch Unicode exc on Windows (GC-499) 2013-01-12 14:38:19 -08:00
rewrite.py fix inline and rewrite for instance fields 2013-02-02 08:35:54 -08:00
scrub.py minor style cleanup for #75 2013-01-29 21:30:57 -08:00
smartplaylist.py Sanitize template evaluation for smartplaylist 2013-02-11 21:37:14 -05:00
the.py remove singleton enforcement from plugins 2013-01-31 12:13:19 -08:00
zero.py zero: remove redundant list of dict's keys 2013-01-31 12:15:18 -08:00