Is it possible to have a filer so that only the multi genre are displayed?
Code: Select all
Multi Genre|Child of:Library|Position:Before\<Multi genre|Sort by:Count(Tracks)|Sort order:desc|Statistic:Count(Tracks)>Code: Select all
Multi Genre|Child of:Library|Position:Before\<Multi genre|Sort by:Count(Tracks)|Sort order:desc|Statistic:Count(Tracks)>Do you want to display only tracks which have two or more genres? Did you try the "Multi-item Genre" node from the "Multi-item fields" folder?Milagro wrote:Is it possible to have a filer so that only the multi genre are displayed?
Code: Select all
Multi Genre|Child of:Library|Position:Before\<Multi-item genre|Sort by:Count(Tracks)|Sort order:desc|Statistic:Count(Tracks)>Code: Select all
Genre|Child of:Library|Position:Before\<Genre|Sort by:Count(Tracks)|Sort order:desc|Statistic:Count(Tracks)>Have you installed the predefined masks supplied with the add-on? Within the "Magic Nodes" folder of the Media Tree panel you should have the "Multi-item fields" sub-folder and within it you should have the "Multi-item Genre" node.Milagro wrote:I can not find the Multi-item genre node
You should turn off the "Show sort key" option, so you would get:Milagro wrote:I also have a mask that count the genres' is it possible to start with the name of the genre instead of the number of tracks?
Rock - 50 tracks and order them by Count(Tracks)?
Code: Select all
Genre|Child of:Library|Position:Before\<Genre|Sort by:Count(Tracks)|Sort order:desc|Show sort key:0|Statistic:Count(Tracks)>Code: Select all
<Group|Name:Random|Show tracks:No>\2 Random Tracks from each Artist|Icon:0|Filter:Songs.ID IN (SELECT Songs.ID FROM Songs, (SELECT DISTINCT ArtistsSongs.IDArtist AS IDArtist FROM ArtistsSongs WHERE (ArtistsSongs.PersonType = 1 OR ArtistsSongs.PersonType IS NULL)) AS T1 WHERE Songs.ID IN (SELECT Songs.ID FROM Songs, ArtistsSongs WHERE Songs.ID = ArtistsSongs.IDSong AND ArtistsSongs.IDArtist = T1.IDArtist ORDER BY Random() LIMIT 2))fizzjob wrote:1) Artists in the library with fewer than 2 songs get filtered out
Code: Select all
<Group|Name:Random|Show tracks:No>\2 Random Tracks from each Artist having 2 or more tracks|Icon:0|Filter:Songs.ID IN (SELECT Songs.ID FROM Songs, (SELECT IDArtist FROM ArtistsSongs WHERE (PersonType = 1 OR PersonType IS NULL) GROUP BY IDArtist HAVING Count(*) >= 2) AS T1 WHERE Songs.ID IN (SELECT Songs.ID FROM Songs, ArtistsSongs WHERE Songs.ID = ArtistsSongs.IDSong AND ArtistsSongs.IDArtist = T1.IDArtist ORDER BY Random() LIMIT 2))This is not currently possible, but you could get all tracks shuffled by adding one "invisible" sub-node with the Random sort order:fizzjob wrote:2) The songs are presented "shuffled" by artist?
Code: Select all
<Group|Name:Random|Show tracks:No>\2 Random Tracks from each Artist having 2 or more tracks (shuffled tracks)|Icon:0|Filter:Songs.ID IN (SELECT Songs.ID FROM Songs, (SELECT IDArtist FROM ArtistsSongs WHERE (PersonType = 1 OR PersonType IS NULL) GROUP BY IDArtist HAVING Count(*) >= 2) AS T1 WHERE Songs.ID IN (SELECT Songs.ID FROM Songs, ArtistsSongs WHERE Songs.ID = ArtistsSongs.IDSong AND ArtistsSongs.IDArtist = T1.IDArtist ORDER BY Random() LIMIT 2))\<Artist|Sort order:Random|Show nodes:No>I get a script error when clicking on the node. The mask I modified looks like this;rrfpacker wrote:
Seems to me I just need to change >= 70 to Between 60 and 69 but that doesn't work.
Yes, that would be the right syntax. How that it is not working?
You haven't replaced ">= 70" with "Between 60 and 69", but with "= Between 60 and 69". "Between" is the valid operator, but "= Between" is not (http://www.sqlite.org/lang_expr.html), i.e. you have "=" in excess there.rrfpacker wrote:I get a script error when clicking on the node.rrfpacker wrote:
Seems to me I just need to change >= 70 to Between 60 and 69 but that doesn't work.
Yes, that would be the right syntax. How that it is not working?
I kind of have it working, the trick was adding an additional Order by Random() clause. It still seems a bit spotty, however, in that the artists' tracks aren't always grouped together.ZvezdanD wrote:This is not currently possible, but you could get all tracks shuffled by adding one "invisible" sub-node with the Random sort order:Code: Select all
<Group|Name:Random|Show tracks:No>\2 Random Tracks from each Artist having 2 or more tracks (shuffled tracks)|Icon:0|Filter:Songs.ID IN (SELECT Songs.ID FROM Songs, (SELECT IDArtist FROM ArtistsSongs WHERE (PersonType = 1 OR PersonType IS NULL) GROUP BY IDArtist HAVING Count(*) >= 2) AS T1 WHERE Songs.ID IN (SELECT Songs.ID FROM Songs, ArtistsSongs WHERE Songs.ID = ArtistsSongs.IDSong AND ArtistsSongs.IDArtist = T1.IDArtist ORDER BY Random() LIMIT 2))\<Artist|Sort order:Random|Show nodes:No>
Code: Select all
<Group|Name:Random|Show tracks:No>\2 Random Tracks from each Artist having 2 or more tracks|Icon:0|Filter:Songs.ID IN (SELECT Songs.ID FROM Songs,(SELECT IDArtist FROM ArtistsSongs WHERE (PersonType = 1 OR PersonType IS NULL) GROUP BY IDArtist HAVING Count(*) >= 2 Order by Random()) AS T1 WHERE Songs.ID IN (SELECT Songs.ID FROM Songs, ArtistsSongs WHERE Songs.ID = ArtistsSongs.IDSong AND ArtistsSongs.IDArtist = T1.IDArtist ORDER BY Random() LIMIT 2))There are 4 different methods of deleting Magic Nodes' masks, 3 of them are built-in:vacilar wrote:I created a node which will crash MM every time i open or try to delete the node. How can i delete it now?