[Bug]: Share media player is not using the media session API #2449

Closed
opened 2026-04-25 00:07:18 +02:00 by adam · 1 comment
Owner

Originally created by @advplyr on GitHub (Jan 1, 2025).

What happened?

When playing a shared audiobook the audio player doesn't use the media session API. When playing through bluetooth the bluetooth player will not show details about the audiobook.

image

When using a chromium browser the music icon in the top right opens cards that use the media session API.
image

What did you expect to happen?

In the regular audio player the media session API is used. This is what the same audiobook looks like when playing using the regular player.

image

Steps to reproduce the issue

  1. Create a new media share
  2. Play the audiobook in the share player

Audiobookshelf version

v2.17.6

How are you running audiobookshelf?

Docker

What OS is your Audiobookshelf server hosted from?

Windows

If the issue is being seen in the UI, what browsers are you seeing the problem on?

None

Logs

No response

Additional Notes

No response

Originally created by @advplyr on GitHub (Jan 1, 2025). ### What happened? When playing a shared audiobook the audio player doesn't use the [media session API](https://developer.mozilla.org/en-US/docs/Web/API/Media_Session_API). When playing through bluetooth the bluetooth player will not show details about the audiobook. ![image](https://github.com/user-attachments/assets/c2cf4324-5c62-42a9-8904-75eba5a78907) When using a chromium browser the music icon in the top right opens cards that use the media session API. ![image](https://github.com/user-attachments/assets/0addb9ab-2cae-4834-9913-f86c566d8ec6) ### What did you expect to happen? In the regular audio player the media session API is used. This is what the same audiobook looks like when playing using the regular player. ![image](https://github.com/user-attachments/assets/dd6ab58e-f613-4baa-a2f7-204f0fc42940) ### Steps to reproduce the issue 1. Create a new media share 2. Play the audiobook in the share player ### Audiobookshelf version v2.17.6 ### How are you running audiobookshelf? Docker ### What OS is your Audiobookshelf server hosted from? Windows ### If the issue is being seen in the UI, what browsers are you seeing the problem on? None ### Logs _No response_ ### Additional Notes _No response_
adam added the bug label 2026-04-25 00:07:18 +02:00
adam closed this issue 2026-04-25 00:07:18 +02:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 1, 2025):

Fixed in v2.17.7.

@github-actions[bot] commented on GitHub (Jan 1, 2025): Fixed in [v2.17.7](https://github.com/advplyr/audiobookshelf/releases/tag/v2.17.7).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#2449