INTERACT FORUM

Please login or register.

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

Author Topic: 19.0.118 How to get rating to store to WMA?  (Read 4934 times)

chrisjj

  • Citizen of the Universe
  • *****
  • Posts: 750
19.0.118 How to get rating to store to WMA?
« 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:



Any ideas?

Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: 19.0.118 How to get rating to store to WMA?
« Reply #1 on: April 07, 2014, 07:39:36 pm »

Logged
The opinions I express represent my own folly.

chrisjj

  • Citizen of the Universe
  • *****
  • Posts: 750
Re: 19.0.118 How to get rating to store to WMA?
« Reply #2 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.
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: 19.0.118 How to get rating to store to WMA?
« Reply #3 on: April 07, 2014, 07:45:52 pm »

Read that post AND the one that follows.  That would total to two posts.
Logged
The opinions I express represent my own folly.

chrisjj

  • Citizen of the Universe
  • *****
  • Posts: 750
Re: 19.0.118 How to get rating to store to WMA?
« Reply #4 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.
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: 19.0.118 How to get rating to store to WMA?
« Reply #5 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.
Logged
The opinions I express represent my own folly.

chrisjj

  • Citizen of the Universe
  • *****
  • Posts: 750
Re: 19.0.118 How to get rating to store to WMA?
« Reply #6 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:



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:

Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: 19.0.118 How to get rating to store to WMA?
« Reply #7 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.
Logged
The opinions I express represent my own folly.

chrisjj

  • Citizen of the Universe
  • *****
  • Posts: 750
Re: 19.0.118 How to get rating to store to WMA?
« Reply #8 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.
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10935
Re: 19.0.118 How to get rating to store to WMA?
« Reply #9 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?
Logged
~ nevcairiel
~ Author of LAV Filters

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10935
Re: 19.0.118 How to get rating to store to WMA?
« Reply #10 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
Logged
~ nevcairiel
~ Author of LAV Filters

chrisjj

  • Citizen of the Universe
  • *****
  • Posts: 750
Re: 19.0.118 How to get rating to store to WMA?
« Reply #11 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.
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10935
Re: 19.0.118 How to get rating to store to WMA?
« Reply #12 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.
Logged
~ nevcairiel
~ Author of LAV Filters

chrisjj

  • Citizen of the Universe
  • *****
  • Posts: 750
Re: 19.0.118 How to get rating to store to WMA?
« Reply #13 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.
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10935
Re: 19.0.118 How to get rating to store to WMA?
« Reply #14 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.
Logged
~ nevcairiel
~ Author of LAV Filters

chrisjj

  • Citizen of the Universe
  • *****
  • Posts: 750
Re: 19.0.118 How to get rating to store to WMA?
« Reply #15 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.
Logged
Pages: [1]   Go Up