Supplies various options to synchronise artist data between theaudiodb.com and your Kodi library
Source Code: https://github.com/robwebset/script.theaudiodb.sync
Would anyone be interested in writing a program Add-on to sync user "scores" from TheAudioDB.com website to the kodi music library? I've put a £50 bounty on it payable to anyone who gets an initial Add-on working.
Basically theaudiodb site allows any user to rate a track with a score from 1-10 and provides an API to access these.
Example track with a rating: http://www.theaudiodb.com/track/34675922
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.
http://www.theaudiodb.com/api/v1/json/1 ... =Arturo007
Example JSON data returned
Code: Select all
strArtist: "38 Special",
strTrack: "Fade to Blue",
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.
I would envisage an Add-on having a simple configuration to enter the username, then just run looping through all tracks in a users database and updating the rating for each track that matches the JSON data returned from TheAudioDB. Initially I am just looking for track ratings, but i'm sure it could be extended for albums too.
NOTE: You will need latest Jarvis releases because the scoring was changed into a 1-10 scale.