On 21 Dec 2017, at 17:30, 1.61803 wrote:
From the type of options that the plugin shows, I suppose that it uses
the
iTunes Library file. This might sound weird, but bear with me —
would it be
feasible to make it use a directory tree in order to make the plugin
play
audio files in other applications like cmus (and thus being a more
generic
music plugin)?
Yes and no. I don’t think it makes sense to change the way the iTunes
plug-in scans in the tracks (until Apple removes that extremely useful
XML copy of the library). And if we did change it, I think Apple added
an iTunes API to the OS, so we’d probably switch to that.
But if you wanted to play the same files in another player, that should
be possible. Plug-ins can create actions for types that don’t
“belong” to them. For example, many plug-ins add actions that work
with some of Quicksilver’s built-in types like text, files, and URLs.
So a plug-in for another player could support the iTunes “browser”
type, which is what Genres, Albums, or Artists are internally. (Maybe.
That wouldn’t be easy.)
Also, things can have more than one type. You may not be aware, but
iTunes **already identifies the tracks it finds as files**, so you can
use any of Quicksilver’s actions for files on tracks from the iTunes
plug-in. I was just able to right-arrow into and album, select all, and
use Open With… ⇥ VLC. It’s not perfect, since you can’t do this
with the album directly, and VLC starts playing the songs as they’re
added, so you end up only hearing the last one, but it’s pretty close.
Hopefully you get the idea.
Having said that, I’d be curious to see what someone can do with more
agnostic scanner based on
[MediaInfo](https://mediaarea.net/en/MediaInfo) or something.
--
Rob McBroom
http://www.skurfer.com/
--
You received this message because you are subscribed to the Google Groups
"Quicksilver" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/blacktree-quicksilver.
For more options, visit https://groups.google.com/d/optout.