Help - Search - Members - Calendar
Full Version: playlist categorizing?
Hydrogenaudio Forums > Hosted Forums > foobar2000 > General - (fb2k)
Fireinthehole
Hi, i've been using foobar for a while now and it's a great program. I found it way better than winamp since it focuses on the playlist rather than the player. But I recently looked at some screenshots from http://pelit.koillismaa.fi/fb2k/index.php , and i was wondering how they made their songs categorized by album/artist like that?
anza
Those formatting strings just show different information according to what the tracknumber is.

Usually it's like this:
If tracknumber is 1, show artist,
If tracknumber is 2, show album,
If tracknumber is 3, show some other info
If tracknumber is greater than 3 (or whatever else), don't show a thing.
Fireinthehole
Well, how exactly do they make their playlist look like this?

user posted image
anza
Well on that page you see the code for the playlist (and often also for the system tray, window title and/or status bar). Just copy/paste it to Prefs|Display|Title formatting -> Playlist/Systray/whatever and you're done.
Or you could've taken the easy way and read the instructions on the page that tell you to use foo_syfm plugin which makes changing those strings even easier.

Most of the formatting strings also have a readme, read them well to see which tags you need in your files for the formatting string to work etc.

Just keep on reading the page.

If you want to really know _how_ we do it, just read the formatting strings :B
Fireinthehole
No, i got it working but I wanted to know how he added that second column. I've tried every formatting string and it doesn't add it in.
anza
So you don't see the Artist/Album stuff?
As I said, read the readme to see which tags you need to add to your files to get it to show right.
Fireinthehole
Well i've read the readme but i don't know what exactly i'm looking for



---

Thanks to Daelus, tama and nuhi for the "base" of my design smile.gif
My design was originally only for albums, but over time it has evolved to work quite well with both whole albums and single files.
The %tracknumber% tag is essential for albums to display as intended (as well as %artist%, %title% and %album% tags)
I have tried to make it display as good as possible when tags are missing, but it's not perfect.

Other tags used:
* %various%,%performer% (albums with various artist)
* %album artist% (e.g. DJ compilations)
* %singletrack% (force display of artist and title (even if tracknumber is present))
* %lasttrack% (for the last track in every album)
* %disc%, %discname%
* %date%
* %genre%
* %trackrating% (0,1,2 just an experiment)

+tags for codec, replaygain and more...

Various artists albums will also display correctly if the directory name starts with 'VA - '

At the top of the playlist code there are three options:
* mode (album/single)
* l_min (set the minimum width of the first column)
* cut_column1 (optional cutting of the first column after l_min characters)

I have probably forgotton alot, but it's all in the code anyway smile.gif

---Colors---
Playlist text color: 255,255,255
Playlist background color: 0,0,25
Playlist selection color: 18,24,48
Selected item frame: 47,63,128


***My Playlist sorting string***

$puts(is_single,$if($or(%singletrack%,$stricmp($substr(%_directoryname%,0,9),'=SINGLES=')),1,0))$puts(is_various,$if($or($or($if3(%various%,%performer%,%album artist%),$stricmp($substr(%_directoryname%,0,5),'VA - ')),$stricmp($substr($directory(%_path%,2),0,5),'VA - ')),1,0))$get(is_single) - $get(is_various) - $if($strcmp(1,$get(is_various)),%ALBUM%[ - %date%],%ARTIST%[ - %date%] - %ALBUM%) - %_path% - $num(%tracknumber%,3) - %TITLE%

----

Am I supposed to copy/paste the playlist sorting string somewhere? I've tried pasting it in the playlist formatting string area but it just messes up my playlist
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.