[mythtv] Remote frontend fails playback after 5 minute pause

David Engel david at istwok.net
Thu Jan 31 22:59:50 UTC 2019

On Thu, Jan 31, 2019 at 02:22:41PM -0700, John P Poet wrote:
> David,
> I spent several hours last night trying to track down this issue.  It seems
> that RemoteFile::Read() is getting zero bytes from the backend even though
> the backend seems to be indicating that it is sending data.  This only
> happens if the playback is paused for at least 5 minutes, so I am guessing
> there is a timeout somewhere that closes the socket, but I have not dug
> that far.
> In *very limited* testing, the attached patch successfully re-opens the
> socket, and allows playback to continue.  If you have a chance, please test
> it to make sure it works in your scenario.
> If it does work for you, then we need to decide if it is an acceptable
> "solution", or if we need to figure out where and why the socket is getting
> closed.

I will try to test it this weekend.  Only the frontend needs it,
right?  Note that I haven't seen the long pause problem in quite some
time, though.

David Engel
david at istwok.net

More information about the mythtv-dev mailing list