jellyfin / jellyfin-web

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

When playing music, Jellyfin doesn't show artist not song name on tab #6301

Open alangrafu opened 2 weeks ago

alangrafu commented 2 weeks ago

Describe The Bug

Most music players provide information about artist and song being played in the tab, while Jellyfin doesn't.

Steps To Reproduce

  1. Play some music on Jellyfin
  2. Check the tab of the jellyfin web app
  3. The information is "Jellyfin" and "Playing".

Expected Behavior

I would expect the name of the artist and song.

Logs

Screenshots

Image

System (please complete the following information):

Additional Context

alangrafu commented 2 weeks ago

BTW I know this is more a feature request than a bug, but it seems to be a relatively small fix, instead of a whole feature.

Dan-613 commented 2 weeks ago

I can look at this, but can someone guide me as to where the code lives that handles playback of music?

viown commented 2 weeks ago

@Dan-613 Sure! A lot of the audio playback is handled here https://github.com/jellyfin/jellyfin-web/blob/master/src/plugins/htmlAudioPlayer/plugin.js. There's also the now playing bar, because it may be worth considering whether we should add it for casted media as well.