INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: total tracks expression...[solved]!  (Read 1337 times)

ferday

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1732
total tracks expression...[solved]!
« 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])
Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: total tracks expression...help please!
« Reply #1 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.
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

ferday

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1732
Re: total tracks expression...[solved]!
« Reply #2 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

Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: total tracks expression...[solved]!
« Reply #3 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.
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/
Pages: [1]   Go Up