Kodi Community Forum
Sync user ratings from TheAudioDB.com - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+---- Forum: Requests (https://forum.kodi.tv/forumdisplay.php?fid=251)
+---- Thread: Sync user ratings from TheAudioDB.com (/showthread.php?tid=258522)



Sync user ratings from TheAudioDB.com - zag - 2016-02-01

Hi all,

Would anyone be interested in writing a program Add-on to sync user "scores" from TheAudioDB.com website to the kodi music library?

Basically the site allows any user to rate a track with a score from 1-10.

It would be cool to sync those with your local Kodi database just like the current Trakt.tv Add-on does with watched statuses. This allows you to backup your song ratings or maybe sync with your friends.

API example:
http://www.theaudiodb.com/api/v1/json/1/ratings-track.php?user=Arturo007

Example JSON data returned
PHP Code:
{
id"5398",
username"Arturo007",
artistscorenull,
albumscore"7",
trackscore"10",
artistid"112510",
albumid"2118857",
trackid"32830472",
strArtist"38 Special",
strAlbum"Resolution",
strTrack"Fade to Blue",
mbidArtist"0330a83d-f61e-4989-adb3-afce3943c3ba",
mbidAlbum"7e92dda4-e88a-3383-a8a9-215ccabb7c7b",
mbidTrack"250b953c-43f6-4269-b3c0-22d849113cf0",
rateddate"2016-01-25 16:05:32"
}, 

Just change username to your own or someone else's to get all their user scores returned in JSON format.

It returns the artist, album and track names as well as their musicbrainz id's so should be pretty easy to sync.

NOTE: You will need latest Jarvis releases because the scoring was changed into a 1-10 scale.


RE: Sync user ratings from TheAudioDB.com - zag - 2016-03-03

Its also now possible to submit Album ratings via the API:

http://www.theaudiodb.com/forum/viewtopic.php?f=6&t=7&p=2855#p2855

This should replicate many of the api features Trakt has for movies and TV shows Wink


RE: Sync user ratings from TheAudioDB.com - zag - 2016-05-15

I've now rolled this out to all api keys Wink


RE: Sync user ratings from TheAudioDB.com - meowmoo - 2016-10-05

This would be cool, so push it to the top Wink


RE: Sync user ratings from TheAudioDB.com - docwra - 2017-09-05

This is now a completed request.

https://forum.kodi.tv/showthread.php?tid=309611

Cloud backup and share your music ratings Smile