Skip to main content

Topic: Is there a variable for playlist name? (Read 1441 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • Valaire
  • [*]
Is there a variable for playlist name?
I'm trying to format a column to display different things for each song depending on the playlist it is in. 

Code: [Select]
$ifgreater($strstr(%playlist_name%,Rating),0,%artist%,)


Is there a variable for playlist_name?  I've seen some references to it by Google but I cant get it to work.  I basically want to set my artist column so that it doesn't display except on certain playlists.

Thanks.

  • BenB
  • [*][*][*][*][*]
Is there a variable for playlist name?
Reply #1
%_playlist_name% works in Columns UI but doesn't work in the Default UI. It seems as though access to the playlist name via title formatting in the DUI was removed at some point in the past for reasons unknown to me.

  • Valaire
  • [*]
Is there a variable for playlist name?
Reply #2
Hmm, well that sucks, guess I can't do what I wanted to do.  Using DUI.  Figured it was something basic.  I have a bunch of playlists, and wanted the ones I have setup to show albumart and grouped in EsPlaylist to NOT show the artist column because its redundant, and then for other playlists where I have a collection of highly rated singles, I wanted to show the artist column.

Is there a variable for playlist name?
Reply #3
It seems as though access to the playlist name via title formatting in the DUI was removed at some point in the past for reasons unknown to me.

As far as i remember this variable was never present in Dui but was provided by foo_cwb (wich is incompatible for a very long time with foobar2000)
german support forum: www.foobar-users.de / user: qwert73

  • BenB
  • [*][*][*][*][*]
Is there a variable for playlist name?
Reply #4
If either this page or this page is any reliable indication that the variable was once present, I'm inclined to believe that it was previously available in earlier foobar versions or it wouldn't have been included in either page. Both pages are clearly marked as being title formatting references with no mention of additional components being needed for using the title formatting listed therein.

Furthermore, upon researching the component you mentioned, I've thus far found no mention of %_playlist_name% as ever being one of the variables provided by that component.


  • Andreasvb
  • [*][*][*][*][*]
Is there a variable for playlist name?
Reply #5
Furthermore, upon researching the component you mentioned, I've thus far found no mention of %_playlist_name% as ever being one of the variables provided by that component.

Not the same string, but this is what it was called, not that it matters much today:
Quote
%cwb_activelist% - active playlist name
%cwb_playinglist% - playing playlist name
Windows 10 Pro x64 // foobar2000 1.3.10