Live TV occasionally doesn't start..
#1
Hi,

Win7 x64, XBMC Frodo 12.2, ArgusTV 2.1 (single machine), DVB-T tuner

Sometimes (usually after not watching TV for a while, but inconsistent) when I try to open Live TV (which was stopped) on any channel, I get an 'ArgusTV Client unknown error' after waiting for a minute or so. After several attempts it sometimes works out,
I think it's an XBMC issue because:
1. Restarting XBMC always fixes the issue.
2. Recordings (from the Recorder console) work flawlessly even while hanging.
3. I've had NextPVR installed previously, and it happened too.
4. See this thread for more or less the same experience with both ArgusTV and MediaPortal.
5. When it happens, the USB dvb-t dongle doesn't light its 'streaming led', and none of the ArgusTV streaming/recorder logs are updated..

I tried setting the service tuning timeouts to 20 seconds but it didn't help.

I enabled debugging in XBMC, and this is how the logs look like when it works and when not.

Here's how it looks like when it works:
00:24:02 T:6412 NOTICE: Creating InputStream
00:24:02 T:6412 DEBUG: PVRManager - PVR::CPVRManager::OpenLiveStream - opening live stream on channel 'Ch 10'
00:24:02 T:6412 DEBUG: opening live stream for channel 'Ch 10'
00:24:02 T:6412 DEBUG: AddOnLog: ARGUS TV client: ->_OpenLiveStream(3)
00:24:02 T:6412 INFO: AddOnLog: ARGUS TV client: Tune XBMC channel: 3
00:24:02 T:6412 INFO: AddOnLog: ARGUS TV client: Corresponding ARGUS TV channel: e4a77e18-2819-46bf-89b1-b84691a1a466
00:24:02 T:6412 DEBUG: AddOnLog: ARGUS TV client: ArgusTV/Control/TuneLiveStream, body [{"Channel":{"BroadcastStart":"","BroadcastStop":"","ChannelId":"e4a77e18-2819-46bf-89b1-b84691a1a466","ChannelType":0,"DefaultPostRecordSeconds":0,"DefaultPreRecordSeconds":0,"DisplayName":"Ch 10","GuideChannelId":"00000000-0000-0000-0000-000000000000","LogicalChannelNumber":null,"Sequence":0,"Version":0,"VisibleInGuide":true},"LiveStream":null}]
00:24:02 T:6412 DEBUG: AddOnLog: ARGUS TV client: URL: http://127.0.0.1:49943/ArgusTV/Control/TuneLiveStream
00:24:02 T:6412 DEBUG: CurlFile::Open(09E92020) http://127.0.0.1:49943/ArgusTV/Control/TuneLiveStream
00:24:02 T:5948 DEBUG: ------ Window Init (DialogBusy.xml) ------
00:24:04 T:6412 DEBUG: AddOnLog: ARGUS TV client: TuneLiveStream result 0.
00:24:04 T:6412 DEBUG: AddOnLog: ARGUS TV client: Tuned live stream: \\zamir-htpc\d$\ArgusTV\Timeshift\Card1-1-0.ts.tsbuffer
...


and when it doesn't work:

00:30:36 T:4340 NOTICE: Creating InputStream
00:30:36 T:4340 DEBUG: PVRManager - PVR::CPVRManager::OpenLiveStream - opening live stream on channel 'Ch 2'
00:30:36 T:4340 DEBUG: opening live stream for channel 'Ch 2'
00:30:36 T:4340 DEBUG: AddOnLog: ARGUS TV client: ->_OpenLiveStream(2)
00:30:36 T:4340 INFO: AddOnLog: ARGUS TV client: Tune XBMC channel: 2
00:30:36 T:4340 INFO: AddOnLog: ARGUS TV client: Corresponding ARGUS TV channel: bd8dd817-3b46-45ee-b4c5-03b57e047396
00:30:36 T:4340 DEBUG: AddOnLog: ARGUS TV client: ArgusTV/Control/TuneLiveStream, body [{"Channel":{"BroadcastStart":"","BroadcastStop":"","ChannelId":"bd8dd817-3b46-45ee-b4c5-03b57e047396","ChannelType":0,"DefaultPostRecordSeconds":0,"DefaultPreRecordSeconds":0,"DisplayName":"Ch 2","GuideChannelId":"00000000-0000-0000-0000-000000000000","LogicalChannelNumber":null,"Sequence":0,"Version":0,"VisibleInGuide":true},"LiveStream":null}]
00:30:36 T:4340 DEBUG: AddOnLog: ARGUS TV client: URL: http://127.0.0.1:49943/ArgusTV/Control/TuneLiveStream
00:30:36 T:4340 DEBUG: CurlFile::Open(08F7DA10) http://127.0.0.1:49943/ArgusTV/Control/TuneLiveStream
00:30:36 T:4340 INFO: XCURL:Big GrinllLibCurlGlobal::easy_aquire - Created session to http://127.0.0.1
00:30:36 T:5948 DEBUG: ------ Window Init (DialogBusy.xml) ------
00:30:47 T:6224 DEBUG: CAESinkDirectSound:Big Grineinitialize: Cleaning up
00:30:47 T:6224 DEBUG: Suspended the Sink

AND THIS IS WHERE IT'S STUCK... until it writes (after two minutes):

00:32:51 T:6568 ERROR: CCurlFile::CReadState::Open, didn't get any data from stream.
00:32:51 T:6568 ERROR: AddOnLog: ARGUS TV client: can not write to http://127.0.0.1:49943/ArgusTV/Control/TuneLiveStream
00:32:51 T:6568 ERROR: AddOnLog: ARGUS TV client: TuneLiveStream failed
00:32:51 T:6568 ERROR: AddOnLog: ARGUS TV client: Tuning failed, unknown error
00:32:51 T:6568 ERROR: AddOnLog: ARGUS TV client: Could not start the timeshift for channel 3 (e4a77e18-2819-46bf-89b1-b84691a1a466)
00:32:51 T:6568 ERROR: CDVDPlayer::OpenInputStream - error opening [pvr://channels/tv/All TV channels/2.pvr]
00:32:51 T:6568 NOTICE: CDVDPlayer::OnExit()
00:32:51 T:6568 NOTICE: CDVDPlayer::OnExit() deleting input stream
00:32:51 T:4496 NOTICE: CDVDPlayer::CloseFile()
00:32:51 T:4496 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
00:32:51 T:4496 NOTICE: DVDPlayer: waiting for threads to exit
00:32:51 T:4496 NOTICE: DVDPlayer: finished waiting


Your help would be greatly appreciated.. :-)
Reply

Logout Mark Read Team Forum Stats Members Help
Live TV occasionally doesn't start..0