Posts: 1,263
Joined: Mar 2011
Reputation:
80
Kodi L today's nightly
MySQL database
Hi there,
Kodi tells me there's an updated 1.20 version but won't update it. I had to download a zip from the robwebset repository to manually update.
Also, this somehow doesn't seem to work the myriads of rating tags I already have in my files. Those ratings are shown in the "Now playing" dialogue but I'm unsure if they've made their way into the Kodi database. Since the upload showed 0 I'm guessing no. Anything that can be done?
Posts: 1,263
Joined: Mar 2011
Reputation:
80
2019-01-08, 23:16
(This post was last modified: 2019-01-08, 23:18 by HeresJohnny.)
Here's where it gets interesting. Kodi has decided to use a 100-based system for rating tags in Flac files. Maybe there's the hickup?
Then again, when I create a Smart Playlist with "MyRating greather than 6" it works and queues all my tagged FLACs. The upload result to TheAudioDB is still 0, unfortunately.
Posts: 1,263
Joined: Mar 2011
Reputation:
80
2019-01-09, 01:40
(This post was last modified: 2019-01-09, 01:41 by HeresJohnny.)
Hm... it started doing something now. I've enabled some logging but surely that can't be it. Progress is very slow, though. There are a lot of errors concerning song id's not matching and after 40% I start getting API TOKEN INCORRECT errors as well. It's been running for 40 mins now and progress is at 48%. I don't see any ratings appear in my profile on the website, either... maybe you want to take a look, my username there is the same as here.
Posts: 1,263
Joined: Mar 2011
Reputation:
80
I've checked the database, all user ratings correctly show a range from 1-10. I only tried uploading so far but despite the long runtime nothing seems to have been sent. The API token is definitely correct... otherwise the upload functionality wouldn't have been activated in conjunction with my username, no?
Posts: 1,263
Joined: Mar 2011
Reputation:
80
I finally succeeded. Turns out that the website had converted my username to lowercase. After amending that in the add-on settings everything started working.
Posts: 1,263
Joined: Mar 2011
Reputation:
80
Apparently it's possible to run this more than once in parallel, maybe you should look into this :-)
What happens:
When I go to the addons section and click this addon, it starts running right away. I have it set to "submit only". As you know, it first submits the album ratings, then the track ratings. If I click the addon again after a little while, for example when it has reached the track stage, it starts submitting album ratings again while track submitting keeps going.
What I would expect:
Not running = nn first click: Add-ons asks "Would you like to sync your ratings now?" (or similar): Yes/No
While running in the background = on second click: "You're currently syncing your ratings. Would you like to abort?" Yes/No
Thanks for looking into it!
Posts: 1,263
Joined: Mar 2011
Reputation:
80
Some more ideas:
During the sync process, some messages pop up about items not being found. I assume those are songs which exist in my library but not in TheAudioDB? Maybe the add-on could offer some interaction to add those items or the complete albums to TheAudioDB. At the very least save/show a log file at the end that only contains missing items and maybe a link to a submission page? Just a few thoughts, maybe you can make something of this.
Posts: 7
Joined: Apr 2016
Reputation:
0
Hi,
Are Musicbrainz IDs mandatory for this addon to work? I have all my collection perfectly tagged, but I don't use MB IDs. I was hoping to use this addon to scrape ratings into the rating field while keeping my own userratings. I see there is an option to download track average ratings from sites like rateyourmusic, is it working? I don't get any results (I have configured my API token and I have selected get info from artist if no MB IDs available)