Any way to detect when Library export is complete?
#1
The only idea I have is to export to a single file, check the file size changes in a loop and proceed once the size stops changing.

Any other ideas out there?
Reply
#2
There is none as far as I can see. Would be easy to add at least a log line though.
e.g. https://github.com/xbmc/xbmc/blob/master....cpp#L8846 for Video
Reply
#3
convince somebody to push some variant of https://github.com/notspiff/kodi-cmake/c...a1087270a6 (and https://github.com/notspiff/kodi-cmake/c...70087a948f) to mainline.

then you just listen on the announcement bus.
Reply
#4
let's see how it goes.. https://github.com/xbmc/xbmc/pull/6912
Reply
#5
Well, thanks for that!

By the announcement bus, do you mean the notifications you can get through the Monitor class?
Reply
#6
yes, i think they are piped through the monitor. otherwise you can listen on the tcp jsonrpc port.
Reply
#7
(2015-04-10, 14:34)ironic_monkey Wrote: yes, i think they are piped through the monitor. otherwise you can listen on the tcp jsonrpc port.

I will look into that.

PS. you make it sound so naughty.
Reply

Logout Mark Read Team Forum Stats Members Help
Any way to detect when Library export is complete?0