I quickly whipped together a working prototype in order to see if my idea works.
I'm unclear about one thing. I'm doing something like this to match
Subsonic media files with Beets' items :
>>> query = (
... "artist:%s" % artist,
... "title:%s" % title,
... "album:%s" % album,
... )
>>> matches = lib.items(query)
Handcrafting a string query seems inefficient ; it also returns
multiple results if a song title is a substring of another (e.g.
"Song" and "Song (Instrumental)"), which is Not Good™. I didn't find
an official way to directly query the Item model in the docs[0], is
there any?
[0]
http://beets.readthedocs.io/en/latest/dev/api.html
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "beets" group.
> To unsubscribe from this topic, visit
>
https://groups.google.com/d/topic/beets-users/_imCIAklSJU/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
>
beets-users...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.