INTERACT FORUM

More => Old Versions => JRiver Media Center 20 for Windows => Topic started by: Llannis on May 05, 2015, 06:04:11 am

Title: can a Smartlist fill Library fields?
Post by: Llannis on May 05, 2015, 06:04:11 am
Hello,

can I create a Smartlist that will automatically add information to a Library field.

For example we have two Smartlists called "Michael Jackson" and "Paul McCartney".

When I add the song "Say Say Say" to the first playlist the name of Michael Jackson will appear at the custom library field "custom_Artist" and when I add it to the second one; at the "custom_Artist" field will appear "Michael Jackson;Paul McCartney".

Is this possible?

Thank you in advance
Title: Re: can a Smartlist fill Library fields?
Post by: ferday on May 05, 2015, 09:42:59 am
Maybe...

But you need to explain this a little better, I'm not sure I understand what you mean.  Are you saying that IF a song is in a smartlist, you want it to auto-tag a certain custom field?

You can set an expression in the Smartlist that makes tags, I use them all the time to calculate # of tracks, average album DR, etc



Title: Re: can a Smartlist fill Library fields?
Post by: Llannis on May 05, 2015, 10:55:40 am
Hello Ferday,

I think that you understood what I am saying correctly. But furthermore I would like to keep any previous tags in that custom field.

Could you help me with the specific expression?

It would be...

the songs in this smartlist are auto-tagged "_Artist" = ";Michael Jackson" (but without erasing the previous "_Artist" tag"
Title: Re: can a Smartlist fill Library fields?
Post by: ferday on May 05, 2015, 11:13:17 am
ouch, that's a tough expression.  It probably CAN be written right into a smartlist, but off the top of my head requires variables....what i would personally do is make another custom tag [test], and set that to

listbuild(1,;,[artist],Michael Jackson)

then make [test2]

listbuild(1,;,[artist],Paul McCartney)

populate your smartlist with the songs, then manually select all, then set the [_Artist] custom tag to
=[test] or =[test2]

then display only [test] or [test2] in each respective smartlist, and the smartlist will automatically create the listbuild result each time you add a track, so all you'll have to do is manually change the [_Artist] tag.  it's not exactly what you want, but...

to actually make the smartlist tag them "smartly" i'm almost positive you'll have to use variables (IF it's even possible), since the smarlist expressions are actually rules for the smartlist to display rather than tagging rules (like import).  Variables are somewhat tricky, Glynor linked an excellent bit of info here

http://yabb.jriver.com/interact/index.php?topic=97364.0


Title: Re: can a Smartlist fill Library fields?
Post by: Llannis on May 05, 2015, 12:01:13 pm
Thank you Ferday,

I will read and test and get back with results :)