I have tried your code and it works well Erland.
So to experiment a little more I have tried this to find albums with 2
words "Live" and "Acoustic":
<data>
select {library},tracks.id from tracks,albums
where
tracks.album=albums.id and
albums.title like ('%Live%','%Acoustic%') and
tracks.audio=1
group by tracks.id
</data>
But result is 0 albums, do I need to use OR instead of AND with two
lines code:
...
albums.title like '%Live%' or
albums.title like '%Acoustic%'
...
--
EnzoCorsa
------------------------------------------------------------------------
EnzoCorsa's Profile: http://forums.slimdevices.com/member.php?userid=45453
View this thread: http://forums.slimdevices.com/showthread.php?t=86878
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins