INTERACT FORUM

More => Old Versions => JRiver Media Center 20 for Windows => Topic started by: ferday on May 03, 2015, 12:00:51 pm

Title: total tracks expression...[solved]!
Post by: ferday on May 03, 2015, 12:00:51 pm
edit:  nevermind.  as most often i got it by trying harder LOL

was trying to fill in all the empty total tracks fields

for anyone who's interested, i made it through a smartlist (warning: this is probably an inefficient way of doing things, but it's working)

Code: [Select]
[=save(0,var_number_of_tracks[album artist (auto)][album][file type][bit depth])1]=1 [=save(math(1+load(var_number_of_tracks[album artist (auto)][album][file type][bit depth])),var_number_of_tracks[album artist (auto)][album][file type][bit depth])1]=1 [Media Type]=[Audio] ~sort=[Artist],[Album],[Name]-d,[Media Type],[Album Artist (auto)],[Disc #],[Track #]
then simply defined my test field

Code: [Select]
=load(var_number_of_tracks[album artist (auto)][album][file type][bit depth])
Title: Re: total tracks expression...help please!
Post by: glynor on May 03, 2015, 12:13:17 pm
Review this thread:
http://yabb.jriver.com/interact/index.php?topic=77826.0

Unfortunately, MrC is gone.
Title: Re: total tracks expression...[solved]!
Post by: ferday on May 03, 2015, 12:15:52 pm
thanks glynor

i had used that thread before to do some stuff, as per the first post i've solved my problem by just trying harder with my syntax

Title: Re: total tracks expression...[solved]!
Post by: glynor on May 03, 2015, 12:34:32 pm
This inspired me to make:
http://wiki.jriver.com/index.php/Global_Variables

It could be better, but it includes a lot of MrC wisdom on the subject.