• 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 General Questions run kodi database update via json api

     
    • 0 Vote(s) - 0 Average

    run kodi database update via json api

    mcarlton00
    Offline

    Kodi Addon Maintainer

    Posts: 145
    Threads: 1
    Joined: 2023 Sep
    Reputation: 9
    Country:United States
    #10
    2024-02-09, 05:40 PM
    So TLDR: New media/updated status is added to Kodi in one of two ways.
    • New content added to server/updated when Kodi is not running: When Kodi starts, it reaches out to the plugin and says "give me all updated content from $DATE" which is the last time it checked in with the server. Any new content, watched status updates, etc will be synced at this time. This requires the Kodi Sync Queue plugin to be installed in the server.
    • New content added to server/updated when Kodi is running: The server pushes out notifications and Kodi will process and add it to it's local library immediately. This happens over a websocket connection and shouldn't involve any other extra steps or requests.

    If you're not getting updates while your client devices are running, that means your websocket connection has failed.  And unfortunately, there's not a whole lot to be done about that.  It's a result of having a network interruption somewhere (router/switch blip, server restarting, Pi hardware being less than great, etc).  Could be any of half a dozen reasons why your connection has failed, all getting singled down to network instability of some kind.  The addon has some code to attempt to reconnect the websocket when it fails, but it seems to be hit or miss if it works or not.  There's a PR out there trying to improve it, but it hasn't been merged yet and it seems to have various success rates based on other commenters.  Issue is here: https://github.com/jellyfin/jellyfin-kodi/issues/797.  PR is linked, and you can make the code changes yourself on your client and see if that improves things.

    However, if addon mode is failing to playback, that kinda indicates you have something else screwy going on, possibly the network issues mentioned above.  Native mode is wholly unnecessary in 99% of use cases and is kinda a relic of an old emby bug that was fixed years ago.  The only time native mode makes sense is if your server/network is a literal potato and simply can't handle any amount of reasonable bandwidth, or if your storage is local but your server is remote on a VPS somewhere.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    run kodi database update via json api - by Slomo - 2024-02-07, 07:33 PM
    RE: run kodi database update via json api - by tmsrxzar - 2024-02-07, 07:36 PM
    RE: run kodi database update via json api - by Slomo - 2024-02-09, 12:34 PM
    RE: run kodi database update via json api - by tmsrxzar - 2024-02-09, 03:21 PM
    RE: run kodi database update via json api - by Slomo - 2024-02-09, 03:51 PM
    RE: run kodi database update via json api - by tmsrxzar - 2024-02-09, 04:05 PM
    RE: run kodi database update via json api - by Slomo - 2024-02-09, 04:49 PM
    RE: run kodi database update via json api - by tmsrxzar - 2024-02-09, 04:56 PM
    RE: run kodi database update via json api - by Slomo - 2024-02-09, 04:59 PM
    RE: run kodi database update via json api - by mcarlton00 - 2024-02-09, 05:40 PM
    RE: run kodi database update via json api - by Slomo - 2024-02-09, 07:34 PM
    RE: run kodi database update via json api - by Slomo - 2024-05-14, 08:52 PM
    RE: run kodi database update via json api - by mcarlton00 - 2024-05-14, 09:28 PM

    • 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