This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Direct extract of WMP rating from metadata

Tags: None
(comma "," separated)
phyrko
Registered Member
Posts
4
Karma
0
Hi,

The general lack of functions in WMP was the final straw for me to completely give up on M$ products. The only regret I have is that my global file ratings in WMP are not easily and automatically transferred into the ratings of my Amarok DB.

I know from looking at the metadata that rating is stored in a field called "RATING WMP" with a numerical value equal to the number of 'stars'. How can I change the Amarok rating to the contents of this field? A one-off scan of the music's directory would do the trick and then I could continue applying my ratings in Amarok. Does anyone know how I could do this?

This must be a feature that people would request. Especially as the Linux bandwagon is starting to roll faster and faster.

Richard
phyrko
Registered Member
Posts
4
Karma
0

Import WMP global file ratings

Sat Oct 06, 2007 12:34 pm
Windows Media Player stores global file ratings in a metadata field called "RATING WMP". This has a numerical value from 1 to 5 (and doesn't exist for unrated files).

A nice feature for people crossing over to Linux from Windows would be monitoring the collection for this tag and updating Amarok database accordingly.  :cool:
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS
Write a small script that reads the rating from each WMP file, and then call "dcop amarok player setRatingByPath(QString url,int rating)" for each file, while amarok is running.


--
Mark Kretschmann - Amarok Developer
zyberwoof
Registered Member
Posts
2
Karma
0
I wrote a script to do this.  I posted it in a new thread: http://amarok.kde.org/forum/index.php/t ... 630.0.html

If the download link ever goes down, you can try to reach me at lolpastalovers.net (put an @ after lol and before pastalovers.net).
Make the Subject AMAROK

Last edited by zyberwoof on Mon Aug 04, 2008 1:27 am, edited 1 time in total.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot]