Posts: 4,545
Joined: Jun 2015
Reputation:
269
2016-10-22, 17:40
(This post was last modified: 2016-10-22, 17:55 by DaveBlake.)
Ah, cross posted, I'll have a look at the example see what we have in the tags.
No rating value of any kind, right? Ah rating as text "FIVE" in comment
Posts: 362
Joined: Jun 2014
Reputation:
9
2016-10-22, 18:01
(This post was last modified: 2016-10-22, 18:02 by jasn.)
FYI, I added the "Five" in the comments section manually. I do that to all of my songs out of fear my iTunes Music Library.xml file is lost to a system crash and all of my ratings would be lost.
[Ha! WP and I are in lock step!]
Posts: 4,545
Joined: Jun 2015
Reputation:
269
Backup the iTunes xml maybe?
I actually think an addon that sets the rating for a bunch of songs would be the better solution than anything I can do with tags.
Posts: 388
Joined: Mar 2013
Reputation:
7
2016-10-22, 18:19
(This post was last modified: 2016-10-22, 18:40 by WelshPaul.)
Maybe a stupid suggestion, but in the meantime if Kodi can read the comment tag of a .m4a file then couldn't someone with sql ability write a quick command to copy the contents of the comment field to the userrating field in the music database, so Jasn and other heavy .m4a users could open the database with an sql editor and run that command to populate Kodi. That would save having to manually rate every track.
Don't try this at home - but something like this?
Update 'song' SET userrating=comment
Posts: 388
Joined: Mar 2013
Reputation:
7
Holy crap - my first SQL attempt was the same as Dave's with no cheating. That's like scoring the winner for Liverpool against Man Utd.
Posts: 4,545
Joined: Jun 2015
Reputation:
269
Good for you, just take a copy of MyMusic60.db before you start just in case of accidents.
Posts: 362
Joined: Jun 2014
Reputation:
9
Thanks very much for the advice WP. I'll give this a try and report back.
~jasn