Kodi Community Forum

Full Version: kodi-pvr-tvheadend-hts v1.9.39 can't stream already recording channel
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(2014-12-15, 19:48)MATPOC Wrote: [ -> ]But there is the bug in last version from latest Ubuntu repository of xbmc-pvr-hts package - it can't stream channel already recording or streamed on another player. Hope package will be updated because this bug was fixed on new version of pvr.hts (for example at Openelec Raspberry Pi) .
Kodi 14.0 release contains kodi-pvr-tvheadend-hts v1.9.39. Unfortunately it can't stream channel already recording or streamed on another player. This bug presents in Ubuntu and Windows distros.I am using HTS Tvheadend 3.4.28~geb79aee~trusty.

Code:
00:44:38 T:2706389824  NOTICE: Creating InputStream
00:44:38 T:2706389824   DEBUG: PVRManager - OpenLiveStream - opening live stream on channel 'Eurosport 2'
00:44:38 T:2706389824   DEBUG: opening live stream for channel 'Eurosport 2'
00:44:38 T:2706389824    INFO: AddOnLog: Tvheadend HTSP Client: SendSubscribe - subscribe to channel '61', subscription 1
00:44:38 T:2813422400   DEBUG: AddOnLog: Tvheadend HTSP Client: ParseSubscriptionStart - id: 1, type: MPEG2VIDEO, codec: 2
00:44:38 T:2813422400   DEBUG: AddOnLog: Tvheadend HTSP Client: ParseSubscriptionStart - id: 2, type: MPEG2AUDIO, codec: 86016
00:44:38 T:2813422400   DEBUG: AddOnLog: Tvheadend HTSP Client: ParseSubscriptionStart - id: 3, type: MPEG2AUDIO, codec: 86016
00:44:38 T:2813422400   DEBUG: AddOnLog: Tvheadend HTSP Client: ParseSubscriptionStart - id: 4, type: CA, ignored
00:44:38 T:2813422400   DEBUG: AddOnLog: Tvheadend HTSP Client: ParseSubscriptionStart - id: 5, type: CA, ignored
00:44:38 T:2813422400   DEBUG: AddOnLog: Tvheadend HTSP Client: ParseSubscriptionStart - id: 6, type: CA, ignored
00:44:38 T:2813422400   DEBUG: AddOnLog: Tvheadend HTSP Client: ParseSubscriptionStart - id: 7, type: CA, ignored
00:44:38 T:2813422400   DEBUG: AddOnLog: Tvheadend HTSP Client: ParseSubscriptionStart - id: 8, type: CA, ignored
00:44:38 T:2813422400    INFO: AddOnLog: Tvheadend HTSP Client: ParseSubscriptionStart - subscription started on adapter vlan622, mux 239.200.200.41, network , provider , service
00:44:38 T:2706389824   DEBUG: AddOnLog: Tvheadend HTSP Client: SendSubscribe - new subscription for channel 61 (1)
00:44:38 T:2706389824   DEBUG: CPVRChannelGroup - Persist - persisting channel group 'All channels' with 127 channels
00:44:38 T:2706389824   DEBUG: PVRFile - Open - playback has started on filename pvr://channels/tv/All channels/27.pvr
00:44:38 T:2706389824   DEBUG: CDVDInputStreamPVRManager::Open - stream opened: pvr://channels/tv/All channels/27.pvr
00:44:38 T:2706389824  NOTICE: Creating Demuxer
00:44:38 T:2706389824   ERROR: Get - failed to get stream
00:44:38 T:2706389824   DEBUG: CDVDPlayer::SetCaching - caching state 2
00:44:38 T:2706389824 WARNING: CDVDMessageQueue(audio)::Put MSGQ_NOT_INITIALIZED
00:44:38 T:2706389824 WARNING: CDVDMessageQueue(video)::Put MSGQ_NOT_INITIALIZED
00:44:38 T:2706389824   DEBUG: OnPlayBackStarted: play state was 1, starting 1
00:44:38 T:2997315392   DEBUG: PlayFile: OpenFile succeed, play state 2
00:44:38 T:2997315392   DEBUG: OnPlayBackStarted: play state was 2, starting 0
00:44:38 T:2997315392   DEBUG: ------ Window Init (DialogSeekBar.xml) ------
00:44:38 T:2997315392   DEBUG: CGUIInfoManager::SetCurrentMovie(pvr://channels/tv/All channels/27.pvr)
00:44:38 T:2997315392   DEBUG: CAnnouncementManager - Announcement: OnPlay from xbmc
00:44:38 T:2997315392   DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPlay
00:44:39 T:2706389824   ERROR: ReadPacket - Error demux packet doesn't belong to a valid stream
00:44:47 T:2997315392   ERROR: Previous line repeats 537 times.
00:44:50 T:2997315392   DEBUG: Keyboard: scancode: 0x35, sym: 0x0078, unicode: 0x0078, modifier: 0x0
00:44:50 T:2997315392   DEBUG: OnKey: x (0xf058) pressed, action is Stop
00:44:50 T:2997315392  NOTICE: CDVDPlayer::CloseFile()
00:44:50 T:2997315392  NOTICE: DVDPlayer: waiting for threads to exit
00:44:50 T:2706389824  NOTICE: CDVDPlayer::OnExit()
00:44:50 T:2706389824   DEBUG: CDVDPlayer::SetCaching - caching state 0
Can you post the full debug log?
I've noticed same behaviour (described here).

Currently, I'm using pvr.tvh on Kodi Helix RC3 and it's working fine.
(2014-12-25, 01:03)negge Wrote: [ -> ]Can you post the full debug log?
This is the full debug log.
(2015-01-09, 20:06)MATPOC Wrote: [ -> ]This is the full debug log.

Sure? Debug logs are hundreds of lines long, and include your hardware/OS config, Kodi version, all of your addons loading... something must have eaten much of yours.
I've experienced the same problem on R-Pi with OE and described it here - with debug logs...
(2015-01-10, 01:32)Prof Yaffle Wrote: [ -> ]
(2015-01-09, 20:06)MATPOC Wrote: [ -> ]This is the full debug log.

Sure? Debug logs are hundreds of lines long, and include your hardware/OS config, Kodi version, all of your addons loading... something must have eaten much of yours.

I striped all other lines not related to HTS.
(2014-12-24, 21:54)MATPOC Wrote: [ -> ]
(2014-12-15, 19:48)MATPOC Wrote: [ -> ]But there is the bug in last version from latest Ubuntu repository of xbmc-pvr-hts package - it can't stream channel already recording or streamed on another player. Hope package will be updated because this bug was fixed on new version of pvr.hts (for example at Openelec Raspberry Pi) .
Kodi 14.0 release contains kodi-pvr-tvheadend-hts v1.9.39. Unfortunately it can't stream channel already recording or streamed on another player. This bug presents in Ubuntu and Windows distros.I am using HTS Tvheadend 3.4.28~geb79aee~trusty.

I upgraded my HTPC to Intel Core2 Duo and this bug was disappeared. May be old AMD 64 was not so fast for new PVR but all video was perfectly HW decoded by Nvidia G220.
Either way this issue is most definitely fixed in Isengard.