• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Playback issues with Kodi and Jellyfin

     
    • 0 Vote(s) - 0 Average

    Playback issues with Kodi and Jellyfin

    Playback stopping after 30-40 mins
    Rawlivit
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2025 Feb
    Reputation: 0
    Country:New Zealand
    #1
    2025-02-03, 10:42 PM
    I have LibreELEC running on a laptop attached to my TV. This runs Kodi and the Jellyfin plugin, where Jellyfin is synced with the Kodi database so you can browse the Jellyfin content as if it were native on Kodi. I also have the Kodi sync queue plugin installed in Jellyfin.

    When playing media, it will often (not always) cut out after 30 mins or so. If you resume playing, it works, but often will cut out again a second time not that much later (say, 40 min mark, just before end of 45 min show).

    Jellyfin itself is installed as a docker container on a desktop PC running Linux Mint. It has Traefik as a reverse proxy infront of it, and is accessed via an https domain which has a local DNS record on pi-hole. The desktop PC running Jellyfin and laptop running Kodi are on the same network, laptop on wifi and desktop on LAN.

    Jellyfin version is 10.10.5

    I have tried bumping up the cache amount in Kodi as I thought perhaps it was a network issue, but that didn't seem to help. I did find it went away for a while when i ran a LAN cable to the laptop, but it seems to have started again so that might have been a coincidence.

    Any advice to troubleshoot this is appreciated! I read the FAQ but it just says "WIP" Upside-down-face
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2025-02-04, 01:30 AM
    Can you share your full jellyfin log via privatebin.net?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Rawlivit
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2025 Feb
    Reputation: 0
    Country:New Zealand
    #3
    2025-02-04, 02:14 AM
    Here's the log from a couple of days ago when it happened a couple of times: https://privatebin.net/?5c5b0ca6eecc21f9...NWzZu2RBGw

    Hopefully that helps.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2025-02-04, 01:31 PM
    I don't see a server side cause of this issue. Does Kodi produce logs?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Zyxin
    Offline

    Junior Member

    Posts: 1
    Threads: 0
    Joined: 2025 Feb
    Reputation: 0
    #5
    2025-02-06, 10:20 PM (This post was last modified: 2025-02-06, 10:21 PM by Zyxin. Edited 1 time in total.)
    On my Shield TV with Kodi and the Jellyfin addon, the playback would stop and buffer/stutter in the first few minutes. It seemed to be related to running Jellyfin with a reverse proxy. The solution I found was this:
    https://github.com/jellyfin/jellycon/iss...1936934875

    You have to add these lines to the advancedsettings.xml


    Code:
    <advancedsettings version="1.0">
    <network>
      <disablehttp2>true</disablehttp2>
    </network>
    </advancedsettings>

    It might work for your issue as well.
    Rawlivit
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2025 Feb
    Reputation: 0
    Country:New Zealand
    #6
    2025-02-07, 12:49 AM
    (2025-02-04, 01:31 PM)TheDreadPirate Wrote: I don't see a server side cause of this issue.  Does Kodi produce logs?

    It does, but a little awkward to access full logs. I have been waiting for the issue to happen again so I can check the recent logs, but it hasn't happened in a couple of days. It seems very intermittent.

    (2025-02-06, 10:20 PM)Zyxin Wrote: On my Shield TV with Kodi and the Jellyfin addon, the playback would stop and buffer/stutter in the first few minutes. It seemed to be related to running Jellyfin with a reverse proxy. The solution I found was this:
    https://github.com/jellyfin/jellycon/iss...1936934875

    You have to add these lines to the advancedsettings.xml


    Code:
    <advancedsettings version="1.0">
    <network>
      <disablehttp2>true</disablehttp2>
    </network>
    </advancedsettings>

    It might work for your issue as well.

    Thanks! I will give this a go and see if it helps! As above, it hasn't happened for a few days, but I will check back in the next time it happens (hopefully never after I add this Upside-down-face )
    jibarofoss
    Offline

    Junior Member

    Posts: 14
    Threads: 3
    Joined: 2023 Nov
    Reputation: 0
    #7
    2025-02-07, 02:58 AM
    I'm having similar issues on JellyCon with Kodi. The issue is definitely not my network, I tested the link speed between my client device and server using iperf and it fluctuates between 850~920 mbps (wired connection). I too tried messing around with the cache options to no avail. I'm pretty certain the issue is squarely with Kodi.
    Rawlivit
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2025 Feb
    Reputation: 0
    Country:New Zealand
    #8
    2025-02-23, 10:15 PM (This post was last modified: 2025-03-30, 07:34 AM by Rawlivit. Edited 1 time in total.)
    Just checking in to say I made the change to disable http2 above, and have also disabled hardware encoding. Now it's a couple of weeks later and have had no issues.

    Edit: Checking in some time later, I re-enabled hardware encoding and we are still good.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode