Jellyfin Forum
Jellyfin / Docker:Playback failed because the media is not supported by this client. - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Jellyfin / Docker:Playback failed because the media is not supported by this client. (/t-jellyfin-docker-playback-failed-because-the-media-is-not-supported-by-this-client)

Pages: 1 2


Jellyfin / Docker:Playback failed because the media is not supported by this client. - Darlor - 2024-10-31

Hello,

I installed Jellyfin on Docker without any problem by following this tutorial: https://doc.ubuntu-fr.org/jellyfin
My music is on 2nd internal SSD dedicated only to music files.
I created a new user / password for Jellyfin.

OS: Xubuntu 24.10
Nom du serveur: 4623b75e6915
Version du serveur 10.10.0
Version web 10.10.0
Numéro de build10.10.0

The docker-compose.yml file is suitable for my configuration:

Code:
services:
  jellyfin:
    image: jellyfin/jellyfin
    ports:
    - '8096:8096'
    volumes:
    - /home/vortex/jellyfin:/config
    - /media/vortex/Zic:/media
    environment:
    - UID=1000
    - GID=1000
    restart: always

Immediately after running the command:

Code:
sudo docker-compose up

all my music was easily accessible and readable from the Jellyfin web interface.

But after restarting Xubuntu 24.10, access to the Jellyfin interface starts fine, I can browse all the music, but when I start listening I get the following error message:

Code:
"Reading error

Playback failed because the media is not supported by this client."

and in the log file I have the following error:

Code:
[2024-10-31 08:18:43.909 +00:00] [ERR] [8] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: "Could not find file '/media/Zic/New 07-2024/Kpop/TWS 2nd Mini Album 'SUMMER BEAT!'/YOU+ME=7942.flac'". URL "GET" "/Audio/910dbc060ba72f569e9035bb8c347da7/universal".

[2024-10-31 08:18:44.087 +00:00] [INF] [8] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Jellyfin Web" "10.10.0" playing "YOU+ME=7942". Stopped at "0" ms

Do you have any idea of the origin of this error?

Could it be a problem with the access rights of the Jellybin user?

Thank you in advance for your advice Smiling-face


RE: Jellyfin / Docker:Playback failed because the media is not supported by this client. - TheDreadPirate - 2024-10-31

Is the volume the music is located on a network share?


RE: Jellyfin / Docker:Playback failed because the media is not supported by this client. - Darlor - 2024-10-31

It's an internal disk : dev/sda
it contains all audio files, it is not on a network share.

OS: Xubuntu 24.10 and Jellyfin are on the system disk: /dev/sdb2


RE: Jellyfin / Docker:Playback failed because the media is not supported by this client. - TheDreadPirate - 2024-10-31

I noticed this.

In your docker compose

Code:
/media/vortex/Zic:/media

And in your log

Code:
/media/Zic/New 07-2024/Kpop/TWS 2nd Mini Album 'SUMMER BEAT!'/YOU+ME=7942.flac

On the host, is your music located in /media/vortex/Zic/Zic?


RE: Jellyfin / Docker:Playback failed because the media is not supported by this client. - Darlor - 2024-10-31

On the host, the music is located :
/media/vortex/Zic1/Zic



[Image: zic10.png]


RE: Jellyfin / Docker:Playback failed because the media is not supported by this client. - theguymadmax - 2024-10-31

Change your docker-compose to
Code:
/media/vortex/Zic1:/media
You'll need to re-add your folder to the library once you update the path.


RE: Jellyfin / Docker:Playback failed because the media is not supported by this client. - Darlor - 2024-10-31

I execute the command again:

Code:
sudo docker-compose up

The result :

Code:
vortex@AK2PLUS:~$ sudo docker-compose up
Recreating 4623b75e6915_vortex_jellyfin_1 ...

ERROR: for 4623b75e6915_vortex_jellyfin_1  'ContainerConfig'

ERROR: for jellyfin  'ContainerConfig'
Traceback (most recent call last):
  File "/usr/bin/docker-compose", line 33, in <module>
    sys.exit(load_entry_point('docker-compose==1.29.2', 'console_scripts', 'docker-compose')())
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 81, in main
    command_func()
  File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 203, in perform_command
    handler(command, command_options)
  File "/usr/lib/python3/dist-packages/compose/metrics/decorator.py", line 18, in wrapper
    result = fn(*args, **kwargs)
            ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 1184, in up
    to_attach = up(False)
                ^^^^^^^^^
  File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 1164, in up
    return self.project.up(
          ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/compose/project.py", line 697, in up
    results, errors = parallel.parallel_execute(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/compose/parallel.py", line 108, in parallel_execute
    raise error_to_reraise
  File "/usr/lib/python3/dist-packages/compose/parallel.py", line 206, in producer
    result = func(obj)
            ^^^^^^^^^
  File "/usr/lib/python3/dist-packages/compose/project.py", line 679, in do
    return service.execute_convergence_plan(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/compose/service.py", line 579, in execute_convergence_plan
    return self._execute_convergence_recreate(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/compose/service.py", line 499, in _execute_convergence_recreate
    containers, errors = parallel_execute(
                        ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/compose/parallel.py", line 108, in parallel_execute
    raise error_to_reraise
  File "/usr/lib/python3/dist-packages/compose/parallel.py", line 206, in producer
    result = func(obj)
            ^^^^^^^^^
  File "/usr/lib/python3/dist-packages/compose/service.py", line 494, in recreate
    return self.recreate_container(
          ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/compose/service.py", line 612, in recreate_container
    new_container = self.create_container(
                    ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/compose/service.py", line 330, in create_container
    container_options = self._get_container_create_options(
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/compose/service.py", line 921, in _get_container_create_options
    container_options, override_options = self._build_container_volume_options(
                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/compose/service.py", line 960, in _build_container_volume_options
    binds, affinity = merge_volume_bindings(
                      ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/compose/service.py", line 1548, in merge_volume_bindings
    old_volumes, old_mounts = get_container_data_volumes(
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/compose/service.py", line 1579, in get_container_data_volumes
    container.image_config['ContainerConfig'].get('Volumes') or {}
    ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
KeyError: 'ContainerConfig'
vortex@AK2PLUS:~$



RE: Jellyfin / Docker:Playback failed because the media is not supported by this client. - theguymadmax - 2024-10-31

You can try this:
Code:
sudo docker-compose down
mv /home/vortex/jellyfin /home/vortex/jellyfin_backup 
sudo docker-compose up -d



RE: Jellyfin / Docker:Playback failed because the media is not supported by this client. - Darlor - 2024-10-31

Thanks for the help.
I deleted the container,

Code:
sudo docker rm 4623b75e6915 -v

 then recreated it again, with modified docker-compose.yml:

Code:
/media/vortex/Zic1:/media

At first start everything works perfectly.
But after restarting the PC, I have the same problem:
access to the Jellyfin interface starts fine, I can browse all the music, but when I start listening I get the following error message:

Code:
"Reading error

Playback failed because the media is not supported by this client."

I tried with Firefox (Linux) , Chrome (Windows 11) and Android Jellyfin application

[Image: error11.png]


RE: Jellyfin / Docker:Playback failed because the media is not supported by this client. - theguymadmax - 2024-10-31

Can you post your new server logs.