dvx / lofi

🎵🔉 A mini Spotify player with WebGL visualizations.
http://lofi.rocks
MIT License
1.17k stars 67 forks source link

Not loading art, track information #296

Open PancakeGoblin opened 8 months ago

PancakeGoblin commented 8 months ago

I have Lofi working great on my home computer. But at my work, running on Windows 10 Education, Lofi only shows a blinking Spotify Logo. Going into dev settings>Network shows a fetch every second, status 200. There is one console warning: "Account is not premium, playback controls disabled." "User undefined successfully authenticated" "[Violation] 'message' handler took 163 ms"

I do have Spotify Premium, and as stated, on my personal machine, Lofi works fine, with playback controls.

I am on Lofi 2.0.1 on this work computer.

stamoun commented 8 months ago

In the settings dialog, try and log out and log back in, the local config file seems confused

PancakeGoblin commented 8 months ago

Still no luck, unfortunately. Spotify is currently playing. The web browser window that I used to log in said authentication was successful.

I have also restarted Windows, and uninstalled and reinstalled Lofi.

LofiPancakeGoblin2

stamoun commented 8 months ago

That User 'undefined' successfully authenticated. should be your account name... Not sure what's going on, try and delete the file (from memory, currently not on a Windows machine) %appdata%\roaming\lofi\config.json and see if you can successfully log in.

This feels like it may be a firewall issue on your work computer (we run a temporary local server to complete the authentication in order to receive the tokens from the spotify servers)...

PancakeGoblin commented 8 months ago

Deleted the config.json file and logged back in. Once again, got an "authentication successful" message in the browser, but the same results in the app. Our firewall is probably stepping in and blocking the connections here.

SyriasSerj commented 5 months ago

Hi! Same problem here, just downloaded on my work PC so there might be a firewall blocking traffic even in my case. The other thing, though, is that other than seeing "user undefined" and "not premium" while I am, I also have the "API rate limit exceeded", could it be that Spotify has a limit on using the API and you need to pay to have more? image

Already tried installing two different versions, deleting the config.json file and re-link my account but still nada.