INTERACT FORUM

More => Old Versions => JRiver Media Center 20 for Mac => Topic started by: chriswimlett on January 23, 2015, 11:10:33 am

Title: Add DISCTOTAL tag to the JRiver database?
Post by: chriswimlett on January 23, 2015, 11:10:33 am
Is there a way that I can add the DISCTOTAL tag to the JRiver database?  I populate this tag in Yate before importing to iTunes, but as far as I can see it's not one of the standard library fields, and wondered if there was a way it could be added.

Any help much appreciated  :)

Chris
Title: Re: Add DISCTOTAL tag to the JRiver database?
Post by: arin on January 23, 2015, 04:44:20 pm
Maybe this thread can help you…just like it helped me!

http://yabb.jriver.com/interact/index.php?topic=86779.msg594579#msg594579

Especially MrC's great advice:
Quote
Here's an easy way for you to populate your Total Tracks and Total Discs fields.

I'll assume you've already created Integer fields called Total Tracks and Total Discs.  Add those to your file list view, so you can tag them (of course, you could tag in the Tag Action Window instead of in a column).

Select all the files you want to update with these fields.

For Total Tracks, edit the cell for Total Tracks with F2, and enter the expression:

   =listitem(tag(Track #),1,//)

and press Return.  For Total Discs, use this expression:

   =listitem(tag(Disc #),1,//)

That's it.  Note that the Tag() function is slow, since it has to read the actual raw tags from disk, so only use it to do this type of assignment (in other words, don't use it in a view generally).
Title: Re: Add DISCTOTAL tag to the JRiver database?
Post by: chriswimlett on January 24, 2015, 10:19:02 am
Excellent, thanks that did it  :)

Chris
Title: Re: Add DISCTOTAL tag to the JRiver database?
Post by: arin on January 25, 2015, 09:10:52 am
Good to hear that!  ;)

arin