INTERACT FORUM

More => Old Versions => JRiver Media Center 19 for Windows => Topic started by: chrisjj on April 07, 2014, 07:30:00 pm

Title: 19.0.118 How to get rating to store to WMA?
Post by: chrisjj on April 07, 2014, 07:30:00 pm
http://wiki.jriver.com/index.php/File_Properties_(tags)#P_-_R says Rating "is saved in file tags" but I cannot get it to save to a WMA tag:

(http://i.imgur.com/j6MDnp0.png)

Any ideas?

Title: Re: 19.0.118 How to get rating to store to WMA?
Post by: MrC on April 07, 2014, 07:39:36 pm
See if these two (POPULAR) posts help:

   http://yabb.jriver.com/interact/index.php?topic=56698.msg386109#msg386109
Title: Re: 19.0.118 How to get rating to store to WMA?
Post by: chrisjj on April 07, 2014, 07:44:07 pm
Thanks, but I see only one, and it says:

Quote
Re: MC 15 Feature Requests
The rating value is stored in a file tag by default. This works with the MP3, OGG, WMA, MPC, APE, FLAC and WV file types.

which seems long out of date.
Title: Re: 19.0.118 How to get rating to store to WMA?
Post by: MrC on April 07, 2014, 07:45:52 pm
Read that post AND the one that follows.  That would total to two posts.
Title: Re: 19.0.118 How to get rating to store to WMA?
Post by: chrisjj on April 07, 2014, 07:49:15 pm
Thanks, but the following says:

Quote
There it is "hiding" in the POPULARIMETER tag

and my screenshot clearly shows there is no such field in this tag - seen by Mp3tag. Same seen by dbPoweramp.
Title: Re: 19.0.118 How to get rating to store to WMA?
Post by: MrC on April 07, 2014, 07:55:14 pm
Sorry, I was wrong.

It shows up in the WM/SharedUserRating tag.  A value of 3 == 50, a value of 5 == 99.
Title: Re: 19.0.118 How to get rating to store to WMA?
Post by: chrisjj on April 07, 2014, 08:19:00 pm
Thanks MrC. But then I am baffled. If I take a copy of the file and using Mp3Tag I modify that field and then restore it, I get an identical file (according to Beyond Compare) but MC shows it with a zero rating:

(http://i.imgur.com/RlXvv1H.png)

It really looks as if MC is getting a value from elsewhere.

EDIT: Apparently MC is getting it from some temporary workspace. It does not survive copying the file:

(http://i.imgur.com/vxcwP54.png)
Title: Re: 19.0.118 How to get rating to store to WMA?
Post by: MrC on April 07, 2014, 08:39:40 pm
It doesn't appear that MC is reading the value - you can read it with the expression:

   tag(WM//SharedUserRating)

or create a new field called WM/SharedUserRating.

If I recall correctly, WMA is a pain.
Title: Re: 19.0.118 How to get rating to store to WMA?
Post by: chrisjj on April 08, 2014, 05:02:02 am
- you can read it with the expression:

   tag(WM//SharedUserRating)

or create a new field called WM/SharedUserRating.

Thanks, but IIUC that will fail to carry it to my device upon Sync.

f I recall correctly, WMA is a pain.

If I recall correctly from the many years I have used WMA with many other programs, only JRiver MC shows any problem like this.

Has anyone here got MC to read/write WMA rating? If so, I'd love to hear. Thanks.
Title: Re: 19.0.118 How to get rating to store to WMA?
Post by: Hendrik on April 08, 2014, 06:02:52 am
Microsoft seems to write a tag called "RATING WMP", maybe we should be reading/writing that instead?
Title: Re: 19.0.118 How to get rating to store to WMA?
Post by: Hendrik on April 08, 2014, 06:17:26 am
Actually that was not the problem, I found an issue in the WMA tag reading code for ratings, in an upcoming build:
6. Fixed: Reading of the Ratings tag from WMA files did not work.

It also seems to save the rating for me when I change it in MC, in the "RATING WMP" field with values 1-5
Title: Re: 19.0.118 How to get rating to store to WMA?
Post by: chrisjj on April 08, 2014, 06:20:04 am
Actually that was not the problem, I found an issue in the WMA tag reading code for ratings, in an upcoming build:
6. Fixed: Reading of the Ratings tag from WMA files did not work.

Excellent. Thanks H.

It also seems to save the rating for me when I change it in MC, in the "RATING WMP" field with values 1-5

Definitely not reproduced here on 19.0.118 using a non-library track in the Player.
Title: Re: 19.0.118 How to get rating to store to WMA?
Post by: Hendrik on April 08, 2014, 06:22:34 am
What specifically does "non-library" track mean?

I changed the rating in MC and then inspected the tags with mp3tag, and it showed up as expected. But maybe I'm missing some crucial detail.
Anyway, try again with the upcoming build, the fix will be in 127 or newer.

Note that it can't write tags while the file is playing.
Title: Re: 19.0.118 How to get rating to store to WMA?
Post by: chrisjj on April 08, 2014, 06:40:14 am
What specifically does "non-library" track mean?

A track that is not in the library.

I changed the rating in MC and then inspected the tags with mp3tag, and it showed up as expected. But maybe I'm missing some crucial detail.

Perhaps that works only on library tracks.

Note that it can't write tags while the file is playing.

Thanks. When testing I'll take care to stop play so queued writes can act.
Title: Re: 19.0.118 How to get rating to store to WMA?
Post by: Hendrik on April 08, 2014, 07:03:41 am
I made a copy of my test track, and played it with MC without importing it first, and yet changes to the rating still save (before and after my fix). Oh well.
Lets just see how newer builds behave for you.
Title: Re: 19.0.118 How to get rating to store to WMA?
Post by: chrisjj on April 10, 2014, 09:21:35 am
I made a copy of my test track, and played it with MC without importing it first, and yet changes to the rating still save (before and after my fix).

Apologies. Now I get the same. Unless there is some unlikely dependency, my previous result must have been my error.