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..
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.
(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
(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.
.