Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Omega beta 3 #200

Open
MarcoViti opened this issue Mar 7, 2024 · 107 comments
Open

Omega beta 3 #200

MarcoViti opened this issue Mar 7, 2024 · 107 comments

Comments

@MarcoViti
Copy link

Let me start by saying that I didn't have any problems with beta 2. Omega beta 3 gives me problems with viewing the TV.
Apparently everything works, I have the list of channels, the icons and the EPG, I can easily scroll through the entire list of my channels... but when I select one the two wheels in the center of the screen start to turn and the system remains waiting for a few seconds and then stops, as if I had pressed stop
In short, the channel display does not start.
Windows 11 x64 updated to the latest version.

https://paste.kodi.tv/konucegupo.kodi

@JCalvi
Copy link

JCalvi commented Apr 9, 2024

I have the same issue, also logged here: xbmc/xbmc#24869 (comment)

@phunkyfish
Copy link
Member

Here is an extract of your log from open to close of the stream:


2024-03-03 16:43:15.495 T:1428    debug <general>: PVR::CPVRClient::OpenLiveStream::<lambda_1>::operator (): Opening live stream for channel 'Rai 1 HD'
2024-03-03 16:43:15.495 T:1428     info <general>: AddOnLog: pvr.mediaportal.tvserver: Open Live stream for channel uid=327
2024-03-03 16:43:15.497 T:1980    debug <general>: Loading settings for pvr://channels/tv/Tutti%20i%20canali@-1/[email protected]_327.pvr
2024-03-03 16:43:15.527 T:2008    debug <general>: CVideoGUIInfo::InitCurrentItem(pvr://channels/tv/Tutti%20i%20canali@-1/[email protected]_327.pvr)
2024-03-03 16:43:15.527 T:2008    debug <general>: CPlayerGUIInfo::InitCurrentItem(pvr://channels/tv/Tutti%20i%20canali@-1/[email protected]_327.pvr)
2024-03-03 16:43:15.528 T:2008    debug <general>: CVideoGUIInfo::InitCurrentItem(pvr://channels/tv/Tutti%20i%20canali@-1/[email protected]_327.pvr)
2024-03-03 16:43:15.528 T:2008    debug <general>: CPlayerGUIInfo::InitCurrentItem(pvr://channels/tv/Tutti%20i%20canali@-1/[email protected]_327.pvr)
2024-03-03 16:43:15.574 T:11240   debug <general>: Twitch: Player: |onPlayBackStarted| isTwitch |False| SeekTime ||
2024-03-03 16:43:15.628 T:2008    debug <general>: ------ Window Init (DialogBusy.xml) ------
2024-03-03 16:43:17.815 T:1428     info <general>: AddOnLog: pvr.mediaportal.tvserver: Channel timeshift buffer: T:\\live7-0.ts.tsbuffer
2024-03-03 16:43:17.815 T:1428     info <general>: AddOnLog: pvr.mediaportal.tvserver: Creating a new TsReader...
2024-03-03 16:43:17.815 T:1428    debug <general>: AddOnLog: pvr.mediaportal.tvserver: PatParser:Reset()
2024-03-03 16:43:17.815 T:1428     info <general>: AddOnLog: pvr.mediaportal.tvserver: TsReader open 'T:\\live7-0.ts.tsbuffer'
2024-03-03 16:43:17.815 T:1428     info <general>: AddOnLog: pvr.mediaportal.tvserver: Cannot access 'T:\\live7-0.ts.tsbuffer' directly. Assuming multiseat mode. Need to translate to UNC filename.
2024-03-03 16:43:17.816 T:1428     info <general>: AddOnLog: pvr.mediaportal.tvserver: Translate path T:\\live7-0.ts.tsbuffer -> smb://kodi:30061961@SERVER/RamDisk/live7-0.ts.tsbuffer
2024-03-03 16:43:17.819 T:1428     info <general>: AddOnLog: pvr.mediaportal.tvserver: FileReader::OpenFile() smb://kodi:30061961@SERVER/RamDisk/live7-0.ts.tsbuffer.
2024-03-03 16:43:17.841 T:1428    debug <general>: AddOnLog: pvr.mediaportal.tvserver: MPTV::FileReader::OpenFile: OpenFile(smb://kodi:30061961@SERVER/RamDisk/live7-0.ts.tsbuffer) succeeded.
2024-03-03 16:43:17.841 T:1428    debug <general>: AddOnLog: pvr.mediaportal.tvserver: MultiFileReader: buffer file opened return code 0.
2024-03-03 16:43:17.869 T:1428     info <general>: AddOnLog: pvr.mediaportal.tvserver: FileReader::OpenFile() smb://kodi:30061961@SERVER/RamDisk/live7-0.ts.tsbuffer1.ts.
2024-03-03 16:43:17.880 T:1428    debug <general>: AddOnLog: pvr.mediaportal.tvserver: MPTV::FileReader::OpenFile: OpenFile(smb://kodi:30061961@SERVER/RamDisk/live7-0.ts.tsbuffer1.ts) succeeded.
2024-03-03 16:43:17.880 T:1428    debug <general>: AddOnLog: pvr.mediaportal.tvserver: PatParser: new pat table -1->1
2024-03-03 16:43:17.880 T:1428    debug <general>: AddOnLog: pvr.mediaportal.tvserver: PatParser:  add pmt# 1 pid: 20
2024-03-03 16:43:17.880 T:1428    debug <general>: AddOnLog: pvr.mediaportal.tvserver: got pmt:20 service id:89
2024-03-03 16:43:17.880 T:1428    debug <general>: AddOnLog: pvr.mediaportal.tvserver: pmt: pid:30 type:1b
2024-03-03 16:43:17.880 T:1428    debug <general>: AddOnLog: pvr.mediaportal.tvserver: pmt: pid:40 type:3
2024-03-03 16:43:17.880 T:1428    debug <general>: AddOnLog: pvr.mediaportal.tvserver: pmt: pid:41 type:6
2024-03-03 16:43:17.880 T:1428    debug <general>: AddOnLog: pvr.mediaportal.tvserver: pmt: pid:42 type:3
2024-03-03 16:43:17.880 T:1428    debug <general>: AddOnLog: pvr.mediaportal.tvserver: pmt: pid:43 type:3
2024-03-03 16:43:17.880 T:1428    debug <general>: AddOnLog: pvr.mediaportal.tvserver: pmt: pid:6c type:6
2024-03-03 16:43:17.880 T:1428    debug <general>: AddOnLog: pvr.mediaportal.tvserver: Descriptor length 15, N= 3
2024-03-03 16:43:17.880 T:1428    debug <general>: AddOnLog: pvr.mediaportal.tvserver: Teletext SI: Page 100 Type 1
2024-03-03 16:43:17.880 T:1428    debug <general>: AddOnLog: pvr.mediaportal.tvserver: TODO: Teletext subtitles in PMT: PID 108, mag 7, page 777
2024-03-03 16:43:17.880 T:1428    debug <general>: AddOnLog: pvr.mediaportal.tvserver: TODO: Teletext subtitles in PMT: PID 108, mag 7, page 778
2024-03-03 16:43:17.880 T:1428    debug <general>: AddOnLog: pvr.mediaportal.tvserver: pmt: pid:30 type:1b
2024-03-03 16:43:17.880 T:1428    debug <general>: AddOnLog: pvr.mediaportal.tvserver: pmt: pid:40 type:3
2024-03-03 16:43:17.880 T:1428    debug <general>: AddOnLog: pvr.mediaportal.tvserver: pmt: pid:41 type:6
2024-03-03 16:43:17.880 T:1428    debug <general>: AddOnLog: pvr.mediaportal.tvserver: pmt: pid:42 type:3
2024-03-03 16:43:17.880 T:1428    debug <general>: AddOnLog: pvr.mediaportal.tvserver: pmt: pid:43 type:3
2024-03-03 16:43:17.880 T:1428    debug <general>: AddOnLog: pvr.mediaportal.tvserver: pmt: pid:6c type:6
2024-03-03 16:43:17.880 T:1428    debug <general>: AddOnLog: pvr.mediaportal.tvserver: Descriptor length 15, N= 3
2024-03-03 16:43:17.880 T:1428    debug <general>: AddOnLog: pvr.mediaportal.tvserver: Teletext SI: Page 100 Type 1
2024-03-03 16:43:17.880 T:1428    debug <general>: AddOnLog: pvr.mediaportal.tvserver: TODO: Teletext subtitles in PMT: PID 108, mag 7, page 777
2024-03-03 16:43:17.880 T:1428    debug <general>: AddOnLog: pvr.mediaportal.tvserver: TODO: Teletext subtitles in PMT: PID 108, mag 7, page 778
2024-03-03 16:43:17.880 T:1428    debug <general>: AddOnLog: pvr.mediaportal.tvserver: pmt: pid:30 type:1b
2024-03-03 16:43:17.881 T:1428    debug <general>: AddOnLog: pvr.mediaportal.tvserver: pmt: pid:40 type:3
2024-03-03 16:43:17.881 T:1428    debug <general>: AddOnLog: pvr.mediaportal.tvserver: pmt: pid:41 type:6
2024-03-03 16:43:17.881 T:1428    debug <general>: AddOnLog: pvr.mediaportal.tvserver: pmt: pid:42 type:3
2024-03-03 16:43:17.881 T:1428    debug <general>: AddOnLog: pvr.mediaportal.tvserver: pmt: pid:43 type:3
2024-03-03 16:43:17.881 T:1428    debug <general>: AddOnLog: pvr.mediaportal.tvserver: pmt: pid:6c type:6
2024-03-03 16:43:17.881 T:1428    debug <general>: AddOnLog: pvr.mediaportal.tvserver: Descriptor length 15, N= 3
2024-03-03 16:43:17.881 T:1428    debug <general>: AddOnLog: pvr.mediaportal.tvserver: Teletext SI: Page 100 Type 1
2024-03-03 16:43:17.881 T:1428    debug <general>: AddOnLog: pvr.mediaportal.tvserver: TODO: Teletext subtitles in PMT: PID 108, mag 7, page 777
2024-03-03 16:43:17.881 T:1428    debug <general>: AddOnLog: pvr.mediaportal.tvserver: TODO: Teletext subtitles in PMT: PID 108, mag 7, page 778
2024-03-03 16:43:17.881 T:1428     info <general>: AddOnLog: pvr.mediaportal.tvserver: OpenLiveStream: success for channel id 327 (Rai 1 HD) on card 7
2024-03-03 16:43:17.881 T:1428    debug <general>: CInputStreamPVRChannel - CInputStreamPVRChannel::OpenPVRStream - opened channel stream pvr://channels/tv/Tutti%20i%20canali@-1/[email protected]_327.pvr
2024-03-03 16:43:17.881 T:1428     info <general>: Creating Demuxer
2024-03-03 16:43:17.882 T:1428    debug <general>: CDVDDemuxFFmpeg::AddStream ID: 0
2024-03-03 16:43:17.882 T:1428    debug <general>: CDVDDemuxFFmpeg::AddStream ID: 1
2024-03-03 16:43:17.882 T:1428    debug <general>: CDVDDemuxFFmpeg::AddStream ID: 2
2024-03-03 16:43:17.882 T:1428    debug <general>: CDVDDemuxFFmpeg::AddStream ID: 3
2024-03-03 16:43:17.882 T:1428    debug <general>: CDVDDemuxFFmpeg::AddStream ID: 4
2024-03-03 16:43:17.882 T:1428    debug <general>: CDVDDemuxFFmpeg::AddStream ID: 5
2024-03-03 16:43:17.883 T:1428     info <general>: Opening stream: 0 source: 256
2024-03-03 16:43:17.883 T:1428    error <general>: CVideoPlayerVideo::OpenStream: Codec id 27 require extradata.
2024-03-03 16:43:17.883 T:1428  warning <general>: CVideoPlayer::OpenStream - Unsupported stream 0. Stream disabled.
2024-03-03 16:43:17.883 T:1428     info <general>: Opening stream: 1 source: 256
2024-03-03 16:43:17.883 T:1428     info <general>: Finding audio codec for: 86017
2024-03-03 16:43:17.888 T:1428     info <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder mp3float
2024-03-03 16:43:17.888 T:1428     info <general>: CVideoPlayerAudio::OpenStream: Allowing max Out-Of-Sync Value of 10 ms
2024-03-03 16:43:17.888 T:1428     info <general>: Creating audio thread
2024-03-03 16:43:17.888 T:10096   debug <general>: Thread VideoPlayerAudio start, auto delete: false
2024-03-03 16:43:17.888 T:10096    info <general>: running thread: CVideoPlayerAudio::Process()
2024-03-03 16:43:17.889 T:1428     info <general>: Opening stream: 5 source: 256
2024-03-03 16:43:17.889 T:1428    debug <general>: CDVDOverlayCodecFFmpeg::Open - Unable to find codec 94215
2024-03-03 16:43:17.889 T:1428    error <general>: CVideoPlayerSubtitle::OpenStream - Unable to init overlay codec
2024-03-03 16:43:17.889 T:1428  warning <general>: CVideoPlayer::OpenStream - Unsupported stream 5. Stream disabled.
2024-03-03 16:43:17.889 T:1428    debug <general>: CVideoPlayer::SetCaching - caching state 2
2024-03-03 16:43:17.889 T:1428    debug <general>: CDVDClock::SetSpeedAdjust - adjusted:0.000000
2024-03-03 16:43:17.889 T:1428    debug <general>: CDVDClock::SetSpeedAdjust - adjusted:-0.050000
2024-03-03 16:43:17.889 T:1980    debug <general>: CApplicationPlayerCallback::OnAVChange: CApplication::OnAVChange
2024-03-03 16:43:17.889 T:1428     info <general>: CDVDDemuxFFmpeg::Read() stream change
2024-03-03 16:43:17.889 T:1428     info <general>: ffmpeg[0x2ab1cd53980]: Input #0, mpegts, from 'pvr://channels/tv/Tutti%20i%20canali@-1/[email protected]_327.pvr':
2024-03-03 16:43:17.889 T:1428     info <general>: ffmpeg[0x2ab1cd53980]:   Duration: N/A, bitrate: N/A
2024-03-03 16:43:17.889 T:1428     info <general>: ffmpeg[0x2ab1cd53980]:   Program 137 
2024-03-03 16:43:17.889 T:1428     info <general>: ffmpeg[0x2ab1cd53980]:   Stream #0:0[0x30]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbn
2024-03-03 16:43:17.889 T:1428     info <general>: ffmpeg[0x2ab1cd53980]:   Stream #0:1[0x40](ita): Audio: mp3 ([3][0][0][0] / 0x0003), 0 channels
2024-03-03 16:43:17.889 T:1428     info <general>: ffmpeg[0x2ab1cd53980]:   Stream #0:2[0x41](oth): Audio: ac3 ([6][0][0][0] / 0x0006), 0 channels
2024-03-03 16:43:17.889 T:1428     info <general>: ffmpeg[0x2ab1cd53980]:   Stream #0:3[0x42](eng): Audio: mp3 ([3][0][0][0] / 0x0003), 0 channels
2024-03-03 16:43:17.889 T:1428     info <general>: ffmpeg[0x2ab1cd53980]:   Stream #0:4[0x43](oth): Audio: mp3 ([3][0][0][0] / 0x0003), 0 channels
2024-03-03 16:43:17.889 T:1428     info <general>: ffmpeg[0x2ab1cd53980]:   Stream #0:5[0x6c](ita,ita,eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
2024-03-03 16:43:17.889 T:1428    debug <general>: CDVDDemuxFFmpeg::AddStream ID: 0
2024-03-03 16:43:17.889 T:1428    debug <general>: CDVDDemuxFFmpeg::AddStream ID: 1
2024-03-03 16:43:17.889 T:1428    debug <general>: CDVDDemuxFFmpeg::AddStream ID: 2
2024-03-03 16:43:17.890 T:1428    debug <general>: CDVDDemuxFFmpeg::AddStream ID: 3
2024-03-03 16:43:17.890 T:1428    debug <general>: CDVDDemuxFFmpeg::AddStream ID: 4
2024-03-03 16:43:17.890 T:1428    debug <general>: CDVDDemuxFFmpeg::AddStream ID: 5
2024-03-03 16:43:17.890 T:1428     info <general>: Opening stream: 0 source: 256
2024-03-03 16:43:17.890 T:1428    error <general>: CVideoPlayerVideo::OpenStream: Codec id 27 require extradata.
2024-03-03 16:43:17.890 T:1428  warning <general>: CVideoPlayer::OpenStream - Unsupported stream 0. Stream disabled.
2024-03-03 16:43:17.890 T:1428     info <general>: Opening stream: 1 source: 256
2024-03-03 16:43:17.890 T:1428     info <general>: Opening stream: 5 source: 256
2024-03-03 16:43:17.890 T:1428    debug <general>: CDVDOverlayCodecFFmpeg::Open - Unable to find codec 94215
2024-03-03 16:43:17.890 T:1428    error <general>: CVideoPlayerSubtitle::OpenStream - Unable to init overlay codec
2024-03-03 16:43:17.890 T:1428  warning <general>: CVideoPlayer::OpenStream - Unsupported stream 5. Stream disabled.
2024-03-03 16:43:17.899 T:10096   debug <general>: CVideoPlayerAudio - CDVDMsg::GENERAL_PAUSE: false
2024-03-03 16:43:17.899 T:10096   debug <general>: CDVDAudio::Pause - pausing audio stream
2024-03-03 16:43:20.124 T:1428     info <general>: AddOnLog: pvr.mediaportal.tvserver: Kodi requested 32768 bytes, but the TSReader got only 7464 bytes in 2 seconds
2024-03-03 16:43:20.125 T:1428    error <general>: ffmpeg[0x2ab1cd53980]: [NULL] non-existing PPS 0 referenced
2024-03-03 16:43:20.125 T:1428    debug <general>: CVideoPlayer::HandleMessages - player 1 reported state: 0
2024-03-03 16:43:22.354 T:1428     info <general>: Skipped 1 duplicate messages..
2024-03-03 16:43:22.354 T:1428     info <general>: AddOnLog: pvr.mediaportal.tvserver: Kodi requested 32768 bytes, but the TSReader got only 0 bytes in 2 seconds
2024-03-03 16:43:24.585 T:1428     info <general>: Skipped 1 duplicate messages..
2024-03-03 16:43:24.585 T:1428    error <general>: ffmpeg[0x2ab1cd53980]: [NULL] non-existing PPS 0 referenced
2024-03-03 16:43:26.811 T:1428     info <general>: AddOnLog: pvr.mediaportal.tvserver: Kodi requested 32768 bytes, but the TSReader got only 0 bytes in 2 seconds
2024-03-03 16:43:29.043 T:1428     info <general>: Skipped 1 duplicate messages..
2024-03-03 16:43:29.043 T:1428    debug <general>: ffmpeg[0x2ab1cd53980]: [mpegts] PES packet size mismatch
2024-03-03 16:43:29.043 T:1428    debug <general>: ffmpeg[0x2ab1cd53980]: [mpegts] Packet corrupt (stream = 2, dts = 6144).
2024-03-03 16:43:29.043 T:1428     info <general>: CDVDDemuxFFmpeg::Read() stream change
2024-03-03 16:43:29.044 T:1428     info <general>: ffmpeg[0x2ab1cd53980]: Input #0, mpegts, from 'pvr://channels/tv/Tutti%20i%20canali@-1/[email protected]_327.pvr':
2024-03-03 16:43:29.044 T:1428     info <general>: ffmpeg[0x2ab1cd53980]:   Duration: N/A, bitrate: N/A
2024-03-03 16:43:29.044 T:1428     info <general>: ffmpeg[0x2ab1cd53980]:   Program 137 
2024-03-03 16:43:29.044 T:1428     info <general>: ffmpeg[0x2ab1cd53980]:   Stream #0:0[0x30]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbn
2024-03-03 16:43:29.044 T:1428     info <general>: ffmpeg[0x2ab1cd53980]:   Stream #0:1[0x40](ita): Audio: mp3 ([3][0][0][0] / 0x0003), 0 channels
2024-03-03 16:43:29.045 T:1428     info <general>: ffmpeg[0x2ab1cd53980]:   Stream #0:2[0x41](oth): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, 384 kb/s
2024-03-03 16:43:29.045 T:1428     info <general>: ffmpeg[0x2ab1cd53980]:   Stream #0:3[0x42](eng): Audio: mp3 ([3][0][0][0] / 0x0003), 0 channels
2024-03-03 16:43:29.045 T:1428     info <general>: ffmpeg[0x2ab1cd53980]:   Stream #0:4[0x43](oth): Audio: mp3 ([3][0][0][0] / 0x0003), 0 channels
2024-03-03 16:43:29.045 T:1428     info <general>: ffmpeg[0x2ab1cd53980]:   Stream #0:5[0x6c](ita,ita,eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
2024-03-03 16:43:29.045 T:1428    debug <general>: CDVDDemuxFFmpeg::AddStream ID: 0
2024-03-03 16:43:29.045 T:1428    debug <general>: CDVDDemuxFFmpeg::AddStream ID: 1
2024-03-03 16:43:29.045 T:1428    debug <general>: CDVDDemuxFFmpeg::AddStream ID: 2
2024-03-03 16:43:29.045 T:1428    debug <general>: CDVDDemuxFFmpeg::AddStream ID: 3
2024-03-03 16:43:29.045 T:1428    debug <general>: CDVDDemuxFFmpeg::AddStream ID: 4
2024-03-03 16:43:29.045 T:1428    debug <general>: CDVDDemuxFFmpeg::AddStream ID: 5
2024-03-03 16:43:29.046 T:1428     info <general>: Opening stream: 0 source: 256
2024-03-03 16:43:29.046 T:1428    error <general>: CVideoPlayerVideo::OpenStream: Codec id 27 require extradata.
2024-03-03 16:43:29.046 T:1428  warning <general>: CVideoPlayer::OpenStream - Unsupported stream 0. Stream disabled.
2024-03-03 16:43:29.046 T:1428     info <general>: Opening stream: 1 source: 256
2024-03-03 16:43:29.046 T:1428     info <general>: Opening stream: 5 source: 256
2024-03-03 16:43:29.046 T:1428    debug <general>: CDVDOverlayCodecFFmpeg::Open - Unable to find codec 94215
2024-03-03 16:43:29.046 T:1428    error <general>: CVideoPlayerSubtitle::OpenStream - Unable to init overlay codec
2024-03-03 16:43:29.046 T:1428  warning <general>: CVideoPlayer::OpenStream - Unsupported stream 5. Stream disabled.
2024-03-03 16:43:31.276 T:1428     info <general>: AddOnLog: pvr.mediaportal.tvserver: Kodi requested 32768 bytes, but the TSReader got only 0 bytes in 2 seconds
2024-03-03 16:43:33.508 T:1428     info <general>: Skipped 1 duplicate messages..
2024-03-03 16:43:33.508 T:1428    error <general>: ffmpeg[0x2ab1cd53980]: [NULL] non-existing PPS 0 referenced
2024-03-03 16:43:33.508 T:1428    debug <general>: CVideoPlayer::HandleMessages - player 1 reported state: 0
2024-03-03 16:43:35.288 T:8420     info <general>: PVR Manager: Starting cleanup of cached images.
2024-03-03 16:43:35.730 T:1428     info <general>: AddOnLog: pvr.mediaportal.tvserver: Kodi requested 32768 bytes, but the TSReader got only 0 bytes in 2 seconds
2024-03-03 16:43:37.295 T:8420     info <general>: PVR Manager: Cleaned up 0 cached images.
2024-03-03 16:43:37.771 T:2008    debug <general>: XCURL::DllLibCurlGlobal::CheckIdle - Closing session to http://www.msftconnecttest.com (easy=0x2ab1d76eee0, multi=0x0)
2024-03-03 16:43:37.938 T:1428     info <general>: AddOnLog: pvr.mediaportal.tvserver: Kodi requested 32768 bytes, but the TSReader got only 0 bytes in 2 seconds
2024-03-03 16:43:37.938 T:1428     info <general>: VideoPlayer: next stream, wait for old streams to be finished
2024-03-03 16:43:37.939 T:1428     info <general>: Closing stream player 1
2024-03-03 16:43:37.939 T:1428     info <general>: Waiting for audio thread to exit
2024-03-03 16:43:37.943 T:10096    info <general>: thread end: CVideoPlayerAudio::OnExit()
2024-03-03 16:43:37.943 T:10096   debug <general>: Thread VideoPlayerAudio 10096 terminating
2024-03-03 16:43:37.943 T:1428     info <general>: Closing audio device
2024-03-03 16:43:37.943 T:1428     info <general>: Deleting audio codec
2024-03-03 16:43:37.943 T:1428     info <general>: CVideoPlayer::OnExit()
2024-03-03 16:43:37.943 T:1428     info <general>: VideoPlayer: eof, waiting for queues to empty
2024-03-03 16:43:37.943 T:1428     info <general>: AddOnLog: pvr.mediaportal.tvserver: TsReader: closing file
2024-03-03 16:43:37.950 T:2008    debug <general>: CRenderManager::Flush - flushing renderer
2024-03-03 16:43:38.449 T:1428     info <general>: AddOnLog: pvr.mediaportal.tvserver: CloseLiveStream: True
2024-03-03 16:43:38.449 T:1428    debug <general>: CInputStreamPVRChannel - CInputStreamPVRChannel::ClosePVRStream - closed channel stream pvr://channels/tv/Tutti%20i%20canali@-1/[email protected]_327.pvr
2024-03-03 16:43:38.449 T:1428    debug <general>: Thread VideoPlayer 1428 terminating
2024-03-03 16:43:38.449 T:2876    debug <general>: CApplicationPlayerCallback::OnPlayBackEnded: CApplicationPlayerCallback::OnPlayBackEnded
2024-03-03 16:43:38.470 T:2008     info <general>: CVideoPlayer::CloseFile()
2024-03-03 16:43:38.471 T:2008    debug <general>: CRenderManager::DeleteRenderer - deleting renderer
2024-03-03 16:43:38.471 T:2008     info <general>: VideoPlayer: waiting for threads to exit
2024-03-03 16:43:38.471 T:2008     info <general>: VideoPlayer: finished waiting
2024-03-03 16:43:38.471 T:2008     info <general>: CVideoPlayer::CloseFile()
2024-03-03 16:43:38.471 T:2008     info <general>: VideoPlayer: waiting for threads to exit
2024-03-03 16:43:38.471 T:2008     info <general>: VideoPlayer: finished waiting

@phunkyfish
Copy link
Member

I’m not an expert in this addon but it looks like kodi is requesting data from the reader and it’s not arriving.

Hopefully the maintainer can take a look.

@ksooo
Copy link
Member

ksooo commented Apr 9, 2024

Problem number 1 is that there should be a version 21.0.0 of this add-on available on the mirrors, which is not the case , because the Windows build of the add-on fails. I think we need to save this problem first.

@ksooo
Copy link
Member

ksooo commented Apr 9, 2024

2024-03-03 16:43:03.162 T:2008 info : CAddonMgr::ADDON::CAddonMgr::FindAddons: pvr.mediaportal.tvserver v20.3.0 installed

should read v21.0.0 installed

@ksooo
Copy link
Member

ksooo commented Apr 9, 2024

Windows build fails with:

C:\jenkins-workspace\workspace\binary-addons\kodi-windows-x86_64-Omega\tools\depends\target\binary-addons\pvr.mediaportal.tvserver\src\lib\live555\BasicUsageEnvironment\BasicUsageEnvironment0.cpp : fatal error C1083: Cannot open compiler generated file: '': Invalid argument
NMAKE : fatal error U1077: '"C:\Program Files\CMake\bin\cmake.exe"' : return code '0x1'

Interestingly, only the 64 bit build fails, not 32 bit.

@AlwinEsch any ideas what causes the build error?

@phunkyfish
Copy link
Member

phunkyfish commented Apr 9, 2024

This is a path length problem that has been ongoing to this addon. One of the old builders had this problem. I don’t know if this has been addressed on the new windows VMs.

Let me try to dig up the os fix, but if I recall it cause the path length of the file is over 260 bytes.

likely the problem there is that something changed in Kodi core that affects the addon API and that’s why the old build from Nexus no longer works in Omega.

@phunkyfish
Copy link
Member

phunkyfish commented Apr 9, 2024

One fix:

Location of key:
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem

Key Value:
LongPathsEnabled

Change 0 to 1 and reboot

can also be set via groups policy: https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=registry

@lrusak or @fuzzard either of you know is this has been down of the new windows build VMs?

@MarcoViti
Copy link
Author

Hi Phunkyfish, I tried to apply the change to the Windows registry as you explained in your previous post. Unfortunately, however, this attempt doesn't work either. I attach the final Kodi Omega 21 log file with the Mediaportal plugin installed and the log. of errors that occur "after" changing the Windows system file.

https://paste.kodi.tv/pekuferuge.kodi

@MarcoViti
Copy link
Author

I don't know if it can help but I can assure you that from this version onwards the problem certainly occurs:
https://mirrors. kodi.tv/nightlies/windows/win64/master/KodiSetup-20240126-b104e068-master-x64.exe
I couldn't find files older than this to trace back to when the problem started, so the circle narrows from the release of Beta 2 up to this file here.

@phunkyfish
Copy link
Member

phunkyfish commented Apr 9, 2024

Hi Phunkyfish, I tried to apply the change to the Windows registry as you explained in your previous post. Unfortunately, however, this attempt doesn't work either. I attach the final Kodi Omega 21 log file with the Mediaportal plugin installed and the log. of errors that occur "after" changing the Windows system file.

https://paste.kodi.tv/pekuferuge.kodi

Sorry, the change is for the Jenkins builders, that we use to build the addon. It won’t have any effect on your runtime OS. I didn’t make that clear.

@MarcoViti
Copy link
Author

Don't worry it's not a problem

@ksooo
Copy link
Member

ksooo commented Apr 12, 2024

Version 21.0.0 for win32 and win64 is now available at the official add-on repository. Can you guys please update and report whether the problem still persists with that version?

@MarcoViti
Copy link
Author

Hi Ksooo, unfortunately this version of the pvr.mediaportal.tvserver addon doesn't solve the problem, I've attached the .log file

https://paste.kodi.tv/fuqulowaja.kodi

@ksooo
Copy link
Member

ksooo commented Apr 12, 2024

Okay, it was worth a try. Then we need to continue the investigation.

@MarcoViti
Copy link
Author

As already said, I tested from version "20240126-b104e068-master-x64.exe" onwards, between the release of Omega Beta 2 and this version I was unable to test because the builds were not present in the nightly versions archive

@MarcoViti
Copy link
Author

Thanks for yous help

@phunkyfish
Copy link
Member

That’s likely a few hundreds commits to look at to see if we can find the offending one.

@ksooo
Copy link
Member

ksooo commented Apr 12, 2024

@phunkyfish I guess ffmpeg6

@JCalvi
Copy link

JCalvi commented Apr 12, 2024

Won’t take too long if we bisect the builds between beta 2 and 20240126-b104e068-master-x64.exe, at the halfway points each time.

ffmpeg6 was added in April 2023, 6.01 in November 2023, and beta 2 is December 20th 2023, so we only have December 20 to Jan 26 to check through.

@phunkyfish
Copy link
Member

It can’t be ffmpeg 6, that’s been there a long time.

We’ll need to use Jenkins to create the builds. @JCalvi, if you co-ordinate the commits we build I can generate them.

sound like a plan?

@MarcoViti
Copy link
Author

Be careful because Omega Beta 2 I downloaded it on December 11th, not December 20th, Look at the attached image

kodi

@MarcoViti
Copy link
Author

small suggestion, wouldn't it be a good idea to try to compile a build from the first days of January 2024?.. I volunteer to test it and see if it works with the Mediaportal pvr addon, if so we'll go further, this way we'll do it first to narrow the field

@ksooo
Copy link
Member

ksooo commented Apr 13, 2024

It can’t be ffmpeg 6, that’s been there a long time.

Maybe something changed wrt caching data? Just guessing...

Can we see this kind of log entries for Nexus, @MarcoViti ?

2024-04-12 15:09:55.715 T:9164     info <general>: AddOnLog: pvr.mediaportal.tvserver: Kodi requested 32768 bytes, but the TSReader got only 22936 bytes in 2 seconds
...
2024-04-12 15:09:57.951 T:9164     info <general>: AddOnLog: pvr.mediaportal.tvserver: Kodi requested 32768 bytes, but the TSReader got only 0 bytes in 2 seconds

Or is this in Nexus logs?

2024-04-12 15:09:55.736 T:9164  warning <general>: CVideoPlayer::OpenStream - Unsupported stream 0. Stream disabled.

Stream 0 is the video stream! No video stream, no playback.

@ksooo
Copy link
Member

ksooo commented Apr 13, 2024

@phunkyfish the suspicious TSReader is using kodi::vfs::CFile ! We changed several things here for Omega. Maybe going down this road helps...

@phunkyfish
Copy link
Member

Yes, I was thinking the same. Just need to find those commits and test before/after.

@JCalvi
Copy link

JCalvi commented Apr 13, 2024

It can’t be ffmpeg 6, that’s been there a long time.

We’ll need to use Jenkins to create the builds. @JCalvi, if you co-ordinate the commits we build I can generate them.

sound like a plan?

No problem, can do.

@JCalvi
Copy link

JCalvi commented Apr 13, 2024

Be careful because Omega Beta 2 I downloaded it on December 11th, not December 20th, Look at the attached image

kodi

Dec 10th now that I check. I just looked at the release announcement news date that was on the 20th.
Still only 6 weeks to sift through, Jan 3 is about 1/2 way.

@ksooo
Copy link
Member

ksooo commented Apr 13, 2024

@MarcoViti
Copy link
Author

MarcoViti commented Apr 13, 2024

@ksooo File .log di kodi versione Nexus 20.5 x64
I forgot.. so I have vision

https://paste.kodi.tv/oronulufik.kodi

@JCalvi
Copy link

JCalvi commented Apr 23, 2024

No problem Marco, good luck with NextPVR.

@JCalvi
Copy link

JCalvi commented Apr 30, 2024

@phunkyfish and @thexai, All working for me (with Media Portal 2.5 TVE3 & Kodi 21) so as far as i am concerned you can close this issue as fixed. You can pick either of the fixed versions as final as they both worked.
I am not sure we will have anyone who will test MediaPortal V1 and no one is upgrading the plugin.dll for it anymore either.
I can update the MP2 plugin (and have) and prefer MP2 vs MP1 TV server as I don't want to install MySQL just for TVPVR in Kodi.

@alwaysdub
Copy link

@phunkyfish
Copy link
Member

I can confirm that @phunkyfish version https://jenkins.kodi.tv/job/kodi-pvr/job/pvr.mediaportal.tvserver/job/PR-206/1/artifact/cmake/addons/build/zips/pvr.mediaportal.tvserver+windows-x86_64/pvr.mediaportal.tvserver-21.0.2.zip above is working for me on MP 1.32 and Kodi 21, thanks

Ok, then that’s a confirmation that the fix in the addon works for MediaPortal 1.

@thexai in this case I say we merge the addon fix and say this is done. You ok with that?

@phunkyfish
Copy link
Member

Closed by #206

@TechReefer
Copy link

Thanks to all for the work to fix this issue. Have been following this as I have had this problem with live tv on Android (Nvidia Shield) as soon as it updated from Kodi 20.5 to 21. Tested on the local (to MP TV Server) Windows installation and found the same issue (kodi requested bytes v tsreader received bytes mismatch in log) . On the local Windows installation this is now fixed as others have said, but on both remote Windows and Android clients I still get this problem.
Versions on both Windows and Android:
Kodi 21
MP TV Server 1.25
Add-on 21.02
If I roll back both remote Windows and Android to Kodi 20.5 live tv is fine again (as I found prior to the fix) .

@phunkyfish
Copy link
Member

@TechReefer are you able to try with MP2?

@TechReefer
Copy link

First tried updating MP1 TV server to 1.33 as I thought moving to MP2 might be painful (it was) but still got same issue. Several trip ups later am now on MP2 (2.5 with TVE3 and the updated MP2 plugin) but still have same issue. Throughout this recorded tv has always played ok on the various versions (guess must be something different about live tv). Still looks like same symptom to me but in case it helps here's an extract from remote Windows client (same symptoms on Android) where I tried to play one channel (which works on Kodi 20.5 or MP client).

2024-05-16 16:33:05.389 T:13112 info : Starting Kodi (21.0 (21.0.0) Git:20240406-60c4500054). Platform: Windows NT x86 64-bit
2024-05-16 16:33:06.794 T:2736 info : AddOnLog: pvr.mediaportal.tvserver: Mediaportal pvr addon MPTV_VERSION connecting to 1.2.3.4:9596
2024-05-16 16:33:06.795 T:2736 error : GetAddonNameStringProperties: Add-on 1335748142 returned an error: server error
2024-05-16 16:33:06.795 T:2736 error : PVR::CPVRClient::SetConnectionState: Cannot read PVR client name string properties
2024-05-16 16:33:06.801 T:2736 info : AddOnLog: pvr.mediaportal.tvserver: Connected to 1.2.3.4:9596
2024-05-16 16:33:06.805 T:13112 info : [WS-Discovery]: Daemon started successfully.
2024-05-16 16:33:06.824 T:2736 info : AddOnLog: pvr.mediaportal.tvserver: Your TVServerKodi version is '1.32.0.145'
2024-05-16 16:33:06.876 T:2736 info : PVR Manager: Starting
2024-05-16 16:33:07.976 T:13160 info : PVR Manager: Started
2024-05-16 16:33:25.930 T:13544 info : Creating InputStream
2024-05-16 16:33:25.931 T:13544 info : AddOnLog: pvr.mediaportal.tvserver: Open Live stream for channel uid=1030
2024-05-16 16:33:29.079 T:13544 info : AddOnLog: pvr.mediaportal.tvserver: Channel timeshift buffer: C:\rectv\live3-0.ts.tsbuffer
2024-05-16 16:33:29.079 T:13544 info : AddOnLog: pvr.mediaportal.tvserver: Creating a new TsReader...
2024-05-16 16:33:29.079 T:13544 info : AddOnLog: pvr.mediaportal.tvserver: TsReader open 'C:\rectv\live3-0.ts.tsbuffer'
2024-05-16 16:33:29.079 T:13544 info : AddOnLog: pvr.mediaportal.tvserver: Cannot access 'C:\rectv\live3-0.ts.tsbuffer' directly. Assuming multiseat mode. Need to translate to UNC filename.
2024-05-16 16:33:29.080 T:13544 info : AddOnLog: pvr.mediaportal.tvserver: Translate path C:\rectv\live3-0.ts.tsbuffer -> smb://user:pwd@server/rectv/live3-0.ts.tsbuffer
2024-05-16 16:33:29.085 T:13544 info : AddOnLog: pvr.mediaportal.tvserver: FileReader::OpenFile() smb://user:pwd@server/rectv/live3-0.ts.tsbuffer.
2024-05-16 16:33:29.194 T:13544 info : Skipped 1 duplicate messages..
2024-05-16 16:33:29.194 T:13544 info : AddOnLog: pvr.mediaportal.tvserver: FileReader::OpenFile() smb://user:pwd@server/rectv/live3-0.ts.tsbuffer1.ts.
2024-05-16 16:33:29.201 T:13544 info : AddOnLog: pvr.mediaportal.tvserver: OpenLiveStream: success for channel id 1030 (CNN HD) on card 3
2024-05-16 16:33:29.201 T:13544 info : Creating Demuxer
2024-05-16 16:33:29.206 T:13544 info : Opening stream: 0 source: 256
2024-05-16 16:33:29.206 T:13544 error : CVideoPlayerVideo::OpenStream: Codec id 27 require extradata.
2024-05-16 16:33:29.207 T:13544 warning : CVideoPlayer::OpenStream - Unsupported stream 0. Stream disabled.
2024-05-16 16:33:29.207 T:13544 info : Opening stream: 3 source: 256
2024-05-16 16:33:29.207 T:13544 info : Finding audio codec for: 86019
2024-05-16 16:33:29.209 T:13544 info : CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder ac3
2024-05-16 16:33:29.209 T:13544 info : CVideoPlayerAudio::OpenStream: Allowing max Out-Of-Sync Value of 10 ms
2024-05-16 16:33:29.209 T:13544 info : Creating audio thread
2024-05-16 16:33:29.210 T:8644 info : running thread: CVideoPlayerAudio::Process()
2024-05-16 16:33:29.210 T:13544 info : Opening stream: 2 source: 256
2024-05-16 16:33:29.210 T:13544 info : waiting for teletext data thread to exit
2024-05-16 16:33:29.211 T:13544 info : Creating teletext data thread
2024-05-16 16:33:29.211 T:9748 info : running thread: CDVDTeletextData
2024-05-16 16:33:29.212 T:13544 info : CDVDDemuxFFmpeg::Read() stream change
2024-05-16 16:33:29.213 T:13544 info : Opening stream: 0 source: 256
2024-05-16 16:33:29.213 T:13544 error : CVideoPlayerVideo::OpenStream: Codec id 27 require extradata.
2024-05-16 16:33:29.213 T:13544 warning : CVideoPlayer::OpenStream - Unsupported stream 0. Stream disabled.
2024-05-16 16:33:29.213 T:13544 info : Opening stream: 3 source: 256
2024-05-16 16:33:29.213 T:13544 info : Opening stream: 2 source: 256
2024-05-16 16:33:31.669 T:13544 info : AddOnLog: pvr.mediaportal.tvserver: Kodi requested 32768 bytes, but the TSReader got only 7464 bytes in 2 seconds
2024-05-16 16:33:34.116 T:13544 info : AddOnLog: pvr.mediaportal.tvserver: Kodi requested 32768 bytes, but the TSReader got only 0 bytes in 2 seconds
2024-05-16 16:33:38.802 T:13160 info : Skipped 1 duplicate messages..
2024-05-16 16:33:38.802 T:13160 info : PVR Manager: Starting cleanup of cached images.
2024-05-16 16:33:38.994 T:13544 info : AddOnLog: pvr.mediaportal.tvserver: Kodi requested 32768 bytes, but the TSReader got only 0 bytes in 2 seconds
2024-05-16 16:33:39.279 T:13160 info : PVR Manager: Cleaned up 0 cached images.
2024-05-16 16:33:41.485 T:13544 info : AddOnLog: pvr.mediaportal.tvserver: Kodi requested 32768 bytes, but the TSReader got only 0 bytes in 2 seconds
2024-05-16 16:33:46.447 T:13544 info : Skipped 2 duplicate messages..
2024-05-16 16:33:46.447 T:13544 info : VideoPlayer: next stream, wait for old streams to be finished
2024-05-16 16:33:46.447 T:13544 info : Closing stream player 1

@phunkyfish
Copy link
Member

@thexai the user above has the same issue on MP2 as on MP1. So there must be another reason why the stream fails. Any ideas?

@thexai
Copy link

thexai commented May 18, 2024

I'm not sure if in some cases this addon expects use FileCache (e.g. external network/internet source).

Probably the best way of keep behavior exact as before is use the new flag READ_NO_BUFFER but this is only available in Omega nightlies / v21.1. This disables StreamBuffer but allows use FileCache. Also the other flags (not present before) can be removed.

Then is worth try:

OpenFile(m_fileName, READ_NO_BUFFER)

in Omega nightly only. See xbmc/xbmc#25129

the new flag should be defined somewhere in the add-on:

static const unsigned int READ_NO_BUFFER = 0x200;

@thexai
Copy link

thexai commented May 18, 2024

Other thing to try is change SMB chunk size to 64K in Settings > Services > SMB Client

@phunkyfish
Copy link
Member

Re-opening to track resolution

@phunkyfish phunkyfish reopened this May 19, 2024
@phunkyfish
Copy link
Member

phunkyfish commented May 19, 2024

Thanks @thexai, we won't have that exposed in the add-on API yet, but I've defined the flag as you suggested in this PR so we can test it: #207.

@TechReefer can you grab the add-on build from here: https://jenkins.kodi.tv/blue/organizations/jenkins/kodi-pvr%2Fpvr.mediaportal.tvserver/detail/PR-207/6/artifacts and a recent Omega nightly from here (by recent I mean the last few days) and let us know how you get on?

@JCalvi can you also test this? Would make sense to check your setup continues to function.

Assuming it's all good we can release this fix once 21.1 comes out.

@TechReefer
Copy link

Unfortunately live tv still fails for me. With the latest nightly Kodi build (dated 18th May) and the add-on build linked above (21.0.3) :

2024-05-19 10:50:35.882 T:10192 info : Starting Kodi (21.0 (21.0.1) Git:20240516-86b0c771b9). Platform: Windows NT x86 64-bit
2024-05-19 10:50:37.394 T:13576 info : AddOnLog: pvr.mediaportal.tvserver: Mediaportal pvr addon MPTV_VERSION connecting to 1.2.3.4:9596
2024-05-19 10:50:37.394 T:13576 error : GetAddonNameStringProperties: Add-on 1335748142 returned an error: server error
2024-05-19 10:50:37.394 T:13576 error : PVR::CPVRClient::SetConnectionState: Cannot read PVR client name string properties
2024-05-19 10:50:37.407 T:13576 info : AddOnLog: pvr.mediaportal.tvserver: Connected to 1.2.3.4:9596
2024-05-19 10:50:37.413 T:13576 info : AddOnLog: pvr.mediaportal.tvserver: Your TVServerKodi version is '1.32.0.145'
2024-05-19 10:50:37.562 T:13576 info : PVR Manager: Starting
2024-05-19 10:50:38.669 T:1820 info : PVR Manager: Started
2024-05-19 10:50:50.553 T:14776 info : Creating InputStream
2024-05-19 10:50:50.554 T:14776 info : AddOnLog: pvr.mediaportal.tvserver: Open Live stream for channel uid=1030
2024-05-19 10:50:53.708 T:14776 info : AddOnLog: pvr.mediaportal.tvserver: Channel timeshift buffer: C:\rectv\live3-0.ts.tsbuffer
2024-05-19 10:50:53.708 T:14776 info : AddOnLog: pvr.mediaportal.tvserver: Creating a new TsReader...
2024-05-19 10:50:53.708 T:14776 info : AddOnLog: pvr.mediaportal.tvserver: TsReader open 'C:\rectv\live3-0.ts.tsbuffer'
2024-05-19 10:50:53.709 T:14776 info : AddOnLog: pvr.mediaportal.tvserver: Cannot access 'C:\rectv\live3-0.ts.tsbuffer' directly. Assuming multiseat mode. Need to translate to UNC filename.
2024-05-19 10:50:53.709 T:14776 info : AddOnLog: pvr.mediaportal.tvserver: Translate path C:\rectv\live3-0.ts.tsbuffer -> smb://user:pwd@server/rectv/live3-0.ts.tsbuffer
2024-05-19 10:50:53.715 T:14776 info : AddOnLog: pvr.mediaportal.tvserver: FileReader::OpenFile() smb://user:pwd@server/rectv/live3-0.ts.tsbuffer.
2024-05-19 10:50:53.825 T:14776 info : Skipped 1 duplicate messages..
2024-05-19 10:50:53.825 T:14776 info : AddOnLog: pvr.mediaportal.tvserver: FileReader::OpenFile() smb://user:pwd@server/rectv/live3-0.ts.tsbuffer1.ts.
2024-05-19 10:50:53.828 T:14776 info : AddOnLog: pvr.mediaportal.tvserver: OpenLiveStream: success for channel id 1030 (CNN HD) on card 3
2024-05-19 10:50:53.828 T:14776 info : Creating Demuxer
2024-05-19 10:50:53.829 T:14776 info : Opening stream: 0 source: 256
2024-05-19 10:50:53.829 T:14776 info : Creating video codec with codec id: 27
2024-05-19 10:50:53.830 T:14776 info : CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
2024-05-19 10:50:53.830 T:14776 info : Creating video thread
2024-05-19 10:50:53.831 T:16908 info : running thread: video_thread
2024-05-19 10:50:53.831 T:14776 info : Opening stream: 3 source: 256
2024-05-19 10:50:53.832 T:14776 info : Finding audio codec for: 86019
2024-05-19 10:50:53.833 T:14776 info : CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder ac3
2024-05-19 10:50:53.833 T:14776 info : CVideoPlayerAudio::OpenStream: Allowing max Out-Of-Sync Value of 10 ms
2024-05-19 10:50:53.833 T:14776 info : Creating audio thread
2024-05-19 10:50:53.833 T:14560 info : running thread: CVideoPlayerAudio::Process()
2024-05-19 10:50:53.833 T:14776 info : Opening stream: 2 source: 256
2024-05-19 10:50:53.834 T:14776 info : waiting for teletext data thread to exit
2024-05-19 10:50:53.837 T:14776 info : Creating teletext data thread
2024-05-19 10:50:53.838 T:11140 info : running thread: CDVDTeletextData
2024-05-19 10:50:53.839 T:14776 info : CDVDDemuxFFmpeg::Read() stream change
2024-05-19 10:50:53.840 T:14776 info : Opening stream: 0 source: 256
2024-05-19 10:50:53.840 T:14776 info : Opening stream: 3 source: 256
2024-05-19 10:50:53.840 T:14776 info : Opening stream: 2 source: 256
2024-05-19 10:50:56.376 T:14776 info : AddOnLog: pvr.mediaportal.tvserver: Kodi requested 32768 bytes, but the TSReader got only 32280 bytes in 2 seconds
2024-05-19 10:50:58.963 T:14776 info : AddOnLog: pvr.mediaportal.tvserver: Kodi requested 32768 bytes, but the TSReader got only 0 bytes in 2 seconds
2024-05-19 10:51:06.356 T:14776 info : Skipped 3 duplicate messages..
2024-05-19 10:51:06.356 T:14776 info : CDVDDemuxFFmpeg::Read() stream change
2024-05-19 10:51:06.357 T:14776 info : Opening stream: 0 source: 256
2024-05-19 10:51:06.357 T:14776 info : Opening stream: 1 source: 256
2024-05-19 10:51:06.357 T:14776 info : Finding audio codec for: 86016
2024-05-19 10:51:06.363 T:14776 info : CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder mp2
2024-05-19 10:51:06.363 T:14776 info : Opening stream: 2 source: 256
2024-05-19 10:51:08.844 T:14776 info : AddOnLog: pvr.mediaportal.tvserver: Kodi requested 32768 bytes, but the TSReader got only 0 bytes in 2 seconds
2024-05-19 10:51:09.573 T:1820 info : PVR Manager: Starting cleanup of cached images.
2024-05-19 10:51:10.051 T:1820 info : PVR Manager: Cleaned up 0 cached images.
2024-05-19 10:51:11.311 T:14776 info : AddOnLog: pvr.mediaportal.tvserver: Kodi requested 32768 bytes, but the TSReader got only 0 bytes in 2 seconds
2024-05-19 10:51:16.199 T:14776 info : Skipped 2 duplicate messages..
2024-05-19 10:51:16.198 T:14776 info : VideoPlayer: next stream, wait for old streams to be finished
2024-05-19 10:51:16.199 T:14776 info : Closing stream player 1
2024-05-19 10:51:16.199 T:14776 info : Waiting for audio thread to exit
2024-05-19 10:51:16.209 T:14560 info : thread end: CVideoPlayerAudio::OnExit()
2024-05-19 10:51:16.210 T:14776 info : Closing audio device
2024-05-19 10:51:16.210 T:14776 info : Deleting audio codec
2024-05-19 10:51:16.210 T:14776 info : Closing stream player 2

I did also try changing the SMB chunk size to 64k as suggested but that made no difference to this issue that I could see. Other video and audio sources (which would use SMB) remain unaffected.

@JCalvi
Copy link

JCalvi commented Jun 4, 2024

PS: I am happy to test on my system as soon as @TechReefer has a version considered working.
Before that i figured there was no point in me trying anything.

@phunkyfish
Copy link
Member

PS: I am happy to test on my system as soon as @TechReefer has a version considered working. Before that i figured there was no point in me trying anything.

That’s not a good kick off point. Right now we need to know if the file cache has any impact on this problem. So without this test on a working system we can’t know that.

@JCalvi
Copy link

JCalvi commented Jun 4, 2024

No problem, glad I asked. Will try it out then when I get a chance.

@JCalvi
Copy link

JCalvi commented Jun 4, 2024

Ok, tested 21.0.3 plug-in on regular Omega 21.0 and tv worked fine.
Then loaded latest nightly Omega (3/6/2024) and 21.0.3 plug-in also still worked fine.
This is for me with Mediaportal 2.5 running local on same machine as Kodi.

@phunkyfish
Copy link
Member

Ok, tested 21.0.3 plug-in on regular Omega 21.0 and tv worked fine. Then loaded latest nightly Omega (3/6/2024) and 21.0.3 plug-in also still worked fine. This is for me with Mediaportal 2.5 running local on same machine as Kodi.

Thank you for testing it.

@phunkyfish
Copy link
Member

So as it stands now we have a working and non working install of MP2. Which does not really help us at all.

@TechReefer is your install on a local network?

@TechReefer
Copy link

Yes my install and all clients are on the local lan, same subnet. I said above that for the local Windows installation this is now fixed, but on both remote Windows and Android clients I still get this problem. To clarify by 'remote clients' I mean devices on the same network but on a different device from the MP server.

This means that for both myself and JCalvi the fix for live tv is working when the MP2 server (TVEngine) and the client (Kodi) are on the same box (what I meant by 'local'). However, the fix has not worked for me when the Kodi clients (an Nvidia Shield and a Windows 10 device) are not on the same box as the MP2 server. Both of these were working for live tv on Kodi 20.5.

@thexai
Copy link

thexai commented Jun 9, 2024

@TechReefer have you tested enable/disable "Use RTSP streaming" in add-on client settings / Playback, as others mentions this works:

with Kodi running on the same host as the backend, I have to select "Use RTSP streaming" for the client to work. With the client on another Windows host, this is not required and can be switched off.

https://forum.kodi.tv/showthread.php?tid=377722&pid=3200560#pid3200560

@phunkyfish
Copy link
Member

Yes my install and all clients are on the local lan, same subnet. I said above that for the local Windows installation this is now fixed, but on both remote Windows and Android clients I still get this problem. To clarify by 'remote clients' I mean devices on the same network but on a different device from the MP server.

This means that for both myself and JCalvi the fix for live tv is working when the MP2 server (TVEngine) and the client (Kodi) are on the same box (what I meant by 'local'). However, the fix has not worked for me when the Kodi clients (an Nvidia Shield and a Windows 10 device) are not on the same box as the MP2 server. Both of these were working for live tv on Kodi 20.5.

Interesting. So the problem is caused when the network is involved. On localhost kodi must treat things differently

@TechReefer
Copy link

That's been my guess for a while. I also mentioned that recorded tv plays fine for me on all clients which maybe suggests that the issue is more specific that just network v local - i.e. the issue seems to be just live tv over network.

As regards TSReader with RTSP set to on. The default has always been RTSP off all the way back to at least Kodi 17 when I started using Kodi and the MP PVR add-on. I'd guess the reason may have been that RTSP on has tended to be flaky in my experience. My clients have always been set at the default - so TSReader with RTSP set to off. I did test with RTSP on but, as other users on that thread have commented, although live tv did tune and display, pause, rewind and forward did not work which really negates much of the PVR functionality. Kodi 20.5 clients also have those issues for me when RTSP is set to on.

Both live tv and recorded tv are both MPEG transport streams (.ts files) so the only real difference I can see are file sizes - recorded tv files being much larger.

Throughout this issue seems to have revolved around tsreader live tv over network. Perhaps something changed from Kodi 20.5 (and many previous versions) in Omega that the MP PVR add-on was relying on for live tv over network to work.

I can post more log extracts if it would help.

@thexai
Copy link

thexai commented Jun 16, 2024

I tested this locally and for me all is working fine. Tested in Nexus and Omega in Windows 11 (portable install) and master branch in Nvidia Shield (other host in same LAN). All setups are working with same settings.

Steps followed:

  1. Generate local DVB-IP channel with FFmpeg command:
    ffmpeg -re -f lavfi -i testsrc=size=1920x1080:rate=30 -pix_fmt yuv420p -c:v libx264 -preset ultrafast -x264opts "keyint=24:min-keyint=1" -b:v 5000k -f mpegts udp://238.0.0.1:1234

  2. Installed MP2 with server components only and install and enable "TVServerKodi" plugin v1.32.0.145 (https://github.com/JCalvi/MPTVE3PluginKodi/releases/tag/2.5-rev145):

mp-4

  1. Configure local FFmpeg channel in MediaPortal 2 TV configuration:

mp-1

mp-2

mp-3

In Kodi only enabled add-on with default settings and in others hosts (Shield) replaced default IP 127.0.0.1 with local IP of host where is installed MP2 server (192.168.0.x).

Kodi.2024-06-16.18-54-27-00.00.02.452-00.00.19.083-seg1.mp4
Kodi.2024-06-16.18-54-27-00.00.20.963-00.00.45.736-seg2.mp4

@TechReefer
Copy link

Thanks for posting those steps. Interesting, I didn't know you could add a channel like that. I went through those steps checking that my settings matched. The only pvr add-on setting that was different was 'Fast Channel switching' so I turned that off just in case.

On my MP2 server (Windows 11 physical device with TV card and live tv channels) Kodi Omega played the stream successfully as expected (pvr add-on 21.02). There's never been a problem with live tv on the server itself so no reason to think the stream would fail, but I tested anyway.

On my remote Windows 10 client (physical device) the stream failed to play with Kodi Omega (21.0). I then replaced the pvr client (which was at the default 21.02) with the 21.03 pvr add-on fix and then the stream played successfully. As before, live tv did not work - spinning wheel and eventually a failed to play message with similar log messages as before - tsreader bytes mismatch.

On my Nvidia Shield the stream played successfully with pvr add-on 21.02. As before, live tv did not work - spinning wheel and eventually a failed to play message and similar log messages as before - tsreader bytes mismatch.

Log extracts:

Windows 10 client (test synthetic mpeg-ts stream channel) :

2024-06-23 09:39:05.583 T:13000 info : Starting Kodi (21.0 (21.0.0) Git:20240406-60c4500054). Platform: Windows NT x86 64-bit
2024-06-23 09:39:05.583 T:13000 info : Using Release Kodi x64
2024-06-23 09:39:05.583 T:13000 info : Kodi compiled 2024-04-06 by MSVC 193431937 for Windows NT x86 64-bit version 10.0 (0x0A00000B)
2024-06-23 09:39:05.584 T:13000 info : Running on Windows 10 22H2, kernel: Windows NT x86 64-bit version 10.0.19045.3324
2024-06-23 09:39:05.688 T:13000 info : CAddonMgr::ADDON::CAddonMgr::FindAddons: pvr.mediaportal.tvserver v21.0.3 installed
2024-06-23 09:39:07.615 T:10460 info : AddOnLog: pvr.mediaportal.tvserver: Connected to 1.2.3.4:9596
2024-06-23 09:39:07.641 T:10460 info : AddOnLog: pvr.mediaportal.tvserver: Your TVServerKodi version is '1.32.0.145'
2024-06-23 09:39:10.255 T:14896 info : PVR Manager: Started
2024-06-23 09:39:19.955 T:13000 warning : XFILE::CDirectoryFactory::Create - unsupported protocol(udp) in udp://238.0.0.1:1234/
2024-06-23 09:39:19.958 T:13000 info : VideoPlayer::OpenFile: pvr://channels/tv/TV1@1335748142/[email protected]_1384.pvr
2024-06-23 09:39:19.959 T:188 info : Creating InputStream
2024-06-23 09:39:19.966 T:188 info : Creating Demuxer
2024-06-23 09:39:20.793 T:188 info : Opening stream: 0 source: 256
2024-06-23 09:39:20.793 T:188 info : Creating video codec with codec id: 27
2024-06-23 09:39:20.793 T:188 info : CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
2024-06-23 09:39:20.794 T:188 info : Creating video thread
2024-06-23 09:39:20.795 T:17692 info : running thread: video_thread
2024-06-23 09:39:37.123 T:13000 info : CVideoPlayer::CloseFile()
2024-06-23 09:39:37.124 T:13000 info : VideoPlayer: waiting for threads to exit
2024-06-23 09:39:37.176 T:188 info : CVideoPlayer::OnExit()
2024-06-23 09:39:37.176 T:188 info : Closing stream player 2
2024-06-23 09:39:37.176 T:188 info : waiting for video thread to exit
2024-06-23 09:39:37.188 T:17692 info : thread end: video_thread
2024-06-23 09:39:37.189 T:188 info : deleting video codec
2024-06-23 09:39:37.190 T:188 info : DXVA::CDecoder::Close: closing decoder.
2024-06-23 09:39:37.190 T:188 info : DXVA: closing decoder context.
2024-06-23 09:39:37.193 T:13000 info : VideoPlayer: finished waiting
2024-06-23 09:39:37.193 T:13000 info : CVideoPlayer::CloseFile()

Windows 10 client (test live tv channel) :

2024-06-23 09:39:56.097 T:13000 info : VideoPlayer::OpenFile: pvr://channels/tv/TV1@1335748142/[email protected]_1030.pvr
2024-06-23 09:39:56.098 T:12244 info : Creating InputStream
2024-06-23 09:39:56.098 T:12244 info : AddOnLog: pvr.mediaportal.tvserver: Open Live stream for channel uid=1030
2024-06-23 09:39:59.401 T:12244 info : AddOnLog: pvr.mediaportal.tvserver: Channel timeshift buffer: C:\rectv\live3-0.ts.tsbuffer
2024-06-23 09:39:59.402 T:12244 info : AddOnLog: pvr.mediaportal.tvserver: Creating a new TsReader...
2024-06-23 09:39:59.402 T:12244 info : AddOnLog: pvr.mediaportal.tvserver: TsReader open 'C:\rectv\live3-0.ts.tsbuffer'
2024-06-23 09:39:59.402 T:12244 info : AddOnLog: pvr.mediaportal.tvserver: Cannot access 'C:\rectv\live3-0.ts.tsbuffer' directly. Assuming multiseat mode. Need to translate to UNC filename.
2024-06-23 09:39:59.402 T:12244 info : AddOnLog: pvr.mediaportal.tvserver: Translate path C:\rectv\live3-0.ts.tsbuffer -> smb://user:pwd@server/rectv/live3-0.ts.tsbuffer
2024-06-23 09:39:59.413 T:12244 info : AddOnLog: pvr.mediaportal.tvserver: FileReader::OpenFile() smb://user:pwd@server/rectv/live3-0.ts.tsbuffer.
2024-06-23 09:39:59.417 T:12244 info : AddOnLog: pvr.mediaportal.tvserver: FileReader::OpenFile() smb://user:pwd@server/rectv/live3-0.ts.tsbuffer1.ts.
2024-06-23 09:39:59.418 T:12244 info : AddOnLog: pvr.mediaportal.tvserver: OpenLiveStream: success for channel id 1030 (CNN HD) on card 3
2024-06-23 09:39:59.418 T:12244 info : Creating Demuxer
2024-06-23 09:40:02.031 T:12244 info : AddOnLog: pvr.mediaportal.tvserver: Kodi requested 32768 bytes, but the TSReader got only 7896 bytes in 2 seconds
2024-06-23 09:40:02.032 T:12244 info : Opening stream: 0 source: 256
2024-06-23 09:40:02.032 T:12244 error : CVideoPlayerVideo::OpenStream: Codec id 27 require extradata.
2024-06-23 09:40:02.032 T:12244 warning : CVideoPlayer::OpenStream - Unsupported stream 0. Stream disabled.
2024-06-23 09:40:02.032 T:12244 info : Opening stream: 3 source: 256
2024-06-23 09:40:02.032 T:12244 info : Finding audio codec for: 86019
2024-06-23 09:40:02.033 T:12244 info : CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder ac3
2024-06-23 09:40:02.034 T:12244 info : CVideoPlayerAudio::OpenStream: Allowing max Out-Of-Sync Value of 10 ms
2024-06-23 09:40:02.034 T:12244 info : Creating audio thread
2024-06-23 09:40:02.034 T:3448 info : running thread: CVideoPlayerAudio::Process()
2024-06-23 09:40:02.034 T:12244 info : Opening stream: 2 source: 256
2024-06-23 09:40:02.035 T:12244 info : waiting for teletext data thread to exit
2024-06-23 09:40:02.036 T:12244 info : Creating teletext data thread
2024-06-23 09:40:02.037 T:244 info : running thread: CDVDTeletextData
2024-06-23 09:40:02.037 T:12244 info : CDVDDemuxFFmpeg::Read() stream change
2024-06-23 09:40:02.038 T:12244 info : Opening stream: 0 source: 256
2024-06-23 09:40:02.038 T:12244 error : CVideoPlayerVideo::OpenStream: Codec id 27 require extradata.
2024-06-23 09:40:02.038 T:12244 warning : CVideoPlayer::OpenStream - Unsupported stream 0. Stream disabled.
2024-06-23 09:40:02.038 T:12244 info : Opening stream: 3 source: 256
2024-06-23 09:40:02.038 T:12244 info : Opening stream: 2 source: 256
2024-06-23 09:40:04.752 T:12244 info : AddOnLog: pvr.mediaportal.tvserver: Kodi requested 32768 bytes, but the TSReader got only 0 bytes in 2 seconds
2024-06-23 09:40:07.281 T:12244 info : Skipped 1 duplicate messages..
2024-06-23 09:40:07.281 T:12244 info : VideoPlayer: next stream, wait for old streams to be finished
2024-06-23 09:40:07.281 T:12244 info : Closing stream player 1

Nvidia Shield (test synthetic mpeg-ts stream channel):

2024-06-23 11:32:48.306 T:20857 info : Starting Kodi (21.0 (21.0.1) Git:20240409-7e760d1063). Platform: Android ARM 64-bit
2024-06-23 11:32:48.306 T:20857 info : Using Release Kodi x64
2024-06-23 11:32:48.306 T:20857 info : Kodi compiled 2024-04-09 by Clang 9.0.9 (https://android.googlesource.com/toolchain/llvm-project a2a1e703c0edb03ba29944e529ccbf457742737b) for Android ARM 64-bit API level 21 (API level 21)
2024-06-23 11:32:48.306 T:20857 info : Running on NVIDIA SHIELD Android TV with Android TV 9.0.0 API level 28, kernel: Linux ARM 64-bit version 4.9.140-tegra-g19e7acaac93b
2024-06-23 11:32:50.697 T:20895 info : AddOnLog: pvr.mediaportal.tvserver: Connected to 1.2.3.4:9596
2024-06-23 11:32:50.727 T:20895 info : AddOnLog: pvr.mediaportal.tvserver: Your TVServerKodi version is '1.32.0.145'
024-06-23 11:32:51.661 T:20938 info : PVR Manager: Started
2024-06-23 11:33:08.752 T:20857 warning : Create - unsupported protocol(udp) in udp://238.0.0.1:1234/
2024-06-23 11:33:08.756 T:20857 info : VideoPlayer::OpenFile: pvr://channels/tv/TV1@1103839795/[email protected]_1384.pvr
2024-06-23 11:33:08.757 T:21077 info : Creating InputStream
2024-06-23 11:33:08.758 T:21077 info : Creating Demuxer
2024-06-23 11:33:09.583 T:21077 info : Opening stream: 0 source: 256
2024-06-23 11:33:09.583 T:21077 info : Creating video codec with codec id: 27
2024-06-23 11:33:08.752 T:20857 warning : Create - unsupported protocol(udp) in udp://238.0.0.1:1234/
2024-06-23 11:33:08.756 T:20857 info : VideoPlayer::OpenFile: pvr://channels/tv/TV1@1103839795/[email protected]_1384.pvr
2024-06-23 11:33:08.757 T:21077 info : Creating InputStream
2024-06-23 11:33:08.758 T:21077 info : Creating Demuxer
2024-06-23 11:33:09.583 T:21077 info : Opening stream: 0 source: 256
2024-06-23 11:33:09.583 T:21077 info : Creating video codec with codec id: 27
2024-06-23 11:33:09.707 T:21077 info : Creating video thread
2024-06-23 11:33:09.707 T:21087 info : running thread: video_thread
2024-06-23 11:33:19.971 T:20857 info : CVideoPlayer::CloseFile()
2024-06-23 11:33:19.971 T:20857 info : VideoPlayer: waiting for threads to exit
2024-06-23 11:33:20.015 T:21077 info : CVideoPlayer::OnExit()
2024-06-23 11:33:20.015 T:21077 info : Closing stream player 2

Nvidia Shield (test live tv channel) :
2024-06-23 11:33:26.597 T:20857 info : VideoPlayer::OpenFile: pvr://channels/tv/TV1@1103839795/[email protected]_1030.pvr
2024-06-23 11:33:26.597 T:21096 info : Creating InputStream
2024-06-23 11:33:26.598 T:21096 info : AddOnLog: pvr.mediaportal.tvserver: Open Live stream for channel uid=1030
2024-06-23 11:33:29.915 T:21096 info : AddOnLog: pvr.mediaportal.tvserver: Channel timeshift buffer: C:\rectv\live3-0.ts.tsbuffer
2024-06-23 11:33:29.915 T:21096 info : AddOnLog: pvr.mediaportal.tvserver: Creating a new TsReader...
2024-06-23 11:33:29.915 T:21096 info : AddOnLog: pvr.mediaportal.tvserver: TsReader open 'C:\rectv\live3-0.ts.tsbuffer'
2024-06-23 11:33:29.915 T:21096 info : AddOnLog: pvr.mediaportal.tvserver: Translate path C:\rectv\live3-0.ts.tsbuffer -> smb://user:pwd@server/rectv/live3-0.ts.tsbuffer
2024-06-23 11:33:29.915 T:21096 info : AddOnLog: pvr.mediaportal.tvserver: FileReader::OpenFile() smb://user:pwd@server/rectv/live3-0.ts.tsbuffer.
2024-06-23 11:33:29.939 T:21096 info : AddOnLog: pvr.mediaportal.tvserver: FileReader::OpenFile() smb://user:pwd@server/rectv/live3-0.ts.tsbuffer1.ts.
2024-06-23 11:33:29.944 T:21096 info : AddOnLog: pvr.mediaportal.tvserver: OpenLiveStream: success for channel id 1030 (CNN HD) on card 3
2024-06-23 11:33:29.944 T:21096 info : Creating Demuxer
2024-06-23 11:33:29.944 T:21096 info : Opening stream: 0 source: 256
2024-06-23 11:33:29.944 T:21096 error : OpenStream: Codec id 27 require extradata.
2024-06-23 11:33:29.944 T:21096 warning : OpenStream - Unsupported stream 0. Stream disabled.
2024-06-23 11:33:29.944 T:21096 info : Opening stream: 3 source: 256
2024-06-23 11:33:29.945 T:21096 info : Finding audio codec for: 86019
2024-06-23 11:33:29.945 T:21096 info : CDVDAudioCodecAndroidMediaCodec::Open() Use default handling for non encrypted stream
2024-06-23 11:33:29.945 T:21096 info : OpenStream: Allowing max Out-Of-Sync Value of 10 ms
2024-06-23 11:33:29.945 T:21096 info : Creating audio thread
2024-06-23 11:33:29.945 T:21098 info : running thread: CVideoPlayerAudio::Process()
2024-06-23 11:33:29.945 T:21096 info : Opening stream: 2 source: 256
2024-06-23 11:33:29.945 T:21096 info : waiting for teletext data thread to exit
2024-06-23 11:33:29.946 T:21096 info : Creating teletext data thread
2024-06-23 11:33:29.946 T:21099 info : running thread: CDVDTeletextData
2024-06-23 11:33:29.947 T:21096 info : CDVDDemuxFFmpeg::Read() stream change
2024-06-23 11:33:29.947 T:21096 info : Opening stream: 0 source: 256
2024-06-23 11:33:29.947 T:21096 error : OpenStream: Codec id 27 require extradata.
2024-06-23 11:33:29.947 T:21096 warning : OpenStream - Unsupported stream 0. Stream disabled.
2024-06-23 11:33:29.948 T:21096 info : Opening stream: 3 source: 256
2024-06-23 11:33:29.948 T:21096 info : Opening stream: 2 source: 256
2024-06-23 11:33:31.981 T:21096 info : AddOnLog: pvr.mediaportal.tvserver: Kodi requested 32768 bytes, but the TSReader got only 32224 bytes in 2 seconds
2024-06-23 11:33:34.015 T:21096 info : AddOnLog: pvr.mediaportal.tvserver: Kodi requested 32768 bytes, but the TSReader got only 0 bytes in 2 seconds
2024-06-23 11:33:44.183 T:21096 info : Skipped 4 duplicate messages..
2024-06-23 11:33:44.183 T:21096 info : AddOnLog: pvr.mediaportal.tvserver: Kodi requested 32768 bytes, but the TSReader got only 0 bytes in 2 seconds
2024-06-23 11:33:44.183 T:21096 info : VideoPlayer: next stream, wait for old streams to be finished
2024-06-23 11:33:44.183 T:21096 info : Closing stream player 1

When playing the mpeg-ts synthetic stream I noticed there is no pause option, only stop. I'm guessing that's because, unlike live tv, this is a DVB-IP stream (as opposed to DVB-S or DVB-T). Obviously there are some differences between the mpeg-ts container components and attributes of the synthetic stream versus live tv but I wouldn't have thought they're relevant (I can post the differences if it is.)

If you watch the timeshifting folder on the MP2 server while the synthetic stream is playing there is no live3-0.ts.buffer.ts file being created (as there is with live tv). This is reflected in the logs where you can also see that tsreader is not involved when playing the synthetic stream whereas it is when playing live tv.

Although both live tv and the synthetic stream are both mpeg-ts video the mechanism by which they're processed - both at the Kodi and the MP2 server end - is not really the same which may explain why the synthetic stream works but live tv does not.

I'm not sure where the problem lies but this does seem to narrow it down to live tv/tsreader over network.

All other media stored on the MP2 server (video, music, recorded live tv etc) works on both remote clients. Live TV also works on both remote clients when using Kodi Nexus (20.5.0) and it's pvr add-on version.

@phunkyfish
Copy link
Member

Hey all, could use your help with a PR for updating the settings format for the add-on no functional change, just the internal settings format. Testbuilds in the PR. Please comment on the PR if there are any issues found or if it just works. Thanks in advance.

#209

@phunkyfish
Copy link
Member

The kodi PRs have been merged. Nightlies from Oct 17th will contain the required changes.

test builds of the addon can be used with these nightlies for testing the fix.

Kodi 22 Piers: https://jenkins.kodi.tv/blue/organizations/jenkins/kodi-pvr%2Fpvr.mediaportal.tvserver/detail/PR-215/2/artifacts
Kodi 21 Omega: https://jenkins.kodi.tv/blue/organizations/jenkins/kodi-pvr%2Fpvr.mediaportal.tvserver/detail/PR-216/2/artifacts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants