Recordings fail on remote client
#1
Hi,

I've got Linux server with XBMC and TVHeadend working great.

I've got ATV2 running XBMC client connecting to the server. Mostly great. Everything (that I've found) works great apart from watching back recordings....which works fine from the main server.

I've dug about as much as possible, I've even done wireshark traces, and the best I could come up with was the insertion into the files table at the start of playback doesn't seem to be happening. But I've checked the DB permissions, and increased logging and there doesn't seem to be an attempt to do write to the DB.

Okay, from the beginning:
Schedule recording - fine.
Recording completes - fine.
Go to recordings section - fine, all recordings listed, all details seem present and correct.
Press play - "Working" then "Disconnected from "HTS TV Headend"" then it complains the file ID is unknown which I believe is due to HTS connection restarting, so something caused by the problem, not the actual problem.

XBMC log on ATV2:
Code:
01:36:17 T:804732928  NOTICE: DVDPlayer: Opening: pvr://recordings///The Empire Strikes Back, TV (ITV2), 20131229_1
83000.pvr
01:36:17 T:804732928 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
01:36:17 T:139145216  NOTICE: Creating InputStream
01:36:17 T:139145216  NOTICE: Creating Demuxer
01:36:18 T:135557120   ERROR: AddOnLog: Tvheadend HTSP Client: ReadMessage - failed to read packet (Operation timed
out)
01:36:18 T:135557120   ERROR: AddOnLog: Tvheadend HTSP Client: connection dropped, trying to restore
01:36:18 T:139145216   ERROR: AddOnLog: Tvheadend HTSP Client: ReadResult - command failed - No response received
01:36:18 T:150491136  NOTICE: AddOnLog: Tvheadend HTSP Client: CHTSPConnection - SendGreeting - connection opened t
o 'HTS Tvheadend 3.4.27~gfbda802~precise', protocol v10
01:36:18 T:139145216   ERROR: Open - error probing input format, pvr://recordings///The Empire Strikes Back, TV (IT
V2), 20131229_183000.pvr
01:36:18 T:139145216   ERROR: AddOnLog: Tvheadend HTSP Client: ReadResult - command failed - Unknown file id
01:36:18 T:139145216   ERROR: Previous line repeats 1 times.
01:36:18 T:139145216   ERROR: Open - error probing input format, pvr://recordings///The Empire Strikes Back, TV (IT
V2), 20131229_183000.pvr
01:36:18 T:139145216   ERROR: AddOnLog: Tvheadend HTSP Client: ReadResult - command failed - Unknown file id
01:36:18 T:139145216   ERROR: Previous line repeats 1 times.

It seems to me like numerous TCP packets of 1448 bytes are eventually getting through, but the client isn't recognising it. It also seems the timeout is too short for most things (see time stamps).

I've upgraded both ends from Frodo 12.0 to Frodo 12.3, both ends addons are now on 1.6.19. This issue was happening before and after the change.

Both the working server and the not working client seem identical, apart from the obvious addition of a network. I believe everything is set to the IP address and not the loopback, but I think that's just in MySQL bind and advancedsettings.xml to access the DB.

The first that syslog for TVHeadend hears about all the commotion is the XBMC Media Center disconnecting and reconnecting, but it isn't excessively verbose.

Any suggestions or things to look at would be appreciated.

Thanks.
Reply
#2
A friend of mine who uses my tvheadend remotely over the internet has similar issues too regarding recordings. They can usually be watched, but there are quite a lot of "Command failed" popups when playback is started, and sometimes it stops playing all of a sudden. I haven't been able to dig any further though since I don't experience it myself.
Reply

Logout Mark Read Team Forum Stats Members Help
Recordings fail on remote client0