by ZvezdanD » Fri Oct 15, 2010 11:18 am
You cannot reference list of tracks from a regular Magic node, but you could generate a static playlist with the Magic Nodes, and that playlist could be referenced within auto-playlists using Playlist is ... condition. To move regular Magic node to the Playlists branch you need to add Child of:Playlists|Position:Child to the global node of the mentioned mask:
Code: Select all
<Group|Name:Random|Show tracks:No>\One random Track from each Album (as playlist))|Icon:Top level|Child of:Playlists|Position:Child|Filter:Songs.ID IN (SELECT (SELECT S1.ID FROM Songs AS S1 WHERE S1.IDAlbum = Songs.IDAlbum ORDER BY Random()) FROM Songs WHERE IDAlbum > 0 GROUP BY IDAlbum)\<Album|Trim:1|Unknown:No>\<Album|Unknown:No>
You cannot reference list of tracks from a regular Magic node, but you could generate a static playlist with the Magic Nodes, and that playlist could be referenced within auto-playlists using Playlist is ... condition. To move regular Magic node to the Playlists branch you need to add Child of:Playlists|Position:Child to the global node of the mentioned mask:
[code]<Group|Name:Random|Show tracks:No>\One random Track from each Album (as playlist))|Icon:Top level|Child of:Playlists|Position:Child|Filter:Songs.ID IN (SELECT (SELECT S1.ID FROM Songs AS S1 WHERE S1.IDAlbum = Songs.IDAlbum ORDER BY Random()) FROM Songs WHERE IDAlbum > 0 GROUP BY IDAlbum)\<Album|Trim:1|Unknown:No>\<Album|Unknown:No>[/code]