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

Playback resets when disconnect output device #386

Open
norohind opened this issue May 18, 2024 · 2 comments
Open

Playback resets when disconnect output device #386

norohind opened this issue May 18, 2024 · 2 comments

Comments

@norohind
Copy link

Steps to reproduce:

  1. Start playing something
  2. Disconnect current sound output device (i.e. usb headphones)
  3. Observe in the bottom status bar there is no more info about currently playing song
    3.1 Observe you can't continue to play music until you connect the same output device back or manually select a new device in settings.

Expected behavior

When the active output device is disconnected, the player should continue playback on next suitable device or pause playback (i'm fine with any of these)

Additional info

os: Windows 10 Pro
Supersonic version: 0.10.1

Also, this problem shows up even when you disconnect current device when playback is manually paused. To be honest, this is my main trouble: when I put the player on pause, disconnect my headphones, then later return to PC, connect headphones back and current progress of a song is reset.

@dweymouth
Copy link
Owner

What audio device do you have selected in the settings dialog? For me at least, when using "Autoselect device" it will automatically switch to the next available device when you disconnect the active output device. I can look into the other case, where I think the correct behavior would be to pause, but it'd need MPV to emit an event when the device is disconnected for Supersonic to respond to. Not sure such an event exists but I will investigate.

@norohind
Copy link
Author

Indeed, I had selected specific device. Now with 'Autoselect device' it behaves fine when connecting and disconnecting device. That what I wanted, thank you!

If you don't want to investigate it further, feel free to close the issue as resolved.

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

2 participants