Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to record unless web client running #394

Closed
Vox-Ludus opened this issue Sep 16, 2021 · 4 comments · Fixed by #430
Closed

Unable to record unless web client running #394

Vox-Ludus opened this issue Sep 16, 2021 · 4 comments · Fixed by #430
Assignees
Labels
bug 🐞 workaround ♻ Workaround available in the F.A.Q or in the thread
Milestone

Comments

@Vox-Ludus
Copy link

What is the bug ?
I was previously able to record perfectly normally using 1.10.1, when in the middle of recording I get an error saying "Spotify API Failed" and it fell back to LastFM. Since then I am unable to record using the Spotify API unless the web player is running. If I start recording without the web player open I get the same error 5 seconds later. If I start recording while the web player is open it records from the desktop client without any issue. If I close the web player while recording 5 seconds later I get the same error as before.

Through this the web player is not playing anything and shows "Listening on DESKTOP" as it normally would. The web and desktop clients eventually get out of sync with each other. With the desktop continuing to play and record normally and the web sometimes stuck on something like "59m59s/3m25s" on a track played hours ago. This doesn't seem to matter as long as the web player is open.

I tried 1.10 and 1.9, it was the same story.

For now it's working. The web player having to be open is a minor inconvenience. I'm more curios as to why this is happening.

Track used
Track didn't matter. I attempted with various artists, and even some I had already successfully recorded.

Screenshots
Untitled
Untitled1

@jwallet
Copy link
Owner

jwallet commented Jan 15, 2022

I only use Spotify Desktop app so I never get the notification "Listening on DESKTOP", but I heard other people complaining about this issue, you probably found the cause. Thanks for the report. Otherwise, I don't know why it needs to have a tab open on the web player, it might be a web token expiration from SpotifyAPI, Spytify uses the web token, and the desktop-app might use another way to authenticate itself, but I don't know yet.

@jwallet
Copy link
Owner

jwallet commented Apr 4, 2022

Do you have more than one Spotify account? If so this issue also happens if you are connected to SpotifyDesktop with Account1, but authenticate to SpotifyAPI with Spytify to your Account2, so to this app will need your Account2 current playback, if nothing plays it will throw this error. So I think it let you record since your web app was playing the same playback as your desktop app but on a different account, sounds familiar?

@jwallet jwallet added the needs feedback 📬 Cannot be close/fixed until users give more feedback label Apr 4, 2022
@ItsBernd
Copy link

ItsBernd commented Apr 4, 2022

Installing the Spotify App from the Microsoft Store fixed it for me.

@jwallet
Copy link
Owner

jwallet commented May 5, 2022

thanks for the info

@jwallet jwallet added workaround ♻ Workaround available in the F.A.Q or in the thread and removed needs feedback 📬 Cannot be close/fixed until users give more feedback labels May 5, 2022
@jwallet jwallet added this to the 1.11 (Next) milestone Jun 22, 2022
@jwallet jwallet self-assigned this Jun 22, 2022
jwallet added a commit that referenced this issue Jun 22, 2022
#394 run recording session even if spotify store app is not found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 workaround ♻ Workaround available in the F.A.Q or in the thread
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants