Marekkon5 / onetagger

Music tagger for Windows, MacOS and Linux with Beatport, Discogs, Musicbrainz, Spotify, Traxsource and many other platforms support.
https://onetagger.github.io/
GNU General Public License v3.0
590 stars 31 forks source link

Spotify tagging no longer working. #312

Open andresyuhnke opened 8 months ago

andresyuhnke commented 8 months ago

Spotify is no longer working for me. I have followed the instructions in the video and am able to login with the client id and secret in the onetagger app, but when it gets to spotify nothing happens. this is a new change as it used to work for me in the past. I see that there are more options in the developer portal now, than what are in the video. Not sure if any of those are relevant, or if it's perhaps being throttled by spotify? I see something in the portal about users and quotas. anyone else having this issue?

Marekkon5 commented 8 months ago

Hello, could you please:

  1. Send us the log file? Settings -> Open data folder -> onetagger.log
  2. Try the latest development build from the Actions tab? Maybe it solves this.

Thanks

andresyuhnke commented 8 months ago

Found this in the log file:

2023-12-30 14:16:07 [INFO] onetagger_autotag: Starting spotify 2023-12-30 14:16:07 [INFO] onetagger_platforms::spotify: Matched by ISRC 2023-12-30 14:16:07 [WARN] onetagger_platforms::spotify: Spotify rate limit hit, sleeping for: 32461s... 2023-12-30 14:16:45 [WARN] onetagger::socket: Connection closed normally - Websocket can't read or write, closing connection! 2023-12-30 14:16:45 [ERROR] tiny_http: Error accepting new client: A blocking operation was interrupted by a call to WSACancelBlockingCall. (os error 10004)

andresyuhnke commented 8 months ago

So I think maybe there is a rate limit which I've exceeded. It looked like it worked last night, both in the application and today looking over the log file. However, when I opened the files after using OneTagger none of the tags had actually been updated.

Marekkon5 commented 8 months ago

It says the error right there - Spotify rate limit hit, sleeping for: 32461s..., which means Spotify rate limited your account because you've sent too many requests or other reason. The large sleep time (9h) is by Spotify (and not OneTagger). Your only option is to wait it out.

On a sidenote: we never saw such high timeout, if it was really caused by too many requests, then we will intentionally slow it down in future update to prevent this.

Marekkon5 commented 8 months ago

Could you also please send the full log? Maybe there is some more info or cause of this. Thanks

andresyuhnke commented 8 months ago

I have it doing one last run, using some of the slower sources (discogs and itunes) when this finishes I will send you the log file.

Thanks!

andresyuhnke commented 8 months ago

onetagger - Copy.log

dejakob1 commented 8 months ago

I've also currently have this problem with a timeout of 19 hours 😥

dejakob1 commented 8 months ago

I bypassed this issue by creating another app in Spotify Dev

iivanis commented 7 months ago

Has anyone had any luck fixing this? At the moment when using Spotify tagging only the year gets written and the genre stays blank... I tried creating a new API key like @dejakob1 said, but it's still the same. Can someone point me in the right direction on how I can download the latest development build? I'm willing to give it a try :) Btw @Marekkon5 you're doing a major job with this, thank you for such a great piece of software!

Marekkon5 commented 7 months ago

You can download the latest developmnent build from the Actions tab on GitHub

iivanis commented 7 months ago

You can download the latest developmnent build from the Actions tab on GitHub

@Marekkon5 since I'm not familiar with GitHub much, is it possible to download the latest build as an .exe file for windows?

bascurtiz commented 7 months ago

@iivanis Do like this: https://www.youtube.com/watch?v=hn8RX9se1JM but make sure to grab the one on top (= latest/newest) and the one for your OS (I assume onetagger-win-setup in your case).

iivanis commented 7 months ago

@bascurtiz now I feel stupid 😂 Already tried this a couple times before but for some reason I couldn't download it (maybe because I wasn't logged in or something)... Thanks for the help! 🙏