IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
NG Playlist - Scripting Help
silkcut
post Dec 6 2012, 23:50
Post #1





Group: Members
Posts: 49
Joined: 8-October 07
Member No.: 47695



Hello. I need help with my playlist view grouping script.

Right now it is:

CODE
///////// Custom NG Group format script /////////
///////// By /mnt /////////

///////// Config /////////

// Group with Album Artist
$puts(g_artist,1)

// Group with year
$puts(g_year,1)

// NG Group rgb
$puts(rgb_group,$rgb(42,85,170))
$puts(rgb_contrast,$rgb(255,255,255))

///////// End of config /////////

// NG Group format
///////// Modified to put year after album title ///////
$get(rgb_group)
$replace(
$if($or(%album%,%album artist%),
$if($strcmp($get(g_artist),1),$if2(%album artist%,Unknown Artist)' - ')
$if2(%album%,Untitled Album),
$if2(%url%,$directory(%path%,1))),' - [',' - [',' - (',' - (',
' (',$blend($get(rgb_group),$get(rgb_contrast),1,3)' (',')',')'$get(rgb_group),
' [',$blend($get(rgb_group),$get(rgb_contrast),1,3)' [',']',']'$get(rgb_group))
$if($and(%date%,$strcmp($get(g_year),1)),' ('$year(%date%)')')


I would like to modify the last line to compare the DATE field with ORIGINAL RELEASE DATE field and if they are not equal then display

'('%original release date%') ['%date%' release]'

I am not sure the best way to go about this. Any help would be appreciated!!
Go to the top of the page
+Quote Post
silkcut
post Dec 7 2012, 01:59
Post #2





Group: Members
Posts: 49
Joined: 8-October 07
Member No.: 47695



Nevermind I figured it out. Please delete or close this thread. Thanks.
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: 18th December 2014 - 16:56