-
Notifications
You must be signed in to change notification settings - Fork 94
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
No environmental variables, playback and refresh issues #34
Comments
#40 i too have an issue with the environment variables not being set i have other issues as well and finally and further - this token provides null values as the sPOT starts or the spotifypod just spins on "ints" i feel these are similar issues to yours above - did you make any progress in storing permanently things like the ENV and TOKENS? hoping you did |
i set the CLIENT_ID in the that solved some of my issues in my last post i am having issues now with the sPOT not displaying any playlists or artists or anything the error i didnt change anything from the spotifypod.py nor view_model.py any ideas |
STEP 11 in the README will resolve the error regarding your issue #4 same issue i had but your raspotify may not be communicating the DEVICE correctly to the LIBRESPOT and RUST which will be required can you confirm that your RASPOTIFY is performing corretly? |
@paulomurray thank you for your new information! I'm moving, which is why I haven't responded, but I will take a look at your suggestions as soon as possible and get back to you. Cheers! |
Hello did you ever get the software play music from it, When selecting it with the clickwheel? |
Greetings! I'm excited about this project and I'm attempting to ensure the software is running smoothly before starting on the hardware. This means I have the raspberry pi zero outputting display to a monitor, and I'm either testing using an attached keyboard or via SSH.
Setup
I followed the base README instructions including the following suggested steps:
.cache
file when launching "sPot" failed (see #30)export DISPLAY=:0.0
to.bash_profile
to stop it complaining about thexset
commands in the console 🤷preserve-env
argument to theautostart
command because ENV variables were not being set (see #21)In addition I have the following changes:
SPOTIPY_REDIRECT_URI
is set tohttp://127.0.0.1
with no port specified because I can't determine what else is correct.spotify_manager.refresh_devices()
withspotify_manager.refresh_data()
inview_model.py
as the instructions suggested, but found out that this caused "sPot" to take exactly 5 minutes to start at launch! SO - I commented out both commands for now.Problems
So these are already somewhat stated, but I've run into a couple of issues that I can't seem to resolve and I'm open to suggestion. They all seem to be related to authentication, but I'm really not certain.
spotify_manager.refresh_data()
, but this is not a long term solution. My guess is that this request has to time out before the interface displays eventually.spotifypod.py
from the desktop, I get the error "spotipy.oauth2.SpotifyOauthError: No client_id". I can't run from SSH at all.SPOTIPY
vars set by sourcing/etc/xdg/openbox/environment
manually. Even then, it doesn't seem to affect anything - I get the sameclient_id
error.I feel like I'm close to a correctly functioning program, but I'm just missing a detail or two. Any feedback here would be most assuredly appreciated. Cheers and many thanks to @dupontgu for the challenge!
The text was updated successfully, but these errors were encountered: