it goes from 1900's-2000's, then last year's, and then this year's music.
the only problem being i would like my music from this year and last year to show up in the 2000's tree as well as this/last year's tree. i cant seem to get the tracks to show up under 2 different trees at the same time thou. im not sure if it is possible, but it would be great if it is, then i can call this script complete.
here is my code for this age script:
CODE
// set the current year below!
$puts(cyear,2005)
$if($and(%date%,%artist%,%title%,%genre%),
$puts(d1,$left(%date%,1))
$puts(d3,$substr(%date%,3,3))
$puts(d4,$right(%date%,1))
$if($stricmp($get(d1),1),
$puts(age,19$get(d3)0''s))
$if($stricmp($get(d1),2),
$puts(age,2000''s))
$if($and($stricmp($get(d1),2),$stricmp($get(d4),$right($get(cyear),1))),
$puts(age,This year''s))
$if($and(
$stricmp($get(d1),2),
$stricmp($get(d4),$sub($right($get(cyear),1),1))),
$puts(age,Last year''s))
$get(age)
)
|
$if($and(%date%,%artist%,%title%,%genre%),%genre%)
|
$if($and(%date%,%artist%,%title%,%genre%),%artist%)
|
$if($and(%date%,%artist%,%title%,%genre%),
$if($and(%album%,$not(%various%)),%album%,● singles))
|
$if($and(%date%,%artist%,%title%,%genre%),
$if($and(%album%,$not(%various%)),%tracknumber%. %title%,%title%))
$puts(cyear,2005)
$if($and(%date%,%artist%,%title%,%genre%),
$puts(d1,$left(%date%,1))
$puts(d3,$substr(%date%,3,3))
$puts(d4,$right(%date%,1))
$if($stricmp($get(d1),1),
$puts(age,19$get(d3)0''s))
$if($stricmp($get(d1),2),
$puts(age,2000''s))
$if($and($stricmp($get(d1),2),$stricmp($get(d4),$right($get(cyear),1))),
$puts(age,This year''s))
$if($and(
$stricmp($get(d1),2),
$stricmp($get(d4),$sub($right($get(cyear),1),1))),
$puts(age,Last year''s))
$get(age)
)
|
$if($and(%date%,%artist%,%title%,%genre%),%genre%)
|
$if($and(%date%,%artist%,%title%,%genre%),%artist%)
|
$if($and(%date%,%artist%,%title%,%genre%),
$if($and(%album%,$not(%various%)),%album%,● singles))
|
$if($and(%date%,%artist%,%title%,%genre%),
$if($and(%album%,$not(%various%)),%tracknumber%. %title%,%title%))
here are my other album list scripts for those who like my work. they make use of a %various% tag to determine v/a albums, so make sure to change that to %albumartist% if you have to.
By album:
CODE
$if($and(%artist%,%title%),
$if(%various%,● Various Artists,%artist%))
|
$if($and(%artist%,%title%),$if(%album%,%album%,● singles))
|
$if($and(%artist%,%title%),
$if(%album%,%tracknumber%. %title%,%title%))
$if(%various%,● Various Artists,%artist%))
|
$if($and(%artist%,%title%),$if(%album%,%album%,● singles))
|
$if($and(%artist%,%title%),
$if(%album%,%tracknumber%. %title%,%title%))
By rating:
CODE
$if($and(%rating%,%artist%,%title%,$not($strcmp(%rating%,0))),$repeat( ♫,%rating%))
|
$if($and(%rating%,%artist%,%title%,%genre%,$not($strcmp(%rating%,0))),%genre%)
|
$if($and(%rating%,%artist%,%title%,%genre%,$not($strcmp(%rating%,0))),%artist%)
|
$if($and(%rating%,%artist%,%title%,%genre%,$not($strcmp(%rating%,0))),%title%)
|
$if($and(%rating%,%artist%,%title%,%genre%,$not($strcmp(%rating%,0))),%genre%)
|
$if($and(%rating%,%artist%,%title%,%genre%,$not($strcmp(%rating%,0))),%artist%)
|
$if($and(%rating%,%artist%,%title%,%genre%,$not($strcmp(%rating%,0))),%title%)
And by codec:
CODE
%__codec%
|
$ifgreater(%__bitrate%,319,$puts(brgroup,320+ kbps),
$ifgreater(%__bitrate%,255,$puts(brgroup,256-319 kbps),
$ifgreater(%__bitrate%,191,$puts(brgroup,192-255 kbps),
$ifgreater(%__bitrate%,127,$puts(brgroup,128-191 kbps),
$puts(brgroup, 0-127 kbps)))))
$get(brgroup)
|
$if(%artist%,%artist%)
|
$if(%artist%,%title%)
|
$ifgreater(%__bitrate%,319,$puts(brgroup,320+ kbps),
$ifgreater(%__bitrate%,255,$puts(brgroup,256-319 kbps),
$ifgreater(%__bitrate%,191,$puts(brgroup,192-255 kbps),
$ifgreater(%__bitrate%,127,$puts(brgroup,128-191 kbps),
$puts(brgroup, 0-127 kbps)))))
$get(brgroup)
|
$if(%artist%,%artist%)
|
$if(%artist%,%title%)
Edit:
I posted this last night and couldnt find it around 10ish this morning b4 i left for work. i read somthing about the forum needing to be restored from a back up so i posted it again. then just now i couldnt find my post again, i was like wtf? where is my post?
and then i saw that the mods split it. thanks mods.
let me know what u'z think.