spotifyd
spotifyd copied to clipboard
Server doesn't respect changes in "default output device" on macOS
Description
The server doesn't change the device playing when the default changes.
To Reproduce
- Play music on built-in speakers
- Connect headphones or some other extra output
- Make sure it's now the device in this menu:

- Sound still plays on speakers
The same happens if you change the default device yourself.
Expected behavior Sound switches to the newly "defaulted" device
Logs
Click to show logs
Versions (please complete the following information):
- OS: macOS Catalina 10.15.6 (19G2021)
- Spotifyd: 0.2.24
+1
I guess it's a rodio backend bug, rather than related spotifyd. Librespot and ncspot have similar bugs as well. It's worth trying a newer rodio build, including the latest commits.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi! Anyone manage to fix this issue? Currently looking around for a fix. @shatteringlass you said to try a more recent rodio build. How would I go about accomplishing this?
The issue within rodio was identified to be upstream (https://github.com/RustAudio/rodio/issues/327) and fixed in cpal v.0.14.1, that was merged into rodio only with v0.16.0. Currently, spotifyd is still using rodio v0.13.1, so the bug could be solved with a simple PR (https://github.com/Spotifyd/spotifyd/pull/1191).
https://developer.spotify.com/documentation/web-api/reference/#/
On Sat, Mar 18, 2023 at 3:52 PM Eric S. Londres @.***> wrote:
Reopened #745 https://github.com/Spotifyd/spotifyd/issues/745.
— Reply to this email directly, view it on GitHub https://github.com/Spotifyd/spotifyd/issues/745#event-8784748246, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANUIWFFRQUE4HJBNJMTHH4DW4XD2JANCNFSM4VLN6NOQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>