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

Not working with spotifyd #28

Closed
vv9k opened this issue Oct 8, 2019 · 6 comments
Closed

Not working with spotifyd #28

vv9k opened this issue Oct 8, 2019 · 6 comments

Comments

@vv9k
Copy link

vv9k commented Oct 8, 2019

Hi, I'm currently trying to get spotify-tui to work with spotifyd. spt sees the currently playing song by spotifyd@MyPC but won't allow me to control the daemon because of this error:

Error
Api response: Spotify API reported an error
If you are trying to play a track make sure the official spotify app is open

My spotifyd is installed from AUR.
kernel: 5.3.4-arch1-1-ARCH

↳spotifyd --version
spotifyd 0.2.18
↳spt --version
spotify-tui 0.4.0
↳systemctl status --user spotifyd
● spotifyd.service - A spotify playing daemon
   Loaded: loaded (/etc/systemd/user/spotifyd.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2019-10-08 20:15:26 CEST; 9min ago
     Docs: https://github.com/Spotifyd/spotifyd
 Main PID: 81601 (spotifyd)
   CGroup: /user.slice/user-1000.slice/user@1000.service/spotifyd.service
           └─81601 /usr/bin/spotifyd --no-daemon

Oct 08 20:15:26 wojtas-arch spotifyd[81601]: 18:15:26 [INFO] Using alsa volume controller.
Oct 08 20:15:26 wojtas-arch spotifyd[81601]: 18:15:26 [INFO] Connecting to AP ""
Oct 08 20:15:26 wojtas-arch spotifyd[81601]: 18:15:26 [INFO] Authenticated as "" !
Oct 08 20:15:26 wojtas-arch spotifyd[81601]: 18:15:26 [INFO] Country: "PL"
Oct 08 20:15:36 wojtas-arch spotifyd[81601]: 18:15:36 [INFO] Loading track "I Hear A Rhapsody" with Spotify URI "spotify:track:2oEvw0AfrT2fPNpEnBwVml"
Oct 08 20:15:37 wojtas-arch spotifyd[81601]: 18:15:37 [INFO] Track "I Hear A Rhapsody" loaded
@Rigellute
Copy link
Owner

Hmm... I need to try myself.

Perhaps you've already done this, but have you selected spotifyd as a "device"?

Does spotifyd show up when you press d?

@vv9k
Copy link
Author

vv9k commented Oct 8, 2019

Well now it is indeed working as intended :) thanks for the quick reply! Love the idea behind the app and how snappy it is! I've been wanting to write one like this myself one day :)

@vv9k vv9k closed this as completed Oct 8, 2019
@Rigellute
Copy link
Owner

Great to hear! And thank you 🙏

@KennethAshley
Copy link

Do we have to select the device on each use?

Great software thanks!

@Rigellute
Copy link
Owner

Rigellute commented Oct 8, 2019

The last selected device ID is cached (you can see it in ~/.config/spotify-tui/client.yml), so you shouldn't need to select it on each use.

Just make sure that device is active if you're having playback issues.

And thank you!

@kataklasm
Copy link

For me spotifyd doesn't show up on the device list?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants