How to export my user ratings
#1
I have a library of my favorite singles (proper folder structure). I have added my own ratings for all couple hundred songs. I do NOT use SQL, nor do I wish to.

How can I export my user ratings? I am currently using Kodi on Android devices (Sony Bravia and Nvidia Shield).

Thanks in advance..
Reply
#2
Unfortunately Kodi does not (yet) have a native facility to export song user ratings. There may be an addon that can do it, I really don't know but perhaps someone else will be able to help.
Reply
#3
You can do this with the TheAudioDB sync add-on(search google), then re-import on other Kodi Devices. You will have to sign up as a user on TADB for it to work.

Once you have synced, you could then look at the user page on the website to see all your ratings.

http://www.theaudiodb.com/ratings.php?u=zag

You could even use the API to list a single JSON data file and save that as a text file to your computer:

http://www.theaudiodb.com/api/v1/json/1/...p?user=Zag
Reply
#4
Thank you
Reply
#5
(2018-07-26, 20:01)DaveBlake Wrote: Unfortunately Kodi does not (yet) have a native facility to export song user ratings. There may be an addon that can do it, I really don't know but perhaps someone else will be able to help.

Facility to import/export dynamic song data including rating is added by PR https://github.com/xbmc/xbmc/pull/15864
Reply
#6
(2019-04-05, 20:34)DaveBlake Wrote:
(2018-07-26, 20:01)DaveBlake Wrote: Unfortunately Kodi does not (yet) have a native facility to export song user ratings. There may be an addon that can do it, I really don't know but perhaps someone else will be able to help.

Facility to import/export dynamic song data including rating is added by PR https://github.com/xbmc/xbmc/pull/15864 
Installed and tested the posted test build on Win 7.

Added a music source and scanned/scraped.  Played and rated some tracks.  Went to library music export.  Verified export songs only available in single file export.  Did a single file export of songs, and single file export of songs, albums, and album artists.  By inspection verified that all exported songs had userrating or playcount > 0 (unable to test "rating").

Imported each file into the library, no change (as expected).

Dumped the source and added a new source.  verified all songs un-userrated and playcount 0.  Imported each file.   Verified userrating and playcount updated from import file.

I couldn't really test the threading aspect, but it didn't cause a problem that I could see.  Note that the song files are identical in both sources; I didn't test if a song file with same title/album etc would update (If I understand ImportSongHistory the temp song table is used to compare album MBID and title and if an album match is found look for album, track number and track MBID with fallback to album, track number, and tract title to determine that a <song> in the import file should update a database song.)

So everything seems to work as expected.

scott s.
.
Reply

Logout Mark Read Team Forum Stats Members Help
How to export my user ratings0