IPB

Welcome Guest ( Log In | Register )

> foobar2000 General Forum Rules

This is NOT a tech support forum.
Tech support questions go to foobar2000 Tech Support forum instead.

See also: Hydrogenaudio Terms of Service.

 
Reply to this topicStart new topic
Is there a variable for playlist name?, [TOS #6: was “Quick Question on Column Formatting”]
Valaire
post Jan 24 2013, 05:05
Post #1





Group: Members
Posts: 13
Joined: 5-October 06
Member No.: 35967



I'm trying to format a column to display different things for each song depending on the playlist it is in.

CODE
$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.
Go to the top of the page
+Quote Post
BenB
post Jan 24 2013, 06:59
Post #2





Group: Members
Posts: 624
Joined: 17-April 12
Member No.: 98921



%_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.
Go to the top of the page
+Quote Post
Valaire
post Jan 24 2013, 18:59
Post #3





Group: Members
Posts: 13
Joined: 5-October 06
Member No.: 35967



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.
Go to the top of the page
+Quote Post
q-stankovic
post Jan 25 2013, 21:09
Post #4





Group: Members
Posts: 1717
Joined: 28-May 06
From: Düsseldorf
Member No.: 31251



QUOTE (BenB @ Jan 24 2013, 07:59) *
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
Go to the top of the page
+Quote Post
BenB
post Jan 26 2013, 02:05
Post #5





Group: Members
Posts: 624
Joined: 17-April 12
Member No.: 98921



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.

Go to the top of the page
+Quote Post
Andreasvb
post Jan 26 2013, 02:22
Post #6





Group: Members
Posts: 1330
Joined: 6-March 04
From: Sweden
Member No.: 12509



QUOTE (BenB @ Jan 26 2013, 02:05) *
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 8.1 Pro x64 Media Center // foobar2000 1.3.1
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 17th April 2014 - 11:19