Help - Search - Members - Calendar
Full Version: Playlist Tree query help
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
The Judge
I'm in the process of getting artist art for my library. As such I want to create a playlist with only one track per artist. I haven't the slightest clue how to script it. I initially tried grabbing tracks with a tracknumber of 1 but that obviously brings up multiple tracks where I have more than one album by a particular artist. I imagine there's a way to 'hide' tracks but I can't quite figure out how to script this. Any help would be grateful.

EDIT:

Ain't it just the way. Just as soon as you post you have a moment of inspiration and solve your own problem. Lol. I'm not sure if this is the most efficient way to do it but it works.

Source: @database
Criteria: tracknumber IS 1
Format: %artist%|@quote<@format<$if($greater(%_folderindex%,1),@hidden ,)>>%album%|[$num(%tracknumber%,2) - ]%title%

This hides all 'album folders' bar the first one thus giving you only one track per artist.

There has to be a way to do this for those mp3s without full tags though. For example make it such that tracks with the same artist aren't repeated. Can someone also confirm that you can't hide individual tracks or am I mistaken in thinking that? The only way I was able to hide tracks was using @hidden3 but I couldn't seem to isolate it to individual tracks.
cwbowron
QUOTE(The Judge @ May 29 2007, 15:09) *

I'm in the process of getting artist art for my library. As such I want to create a playlist with only one track per artist. I haven't the slightest clue how to script it. I initially tried grabbing tracks with a tracknumber of 1 but that obviously brings up multiple tracks where I have more than one album by a particular artist. I imagine there's a way to 'hide' tracks but I ca't quite figure out how to script this. Any help would be grateful.


IPB Image

The format string is: %artist%@limit<1>|%title%
The Judge
Oh man that is MUCH simpler than my way! Lol. I'm going to need to make a note of that @limit function - didn't come across it in the wiki sad.gif. Cheers though biggrin.gif
The Judge
I have my playlists with -s- to symbolise which playlists are organised for singles. In the switcher I have edited it so that -s- doesn't appear. Is there a way to do so in playlist tree? @playlists lists all the playlists but I can't figure out how to script it so that all the playlists are affected rather than having to alter each one separately.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.