xbmc-send and waiting for actions to complete
#1
I currently have a crontab job which performs these three actions (via xbmc-send) every night:

UpdateLibrary(video)
CleanLibrary(video)
ExportLibrary(video,true,true,true,true)

The problem is that if I send e.g. CleanLibrary before the UpdateLibrary action is complete, it will be ignored.

Right now I have a long sleep in between each command in the hope that the previous one will complete, but I'm looking for a more elegant solution.

So, is there any way to wait for the previous action to complete or to poll whether any action is in progress?

Regards,
David
Reply
#2
Hi,

why would no one help here?


Greetz X23
Reply

Logout Mark Read Team Forum Stats Members Help
xbmc-send and waiting for actions to complete0