Downloads stopping #17
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Investigation
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
spotizerrphoenix/spotizerr-phoenix#17
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi, I have had some success with spotizerr a couple weeks ago, but then started running into issues with downloads aborting/pausing indefinitely.
I have yesterday setup a new k3s cluster and also setup spotizerr, setup and authentication were without issues and I could also find my playlists and start download, I immediately saw some songs downloaded, but then it stalled and I don't know why.
I had the same issue on the previous setup which was just with docker compose, so I don't think it's the setup.
My spotify account is currently premium and also not banned, might be some rate limiting issues tho, but I think spotizerr has some issue and I can't figure out what.
I authenticated through spotify on my phone and that seemed to work without problems, at least some downloads worked so the auth has to be fine I think.
Can't link the yaml so uploaded the deployment as txt.
I'll append the logs from spotizerr & redis as well as some screenshots.
Thanks for any help, cheers!
hey @schoenfbe!
Based on your screenshots and logs you could be rate limited. the symptoms you mentioned happen to me after rate limited / not enabling/adjusting realtime
Few things you can try:
Enable/Adjust Realtime downloading & Reduce Max Concurrent Downloads
Reauthenticate with the new
spotizerrphoenix/spotizerr-authProbably Unrelated:
4.0, at any point did you try updating your spotify api creds?search.json)4.0should have the new changesspotizerrphoenix:spotizerr:latest, you may need to clear cache and reload the pagedata/creds/search.jsonlet us know if any of those help in case it can help other users as well
Hi @spotizerrphoenix, thanks for the response!
Yeah I thought so too, but adjusting the concurrency and/or also switching to realtime (with cooldown time inbetween, tho I don't know how much that would be, maybe you'd know?) the issue remained.
I was then running with a realtime multiplier of 2-3 and a concurrency of 3-5, but that didn't change.
(I also changed to "latest", but I didn't re-authenticate, I might try that!
I will try the settings you suggested with restarting, but my spotify premium has run out this week and I'm afraid that then lets me no longer download via spotify right? at least logs show that everything now falls back to deezer and spotify doesn't seem to work, so for now I can't test that further :/
what I did notice was that that problem seems to be only related to downloading playlists, trying individual songs or even artist discographies seems to work flawlessly (now only through deezer, but before also with spotify)
I have setup everything through your spotizerr/spotizerr-auth, but I am not home over the holidays so I don't know if I can re-authenticate at the moment since it seems the spotify instance that authenticates has to be in the same network no? trying to setup rdp on my homelab and install spotify there so I can have an "On-network" instance for auth, that should help.
My previous workflow was to just accept the connection via my pc/laptop/phone hanging in the same network as my homelab when home, but I've read in some thread that it should be the same machine, could that be an issue? I thought not since it's only for auth, everything else should be fine?
your "prob unrelated" points:
if you have any further suggestions, I'm all open for em, got some time to play now :)
update: I've managed to install (well, that wasn't the issue) and access spotify on my homelab and have a gui via rdp despite it being headless, so I can try to re-authenticate, and this time it'd indeed be the same physical machine, except if it makes some difference that spotify is running on baremetal and spotizerr in k3s? spotizerr-auth tho will also just run via docker on baremetal
update 2: I've seen you pushed 4.0.15 and updated to that, I did not change anything else (also no new auth), so far it seems to work well, I've downloaded 2 small playlists (12 & 29 songs each), the first worked flawlessly, the second failed some songs, but all else downloaded from spotify in .flac, so my account no longer being premium doesn't seem to matter.
one issue might have been me provisioning to few resources, I got some failed API calls and unresponsive server, apparently spotizerr crashes before kubernetes can allocate the additional resources, I've now set it to request 1GB RAM and 1.5CPUs, that seems like overkill since it only uses 405m CPUs and ~450MB RAM, but whatever, and now it seems to work way better.
I currently can't replicate the issues I had with playlists stalling, so far it's downloading fine, I'll monitor it tho :)
sidenote: awesome work :D
hey @schoenfbe thanks for the update
good to hear it's working for you now. hard to tell but generally looked like a rate limiting issue
General Estimates based on variable usage:
as far as im aware, downloads only work with premium accounts now after spotify api updates. but if flac works, that's good to know and hope that sticks
https://www.spotify.com/us/premiumthanks, may introduce some new updates at some point but all props to the original devs. just keeping the project maintained for now