opdenkamp/xbmc-pvr-addons — pull request #181 by dezi (2013-03-18 09:33:16+00:00)
Title: Fixed pvr.hts ReadMessage data timeout to user settings timeout. 

Hi, I use Your great tools TVHeadend + XBMC PVR.HTS add-on. Thumbs up.

I have two RPIs running, one is my TVHeadend-Server, works like a charm. I use this with XBMC + PVR.HTS on Mac and Windows. Works perfect.

The second RPI runs a self compiled HEAD XBMC, with self compiled HEAD PVR-Addons. PVR playback of recordings worked sometimes, it kept dropping the TVHeadend HTSP connection, so I had a closer look into source code.

When You do the ReadMessage in the thread-loop, You use the default timeout for data to be read which is one second. When my TVHeadend Raspberry is under heavy load, which it always is ;-), it will not respond within time, so i patched this and now it works great.

I wonder, why the OSX and Windows versions (FRODO, not self compiled) do not have this problem.

I also have problems playing back the live streams. I will do some more research here. One symptom is, when Live-Stream plays, it has 1:1 aspect ratio. Most stream cannot be played at all.

Cheers
Dezi