Comments (6)
There's likely no bug here. It sounds like at least one device on your network is just a potato and can't handle the amount of data flowing through it. Do other clients/other devices work properly?
My first step would be to take caddy out of the equation completely. Just connect directly to ip:port and verify if things work correctly that way. Sometimes introducing SSL can be a significant performance hit if it's already low power enough.
It’s also extremely slow listing the contents of a synced folder
This indicates it's almost surely out of our control. iirc once a library has been synced to Kodi's database, we're no longer involved with displaying contents. That falls back to Kodi's standard library displaying menus which we have no influence over.
from jellyfin-kodi.
It sounds like at least one device on your network is just a potato and can't handle the amount of data flowing through it. Do other clients/other devices work properly?
I reset Kodi and configured it to use the local IP, and videos start playing in a few seconds now. It also took only 4 minutes to sync 951 movies and 1171 tv show episodes.
My server is an Intel nuc 2.6 GHz quad core i7 running on an m2 ssd, and I have a 1GB fiber connection, so I don’t think my equipment is the problem. Every other device I have uses the Jellyfin app and it works flawlessly—even over cell service. The web app also works flawlessly. I’m sure it’s some sort of network issue, I guess I can try nginx and see if that works any better.
from jellyfin-kodi.
I'm seeing the same on my laptop when I'm remote, haven't investigated why, as I have to buffer extensively anyways due to my slow connection. It feels like it is doing multiple roundtrips / connection attempts.
Works fine on LAN, but sometimes still as slow as ~10s.
I think this has been brought up before, but I don't remember in which context.
Listing of synced content, however, is near instant.
from jellyfin-kodi.
If this was a Pi, I would suspect a dying SD card.
In ye olden days, I had an issue where trying to direct play a file stored on a NFS share would have exactly a 12 second delay. The cause was due to some weirdness between .NET and file locking on nfs shares and had a 12 second timeout. But that's not what it sounds like is happening here.
There's also been no end of super random issues stemming from having http2 enabled, but this isn't one of those I've encountered before. But going over ip:port instead of https through caddy seems to indicate this could be another in a long line of wtf-ery involving http2. In another issue from several years ago there's also talk about having gzip enabled in the reverse proxy causes performance issues, so that could be another thing to check.
from jellyfin-kodi.
I appreciate the suggestions, I will definitely test these out. I magically got the Jellyfin app to connect to my domain @ port 443 yesterday (created a p12 cert/key, opening 8096/8920, changing the serverurl, etc), so it’s not an issue for me right now, but I would like to share with my family. The Jellyfin app is just as fast on my domain as it is over the local ip, which makes me think the issue is with the Kodi plugin. I’ll try Jellycon and see if I notice any difference.
from jellyfin-kodi.
What do you know. I disabled http2 (you have to do it globally on caddy) and gzip, and video files start playing in a few seconds. I re-enabled gzip and restarted the app and it still works. I also re-enabled http2 and it still works, but it does seem likely that one of those was causing the delay.
from jellyfin-kodi.
Related Issues (20)
- Kodi doesn't see JF Libraries. HOT 4
- Various Artists albums show up empty in Kodi HOT 2
- Is quick connect supported ? HOT 2
- Constently missing TV episodes that are present in Jellyfin; do not show up in kodi with addon HOT 2
- Jellyfin crashed. "Could not apply migration 'MigrateActivityLogDatabase" HOT 1
- Music videos library won't play HOT 8
- Slow sync HOT 2
- Sync Failed HOT 6
- strHdrType DB field does not exist in Kodi 19 HOT 4
- this plugin has an error when playing records in the latest KODI 21 version HOT 3
- Extras / Special Features do not save metadata to NFO files HOT 1
- Screen takes me to the menu for a couple of seconds when episode ends and loads the next one
- Kodi videos played via Jellyfin start dropping frames / stuttering after several minutes HOT 1
- library update broken with last Jellyfin server update HOT 17
- Settings are not retained HOT 1
- Lock-up during sync if accessing music library HOT 3
- Combined episodes in Jellyfin don't work correctly with Kodi
- Kodi sync fails on Nvidia Shield HOT 3
- Subtitles missing for BluRay discs HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jellyfin-kodi.