Skip to content

ERROR [MainThread] mopidy.commands Got un-handled exception from JellyfinBackend #158

@spoons-rchq

Description

@spoons-rchq

Hi

Trying to get Jellyfin server and Mopidy to play together.

Does mopidy-jellyfin work with the latest Jellyfin server release?
Looks like the API may have changed?

I'm getting this error in my journalctl -xu mopidy:

" ERROR    [MainThread] mopidy.commands Got un-handled exception from JellyfinBackend
Traceback (most recent call last):
   File "/usr/lib/python3/dist-packages/mopidy/commands.py", line 248, in _actor_error_handling yield
   File "/usr/lib/python3/dist-packages/mopidy/commands.py", line 412, in start_backends
     backend = backend_class.start(
      ~~~~~~~~~~~~~~~~~~~^
         config=config, audio=audio
         ^^^^^^^^^^^^^^^^^^^^^^^^^^
     ).proxy()
     ^
   File "/usr/lib/python3/dist-packages/pykka/_actor.py", line 115, in start
     obj = cls(*args, **kwargs)
   File "/usr/local/lib/python3.13/dist-packages/mopidy_jellyfin/backend.py", line 26, in __init__
     self.remote = JellyfinHandler(config)
                   ~~~~~~~~~~~~~~~^^^^^^^^
   File "/usr/local/lib/python3.13/dist-packages/mopidy_jellyfin/remote.py", line 75, in __init__
     self._login()
     ~~~~~~~~~~~^^
   File "/usr/local/lib/python3.13/dist-packages/mopidy_jellyfin/remote.py", line 91, in _login
     auth_details = self.http.post(
             url, self.auth_data)
   File "/usr/local/lib/python3.13/dist-packages/mopidy_jellyfin/http.py", line 83, in post
     raise Exception('Cant connect to Jellyfin API')
 Exception: Cant connect to Jellyfin API

I am running Jellyfin server 10.11.2
Mopidy 3.4.2 on a Raspberry Pi 4B with Raspbian Trixie 64bit

Here is a link to my
'journalctl -xu mopidy'
https://pastebin.com/LpkSSqmP

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions