2013-03-15, 12:46
(2013-03-15, 10:24)Montellese Wrote: Queueing library scans is currently not possible. As you mentioned yourself you can kick of one scan, then wait for the VideoLibrary.OnScanFinished notification and then kick off another one. The notifications can only be received through a TCP socket or WebSocket connection right now.
OK thanks.
Regarding the notifications, how would I inform XBMC that I want to receive them (either on a TCP socket or WebSocket), should I call the VideoLibrary.OnScanFinished method then wait for notifications to be sent on the same ip and port? Or is the notification automatically sent to each client that initiated the scan? So if a client 192.68.0.20 is initiating a scan on xbmc server 192.168.0.8:8080, where will the notification be sent, and on what port? Sorry for the basic questions, it's just that notifications seem like a bit of a black art!