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.

Syntax for playlist Group scheme, Album + Date ?.
tagtypedisplay
post Apr 3 2012, 06:55
Post #1





Group: Members
Posts: 114
Joined: 28-June 10
Member No.: 81892



I display my music within all playlists by grouping by %album%

I would like to display/croup by "album" and "year" problem is with albums that have more than one year in the tags, like various albums, these then displayed fractured, i.e. by tracks with the same album name. very untidy and annoying.

Can someone help me with the syntax to create a way of displaying/grouping by "albums" with the "year" and to ignore the year if there are multiple years in the tags ?.

Thank you.

This post has been edited by tagtypedisplay: Apr 3 2012, 06:57


--------------------
More stars in the universe than grains of beach sand
Go to the top of the page
+Quote Post
 
Start new topic
Replies
Daeron
post Apr 3 2012, 14:58
Post #2





Group: Members
Posts: 361
Joined: 9-October 08
Member No.: 59818



You can use a lot of things as a switch (marked with purple) to toggle the date display. This one checks whether ALBUM ARTIST is 'VA'.
$if($stricmp(%album artist%,VA),%album%,%album% '('%date%')')

If you don't want to use that tag (although it would be really efficient) and you have all of your albums tagged as 'Best of ...', you can also validate that instead:
$if($stricmp($left(%album%,8),'Best of ',%album%,%album% '('%date%')')

This post has been edited by Daeron: Apr 3 2012, 15:06
Go to the top of the page
+Quote Post
tagtypedisplay
post Apr 4 2012, 03:40
Post #3





Group: Members
Posts: 114
Joined: 28-June 10
Member No.: 81892



QUOTE (Daeron @ Apr 3 2012, 15:58) *
You can use a lot of things as a switch (marked with purple) to toggle the date display. This one checks whether ALBUM ARTIST is 'VA'.
$if($stricmp(%album artist%,VA),%album%,%album% '('%date%')')

If you don't want to use that tag (although it would be really efficient) and you have all of your albums tagged as 'Best of ...', you can also validate that instead:
$if($stricmp($left(%album%,8),'Best of ',%album%,%album% '('%date%')')

Thank you for the explanation and for giving me the correct syntax, I can now "see" how I can manipulate those two If clauses.


--------------------
More stars in the universe than grains of beach sand
Go to the top of the page
+Quote Post

Posts in this topic
- tagtypedisplay   Syntax for playlist Group scheme, Album + Date ?.   Apr 3 2012, 06:55
- - Kohlrabi   I'd use an additional tag RELEASE DATE, which ...   Apr 3 2012, 08:18
|- - tagtypedisplay   QUOTE (Kohlrabi @ Apr 3 2012, 09:18) I...   Apr 3 2012, 08:44
- - marc2003   that's not possible.   Apr 3 2012, 08:45
|- - tagtypedisplay   QUOTE (marc2003 @ Apr 3 2012, 09:45) that...   Apr 3 2012, 08:55
- - marc2003   title formatting works on a per track basis so it ...   Apr 3 2012, 09:00
|- - tagtypedisplay   QUOTE (marc2003 @ Apr 3 2012, 10:00) titl...   Apr 3 2012, 13:11
|- - dhromed   QUOTE (tagtypedisplay @ Apr 3 2012, 13:11...   Apr 4 2012, 13:38
|- - tagtypedisplay   QUOTE (dhromed @ Apr 4 2012, 14:38) You c...   Apr 4 2012, 16:12
- - Daeron   You can use a lot of things as a switch (marked wi...   Apr 3 2012, 14:58
|- - tagtypedisplay   QUOTE (Daeron @ Apr 3 2012, 15:58) You ca...   Apr 4 2012, 03:40
|- - ruebe   QUOTE (Daeron @ Apr 3 2012, 14:58) You ca...   Apr 4 2012, 16:42
- - tagtypedisplay   Ok, I finally plagiarized and hacked this; ...   Apr 4 2012, 08:35
- - db1989   I have no idea what thatís meant to be, but itís n...   Apr 4 2012, 09:04
|- - tagtypedisplay   QUOTE (db1989 @ Apr 4 2012, 10:04) I have...   Apr 4 2012, 10:34
|- - db1989   QUOTE (tagtypedisplay @ Apr 4 2012, 10:34...   Apr 4 2012, 12:12
|- - Daeron   QUOTE (tagtypedisplay @ Apr 4 2012, 03:34...   Apr 4 2012, 14:50
|- - tagtypedisplay   QUOTE (Daeron @ Apr 4 2012, 15:50) You ca...   Apr 4 2012, 16:18
- - Daeron   Try providing further details then. For example a ...   Apr 4 2012, 17:12
|- - ruebe   QUOTE (Daeron @ Apr 4 2012, 17:12) 1 equa...   Apr 4 2012, 17:51
|- - tagtypedisplay   QUOTE (Daeron @ Apr 4 2012, 18:12) You ba...   Apr 5 2012, 10:22
|- - Daeron   QUOTE (tagtypedisplay @ Apr 5 2012, 04:22...   Apr 5 2012, 14:49
- - xbrtll   Maybe I'm thinking wrong, but why would %album...   Apr 5 2012, 12:33
- - derty2   I have read the OP's initial post a number of ...   Apr 5 2012, 15:35
- - Daeron   So far I understood it like: he has one parent fol...   Apr 5 2012, 16:09
- - tagtypedisplay   This is a playlist grouping issue. in the file tr...   Apr 5 2012, 17:23
- - derty2   Is there a definable structure to all of this or n...   Apr 5 2012, 17:29
|- - tagtypedisplay   QUOTE (derty2 @ Apr 5 2012, 18:29) So wha...   Apr 5 2012, 18:13
- - Daeron   I assume the structure is then: Library / Artist ...   Apr 5 2012, 17:42
|- - tagtypedisplay   QUOTE (Daeron @ Apr 5 2012, 18:42) I assu...   Apr 5 2012, 18:23
- - derty2   "Nope, lists all the tracks sequentially with...   Apr 5 2012, 18:19
|- - tagtypedisplay   QUOTE (derty2 @ Apr 5 2012, 19:19) OR the...   Apr 5 2012, 18:28
|- - tagtypedisplay   QUOTE (derty2 @ Apr 5 2012, 19:19) Does t...   Apr 5 2012, 18:39
|- - db1989   QUOTE (tagtypedisplay @ Apr 5 2012, 18:39...   Apr 5 2012, 19:56
- - Daeron   I have literally no idea at this point about your ...   Apr 5 2012, 18:36
|- - tagtypedisplay   QUOTE (Daeron @ Apr 5 2012, 19:36) I have...   Apr 5 2012, 18:47
- - derty2   What user interface is the OP using? All my experi...   Apr 5 2012, 18:38
|- - Daeron   QUOTE (derty2 @ Apr 5 2012, 11:38) I thin...   Apr 5 2012, 18:48
|- - tagtypedisplay   QUOTE (Daeron @ Apr 5 2012, 19:48) QUOTE ...   Apr 5 2012, 19:03
|- - Daeron   QUOTE (tagtypedisplay @ Apr 5 2012, 12:03...   Apr 5 2012, 19:09
|- - tagtypedisplay   QUOTE (Daeron @ Apr 5 2012, 20:09) QUOTE ...   Apr 5 2012, 19:21
- - derty2   What is your sort scheme for the Playlist Viewer (...   Apr 5 2012, 18:50
- - derty2   So your problem is solved, but you also want to ex...   Apr 5 2012, 19:08
- - Daeron   Something like this should do it: $if($o...   Apr 5 2012, 19:25
|- - tagtypedisplay   QUOTE (Daeron @ Apr 5 2012, 20:25) Someth...   Apr 5 2012, 19:33
- - tagtypedisplay   It seems to me that the fundamental issue if that ...   Apr 6 2012, 05:06
- - tagtypedisplay   My original playlist group by Album view [img=http...   Apr 6 2012, 06:23
- - Daeron   It's not particularly hard to write a workarou...   Apr 6 2012, 13:06
|- - tagtypedisplay   QUOTE (Daeron @ Apr 6 2012, 14:06) It...   Apr 7 2012, 03:49
- - derty2   †††> 'I however have no desire to retag my...   Apr 6 2012, 14:31
|- - tagtypedisplay   QUOTE (derty2 @ Apr 6 2012, 15:31) †††...   Apr 7 2012, 03:52
- - Kohlrabi   QUOTE (tagtypedisplay @ Apr 6 2012, 06:06...   Apr 7 2012, 15:17
- - tagtypedisplay   QUOTE (Kohlrabi @ Apr 7 2012, 16:17) QUOT...   Apr 8 2012, 06:31


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: 23rd July 2014 - 01:17