Sharing library across multiple computers outside the LAN
#1
Hello.
I have a few kodi installations outside my main lan, currently accessing my storage via webdav, it works ok, but the library scan takes a long time, bootstrapping it takes forever (many hours).
I was wondering if there a way to "help" Kodi by storing some of the data on the storage server or anything that could get remote clients not working so hard. Maybe even running a headless kodi on the server itself just to create the library with all the metadata and have clients use it and store watch status locally. MySQL looks great but not very suitable without local access/vpn/security risk.

Also, I am really wondering how come it takes so long to scan, webdav was always slower than smb (although I don't understand why to be honest, the server responds within milliseconds) but it's either my new Google TV streamer that is extra slow or that I simply forgot how long it takes to bootstrap a library scan. Each TV show can take 10-20 minutes easily, some movies takes 2-3 seconds, some take 2-3 minutes. I downloaded a debug log and can send, but that's besides the point of my original question...

Thanks!
Reply
#2
(2024-12-14, 23:43)gibsonlp Wrote: Maybe even running a headless kodi on the server itself just to create the library with all the metadata and have clients use it and store watch status locally

probably wouldn't help, it's not likely the scraping taking very long as it's just a file listing
the slowest part of scraping is getting the artwork loaded which doesn't even happen during scan, it happens during browsing

------

best bet is disable extracting information and thumbnails from files
- https://kodi.wiki/view/Settings/Media/Vi...from_files
Reply
#3
Thanks, so I am wondering how come it takes so long to scape, I did download some debug logs and can share them if anyone is interested at taking a look
Reply
#4
During a scrape I'm pretty sure Kodi reads some information from the video file (like its duration, the audio/video codec, etc).  I don't know how much of the file Kodi has to be able to scan through to get that information, but depending on your upload speeds at your source and your download speed at your destination it could take a bit to get enough of the file to grab all that info.
Reply
#5
(2024-12-14, 23:43)gibsonlp Wrote: I have a few kodi installations outside my main lan, currently accessing my storage via webdav, it works ok, but the library scan takes a long time, bootstrapping it takes forever (many hours).
I was wondering if there a way to "help" Kodi by storing some of the data on the storage server or anything that could get remote clients not working so hard. Maybe even running a headless kodi on the server itself just to create the library with all the metadata and have clients use it and store watch status locally. MySQL looks great but not very suitable without local access/vpn/security risk.

A Kodi sharing solution where the media, central database and scraping are all local to the server and only artwork, metadata and streaming of the media is sent to the clients is likely a better option to address the issues you are seeing.  This is exactly how online streaming operates.


Thanks,

Jeff
.
Running with the Mezzmo Kodi addon.  The easier way to share your media with multiple Kodi clients.
Service.autostop , Kodi Selective Cleaner and Mezzmo Kodi addon author.
Reply
#6
Thanks! I'll check it out!
Reply
#7
Maybe path substitution can help, though I never tried it in such a situation.
Create the library with local path and substitute later with remote path (or vice versa)
Always read the Kodi online-manual, the FAQ and search the forum before posting.
Do not e-mail Kodi Team members directly asking for support. Read/follow the forum rules (wiki).
For troubleshooting and bug reporting please make sure you read this first.
Reply

Logout Mark Read Team Forum Stats Members Help
Sharing library across multiple computers outside the LAN0