jellyfin / jellyfin-web

Web Client for Jellyfin
https://jellyfin.org
GNU General Public License v2.0
2.38k stars 1.26k forks source link

No playback on certain audio devices? #3677

Closed Eothred closed 2 years ago

Eothred commented 2 years ago

Describe The Bug

I have a USB sound card (Aureon something) which I have connected on an external monitor, which is connected to my laptop through usb-c. My laptop is running Manjaro Linux with KDE Plasma. When I tried to start any media in Jellyfin nothing happens. It looks for the user as if the media never loads. I tried both the web application directly in browser and the application, but I suppose they are essentially the same. After some trial and error I discovered that if I changed audio device from the Aureon and back to the built-in audio, the media playback immediately started, but then stopped again if I switched to the Aureon card. If I switch to built-in, then change media, then switch back to Aureon card, the media will continue to play until the current media has finished. The next media in the queue will pause as described earlier.

Steps To Reproduce

  1. Use some alternative sound device (presumably?)
  2. Try to play any media (several audio and video tracks tested)

Expected Behavior Playback should start as normal

Logs Can provide on request, please specify what I should look for in the logs

System (please complete the following information):

Eothred commented 2 years ago

Of course there is a good chance this is more an issue on the platform side of things (maybe pulseaudio or something?) or even device issue, so I will try to see if I see anything similar in other applications. So far looking at things like YouTube in the browser works just fine.

Eothred commented 2 years ago

In all likelihood a pulseaudio issue, I noticed e.g. Spotify having quite similar behaviour which also I believe is using pulseaudio (only?)

It sounds similar to this: https://wiki.archlinux.org/title/Advanced_Linux_Sound_Architecture/Troubleshooting#No_output

In that case this is basically no fault of Jellyfin so sorry for the noise. If anything, from the user perspective it would be useful to get some kind of warning pop up saying "audio output fault" in some form rather than just not starting playback. I don't know if that is possible in this situation.

jellyfin-bot commented 2 years ago

This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.

If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.

This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.