mherger wrote:
>
> > Feels like playlists together with virtual libraries might be a way
> to
> > do it. I guess I'd have to create a small plugin that makes it
> possible
>
> I'm not sure how that would help with the tags?
>
The idea would be to have one playlist per genre and create a virtual
library for each playlist which would make it possible to browse the
content of that tag.
mherger wrote:
>
> > to create a virtual library based on a selected playlist unless there
> is
> > a way to do that with standard LMS ? Didn't find any possibilities to
> do
> > a search limited to a playlist but I might be missing something.
>
> A library definition can be (almost) as simple as an SQL statement.
> That's something you know and could get started with. Here's eg. my
> definition of the "kids music" library:
>
> name: Kinder
> params:
> - KINDER%
> - '% KINDER%'
> - KASPERLI%
> - '% KASPERLI%'
> - KINDERMUSIK%
> - '% KINDERMUSIK%'
> - 1
> sql: INSERT OR IGNORE INTO library_track (library, track) SELECT
> '%s', id FROM ((SELECT
> me.id FROM tracks me LEFT JOIN genre_track genreTracks ON
> genreTracks.track =
> me.id WHERE ( ( genre IN ( SELECT me.id FROM genres me WHERE ( ( (
>
> me.namesearch
> LIKE ? OR me.namesearch LIKE ? ) OR ( me.namesearch LIKE ? OR
> me.namesearch LIKE
> ? ) OR ( me.namesearch LIKE ? OR me.namesearch LIKE ? ) ) ) ) AND
> me.audio = ?
> ) ) GROUP BY me.id))
>
> Create a few libraries using advanced search, then look at the resulting
>
> definitions in virtualLibraries.prefs. You'll quickly learn from that.
Oh, didn't think about editing the prefs files manually. Thanks, that
should be a way to do exactly what I want. :-)
Erland Isaksson ('My homepage' (http://erland.isaksson.info))
Developer of 'many plugins/applets'
(https://wiki.slimdevices.com/index.php/User_Erland.html)
*Starting with LMS 8.0 I no longer support my plugins/applets* ('see
here for more information'
(https://forums.slimdevices.com/showthread.php?49483-Announce-New-versions-of-erlands-plugins&p=998836&viewfull=1#post998836)
)
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=115162
_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter