opdenkamp/xbmc-pvr-addons — pull request #113 by janbar (2012-12-13 00:56:51+00:00)
Title: Disconnected backend and suspended client

Hi Christian,

I resolve socket error on rcv() in cmyth_rcv_length(). Here the code loop when backend stop. Cause the socket signal was up but the rcv buffer was empty. I think this case exists also on Windows. Also i fix the timeout to 30 secs. Now the backend can be stopped even during playback without lock or loop.

Suspend client is not affected by this bug and the timeout is large enougth for the backend on wakeup.