INTERACT FORUM

Please login or register.

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

Author Topic: How to import Star Rating in to JRiver V19.0.36  (Read 3730 times)

ForFun2000

  • Recent member
  • *
  • Posts: 13
How to import Star Rating in to JRiver V19.0.36
« on: September 26, 2013, 08:04:45 am »

Hi
I would have thought this question would have been well covered but I can't find any precise information about it. I have 1000s of music tracks which I have rated in Microsoft Window Media Player. I want to transfer this to JRiver but no sure how; so if you have done it yourself, I would love to read from you.

This is the approach I have taken but it does not work...

Step 1) Exporting out of WMP
I use MetaDataBackUp a free program that save everything into an XML file as follows:
     <MediaItem SourceUrl="M:\Zaz\Zaz - Zaz (2010) [FLAC] - insinuendo\Unknown Artist - 07. Track 7.flac">
          <SourceURL IsReadOnly="True">M:\Zaz\Zaz - Zaz (2010) [FLAC] - insinuendo\Unknown Artist - 07. Track 7.flac</SourceURL>
          <UserRating IsReadOnly="False">50</UserRating>

Step 2) Reformating into JRiver XML format as
<Item>
<Field Name="Filename">M:\Zaz\Zaz - Zaz (2010) [FLAC] - insinuendo\Unknown Artist - 07. Track 7.flac</Field>
<Field Name="Rating">2</Field>
<Item>

Step 3) Importing into JRiver
MC19.exe /Import E:\BACKUP\WMP_MetaData\testjriverimport.xml

Additional info:
a) XML is not listed as a valid import file type in the documentation so I may be "barking at the wrong tree"?
b) I have tried importing direct into field "Rating" but it does not load it
3) I tried creating a new field "UserRating" but it does not load it. With the intention to copy from UserRating to Rating.

So If you have done it, this way -or- any other way that works, please do help...
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: How to import Star Rating in to JRiver V19.0.36
« Reply #1 on: September 26, 2013, 10:51:34 am »

- Rating needs to be 0-5.

- Rename the .xml to .mpl.

- Ensure you have the proper MPL headers/footer.

- Use File > Import Playlist to import an MPL.

It probably would be pretty quick to convert my DVDProfiler2MC script into one that suits the format if MetaDataBackUp.
Logged
The opinions I express represent my own folly.

ForFun2000

  • Recent member
  • *
  • Posts: 13
Re: How to import Star Rating in to JRiver V19.0.36
« Reply #2 on: September 26, 2013, 12:32:07 pm »

Hi Mrc

Thanks for the reply!

- Rating needs to be 0-5.
- Rename the .xml to .mpl.
- Ensure you have the proper MPL headers/footer.
- Use File > Import Playlist to import an MPL.

I have not checked if the MPL header/footer are the same as the XML export from JRiver BUT doing what you said WORKED! Phew!
I think the above MUST BE published in the help file (ref import)

"It probably would be pretty quick to convert my DVDProfiler2MC script into one that suits the format if MetaDataBackUp."
That would be time well invested as I would suggest a lot of people are trying to migrate from WMP to JRiver!

Thanks again
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: How to import Star Rating in to JRiver V19.0.36
« Reply #3 on: September 26, 2013, 12:37:56 pm »

Great.  See my reply to your other post.
Logged
The opinions I express represent my own folly.

ForFun2000

  • Recent member
  • *
  • Posts: 13
Re: How to import Star Rating in to JRiver V19.0.36
« Reply #4 on: September 27, 2013, 10:25:15 am »

Hi
Is there some maximum no of entries you can have in a .MPL file?
Because my 1st test was only 10 lines which worked.
Then I tried to do the whole db 17993 lines (i.e 448 tracks) and it does not update the rating.
But if I extract from this (big? 795Kb) file, 200 entries that works!
Regards
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: How to import Star Rating in to JRiver V19.0.36
« Reply #5 on: September 27, 2013, 10:38:45 am »

There's no limit that I'm aware of.  You most likely are running into an HTML entities problem, where one of your entries has an un-escaped <, >, or &.  These need to be converted into HTML entities.  Unfortunately, MC silently fails for non-valid XML.

If all you want to import is Ratings, then you can remove all the Field entries in each Item, except for those with attributes Name=Rating and Name=Filename.
Logged
The opinions I express represent my own folly.

ForFun2000

  • Recent member
  • *
  • Posts: 13
Re: How to import Star Rating in to JRiver V19.0.36
« Reply #6 on: September 28, 2013, 10:21:33 am »

Yes I did do that:
<Item>
<Field Name="Filename">C:\MUSIC\Beethoven\Beethoven - The Very Best Of Beethoven 2005 - FLAC 44.1 kHz\202_Bagatelle_in_A_minor_WoO_59_Fur_Elise.flac</Field>
<Field Name="Rating">5</Field>
</Item>
<Item>
<Field Name="Filename">C:\MUSIC\BabyFace\The day - WAV\01 Every Time I Close My Eyes - Babyface.wav</Field>
<Field Name="Rating">5</Field>
</Item>

Well, I broke my biggish file into 5 smaller files (by rating) and it worked...

Thanks again for your help...
Logged
Pages: [1]   Go Up