(2016-08-23, 19:10)PatK Wrote: Not atm: but is in the road map for the future (asynchronous threaded background loading of metadata) http://trac.kodi.tv/roadmap?show=all
Hmm i see.. Have to wait for new version then.. but my custom skin doesnt like newer version...
Is there anyway to use scripting & JSON to achieve this purpose?
e.g :
1. Launch Kodi remotely
2. Remote update Kodi with Curl :
Code:
"C:\Program Files\cURL\bin\curl.exe" -i -X POST -d "{\"jsonrpc\": \"2.0\", \"method\": \"VideoLibrary.Scan\", \"id\": \"mybash\"}" -H "content-type:application/json" http://user:pass@ipaddress:port/jsonrpc > NUL 2>&1
3. Close Kodi once update is done
After reading some thread looks like #1 is impossible with JSON.. while #2 requires Kodi to be active..
And about #3 does Kodi release some kind of trigger once it's done updating?
Edit :
I suppose i could use psexec to start and close Kodi remotely with batch script.. but i havent tried this
Code:
psexec -u administrator -p force \\serverip -s -d cmd.exe /c "C:\startkodi.bat"
So now the question is.. is there anyway to retrieve the flag of "finished update" ?
(2016-08-23, 19:19)trogggy Wrote: I'm curious as to why you wouldn't just run mysql on the windows server, then you could share a library without running multiple instances of kodi being an issue...
What's the advantage of what you're doing?
ISCSI boot is a block level boot, so once it's booted it feels like running Kodi from local storage.. I haven't compared the performance to MySQL but so far i'm running for 20+ clients and there's no major complaints... The drawback of course computer booted with ISCSI method have centralized content, and that's probably not for everybody...