IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Album list help, A problem with scripting
greenfoot
post Jun 19 2007, 21:28
Post #1





Group: Members
Posts: 45
Joined: 20-January 07
Member No.: 39831



I want to be able to arrange my music so that it first organizes by two main genres, classical and popular, and then have the classical part organized by composer and the popular part organized by artist.

Here's a mockup:


+ Classical
.........+ Bach, Johann Sebastian
.........+ Beethoven, Ludwig van
.........+ Brahms, Johannes
+ Popular
.........+ Ozzy Osbourne
.........+ Rod Stewart
.........+ Roy Orbison

Is that possible?
Go to the top of the page
+Quote Post
kanak
post Jun 20 2007, 09:57
Post #2





Group: Members
Posts: 1190
Joined: 12-January 06
From: Cambridge, MA
Member No.: 27052



CODE
$if($stricmp(%genre%,'classical'),Classical|%composer%,Popular|%album artist%)|%album%


I added the %album% part even though you didn't specify for it. Also, i've used album artist to sort the popoular music, if you prefer, you can change it to simply "%artist%".

Hope this helps.
Go to the top of the page
+Quote Post
greenfoot
post Jun 23 2007, 09:00
Post #3





Group: Members
Posts: 45
Joined: 20-January 07
Member No.: 39831



Oh wow thats perfect. Thank you so much!
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: 16th September 2014 - 14:03