Win Starting Kodi on a locked workstation
#1
Hi all,

I'm having a bit of an issue with my automated setup and wondered if anyone has any ideas.

I have a batch script that runs daily to update my library on my 'server', a Windows 8.1 box which is locked at all times.

The command I use to start Kodi is:
Code:
start "" "d:\kodi\kodi.exe" -p

Then I execute a library update command
Code:
curl -i -X POST -d "{\"jsonrpc\": \"2.0\", \"method\": \"VideoLibrary.Scan\", \"id\": \"mybash\"}" -H "content-type:application/json" http://kodi:[email protected]:8080/jsonrpc > NUL 2>&1

Then close Kodi after 10 minutes:
Code:
timeout /t 600
taskkill /IM "kodi.exe"

It used to work well, but recently stopped working, maybe on the 16 betas Huh.

It seems that the Kodi executable will start but the screen will not render (for lack of a better explanation) fully.
When I log into the box using RDP or Teamviewer or on the console itself, I can see the Kodi window with the Confluence backdrop by itself, then the menus are populated.
My guess is that the full Kodi UI won't render/populate until a visual session is open.

Any help appreciated Smile

Cheers
4x R-Pi4b LibreELEC v10 | Aeon Nox: SiLVO | Flirc cases
Storage Synology DS411 | 4 x WD RED 6TB
Software MariaDB 10.4.19 | Filebot | Ember Media Manager
wiki (wiki) | First time user (wiki) | Debug_Log (wiki) | mysql (wiki) | artwork (wiki)
Reply

Logout Mark Read Team Forum Stats Members Help
Starting Kodi on a locked workstation0