Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot play anything after fresh setup #952

Open
andbuitra opened this issue Dec 16, 2024 · 1 comment
Open

Cannot play anything after fresh setup #952

andbuitra opened this issue Dec 16, 2024 · 1 comment

Comments

@andbuitra
Copy link

andbuitra commented Dec 16, 2024

I have reinstalled Kodi and the Jellyfin for Kodi plugin and everything goes smoothly regarding the setup process but when I attempt to play content it fails saying "Jellyfin error. Check log for more details" and "Playback failed. One or more items failed to play...".

Checking the it says:

2024-12-15 20:13:36.160 T:746     error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'IndexError'>
                                                   Error Contents: list index out of range
                                                   Traceback (most recent call last):
                                                     File "/home/andres/.var/app/tv.kodi.Kodi/data/addons/plugin.video.jellyfin/default.py", line 18, in <module>
                                                       LOG.debug("--->[ default ]")
                                                       ^^^^^^^^^
                                                     File "/home/andres/.var/app/tv.kodi.Kodi/data/addons/plugin.video.jellyfin/jellyfin_kodi/helper/lazylogger.py", line 18, in __getattr__
                                                       from .loghandler import getLogger
                                                     File "/home/andres/.var/app/tv.kodi.Kodi/data/addons/plugin.video.jellyfin/jellyfin_kodi/helper/loghandler.py", line 127, in <module>
                                                       __LOGGER.addHandler(LogHandler())
                                                                           ^^^^^^^^^^^^
                                                     File "/home/andres/.var/app/tv.kodi.Kodi/data/addons/plugin.video.jellyfin/jellyfin_kodi/helper/loghandler.py", line 47, in __init__
                                                       self.sensitive["Server"].append(server["address"].split("://")[1])
                                                                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
                                                   IndexError: list index out of range
                                                   -->End of Python script error report<--

and

2024-12-15 20:13:36.188 T:7       error <general>: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.jellyfin/f137a2dd21bbc1b99aa5c0f6bf02a805/?filename=[redacted]]
2024-12-15 20:13:36.188 T:7       debug <general>: Playlist Player: no more playable items... aborting playback

I have setup the plugin in the past and it was working until recently where I had to factory reset my chromecasts and now it won't connect. This particular log comes from the desktop client (flatpak) but it's the same error on all devices.

Jellyfin Server version: 10.10.3 (but it was also tested with 10.10.1) running on Docker with the LSIO image.

When configuring the URL I have explicitly typed the "https://" and the hostname that I use for Jellyfin. I have also tried with the hostname and IP for the server where Jellyfin resides and the exposed port with no luck. I have setup the add-on plenty of times and the configuration I've done (following Jellyfin's guide) has worked until today.

--

In summary, configuring the plugin is painless and the content is correctly being listed but playback is failing. I've tried removing the library and re-adding it with no luck as well. There's no relevant messages on the server side either. It just confirms that authentication was successful but doesn't say anything else when trying to play content.

@oddstr13
Copy link
Member

Looks like this could be from the server address field in the jellyfin server settings could be incorrectly configured

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants