spotifyd icon indicating copy to clipboard operation
spotifyd copied to clipboard

Server doesn't respect changes in "default output device" on macOS

Open kubukoz opened this issue 4 years ago • 6 comments

Description

The server doesn't change the device playing when the default changes.

To Reproduce

  1. Play music on built-in speakers
  2. Connect headphones or some other extra output
  3. Make sure it's now the device in this menu:
image
  1. 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

kubukoz avatar Dec 28 '20 02:12 kubukoz

+1

nkezhaya avatar Jan 02 '21 18:01 nkezhaya

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.

shatteringlass avatar Jan 05 '21 11:01 shatteringlass

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.

stale[bot] avatar Apr 05 '21 12:04 stale[bot]

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?

chazzox avatar Mar 17 '23 08:03 chazzox

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).

shatteringlass avatar Mar 17 '23 12:03 shatteringlass

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: @.***>

j-code-1 avatar Mar 22 '23 10:03 j-code-1