Closed extremepayne closed 4 years ago
Hey @extremepayne, to rule out any issues with Spotifyd could you try playing a song in something that does work (e.g. an official client) and then starting up spotui to see if you can see anything playing?
(Also, re: debugging spotofyd, try run with the --no-daemon
command to see if it's erroring)
Okay, so thanks to your suggestion, it appears that spotifyd
isn't the problem. I think.
$ spotifyd --no-daemon
No config file specified. Running with default values
No proxy specified
Using software volume controller.
I have before tried playing a song via a different method (i.e. the PWA/website, the only option on my Chromebook) and it doesn't show up on spotui.
I would try using a different TUI to make sure this is even possible from within the VM/container, but Rigellute's version wouldn't compile.
Anddd... I don't know. I am honestly lost. ¯\_(ツ)_/¯
Thanks for the prompt response!
The only thing I can think is that your authentication isn't working or you can't connect to the Spotify API for some other reason.
You can rule out the latter by just pinging api.spotify.com
If that isn't the issue you can delete your cached credentials and try re-authenticate by removing the file at ~/.cache-(your spotify username)
The cache file might not actually be in your home directory. I'm not 100% sure where spotipy (the library I use to handle auth) creates it. Mine is in my home dir.
Okay, also, try just waiting for 5-10 seconds, It might just appear. There was a slight delay when I tried it earlier
Describe the bug Okay, I have no idea what I'm getting wrong, but I can't play any tracks. This might have to do with my system since it's ChromeOS, but I really don't know. Linux is supposed to be able to interface with the sound. Works: fetching playlists, songs, top tracks, etc. Search. All keybindings, etc. Doesn't work: Showing/selecting devices (I have both the official PWA and spotifyd running), detecting if another client is playing a song (always says "nothing is playing", despite songs playing on web client or phone), and playing songs. The bind to start a track is Enter, right?
To Reproduce Steps to reproduce the behavior: I followed the instructions in the README with exactness. Like I said before, this could just be my system.
Expected behavior Being able to play tracks.
Screenshots I had a song playing then, via the PWA. Yes, I did have spotifyd running right then. I used
ps -aux
to check.Desktop (please complete the following information):
Chromebook C330
Additional context Does spotifyd require configuration? If this is just a problem with my system, could someone maybe reproduce and try to figure it out? I understand if you don't have a Chromebook, but this is just frustrating.