INTERACT FORUM

Please login or register.

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

Author Topic: can a Smartlist fill Library fields?  (Read 1553 times)

Llannis

  • Junior Woodchuck
  • **
  • Posts: 94
can a Smartlist fill Library fields?
« 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
Logged

ferday

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1732
Re: can a Smartlist fill Library fields?
« Reply #1 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



Logged

Llannis

  • Junior Woodchuck
  • **
  • Posts: 94
Re: can a Smartlist fill Library fields?
« Reply #2 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"
Logged

ferday

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1732
Re: can a Smartlist fill Library fields?
« Reply #3 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


Logged

Llannis

  • Junior Woodchuck
  • **
  • Posts: 94
Re: can a Smartlist fill Library fields?
« Reply #4 on: May 05, 2015, 12:01:13 pm »

Thank you Ferday,

I will read and test and get back with results :)
Logged
Pages: [1]   Go Up