Hi, Luca Olivetti wrote: > Btw, this is the patch I'm using now (against original 0.7.6), and it > seems to work, but I'm not sure it's due to simple luck or it is working > by design (e.g. if I switch the order of cControl::Shutdown() and > Skins.Message in the OnClientConnect handler it won't work). As you wrote in a previous email: it's a threading issue. Please try the attached patch against 0.7.6, which now uses VDR's main thread to switch the primary device. Bye. -- Dipl.-Inform. (FH) Reinhard Nissl mailto:rnissl@xxxxxx -------------- next part -------------- A non-text attachment was scrubbed... Name: vdr-xine-0.7.6-autoprimarydevice.patch Type: text/x-patch Size: 4201 bytes Desc: not available Url : http://www.linuxtv.org/pipermail/vdr/attachments/20051113/7a696bdf/vdr-xine-0.7.6-autoprimarydevice-0001.bin