2016-02-01, 19:48
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/...=Arturo007
Example JSON data returned
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.
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/...=Arturo007
Example JSON data returned
PHP Code:
{
id: "5398",
username: "Arturo007",
artistscore: null,
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.