NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support v
1 2 3 4 5 … 46 Next »
Kodi 21 / pvr.nextpvr 21.3.2.1 – Live TV stops after 30–60 minutes, HTTP range error

 
  • 0 Vote(s) - 0 Average
Kodi 21 / pvr.nextpvr 21.3.2.1 – Live TV stops after 30–60 minutes, HTTP range error
Rad
Offline

Junior Member

switzerland
Posts: 3
Threads: 1
Joined: Oct 2026
#1
2026-10-08, 01:02 PM
Hello,
I am experiencing recurring Live TV playback interruptions when using the NextPVR PVR client in Kodi.

My setup:
  • NextPVR Server: 7.1.1.260616
  • NextPVR running in Docker on a Synology NAS
  • Kodi 21 with pvr.nextpvr 21.3.2.1
  • IPTV channels configured in NextPVR
  • Kodi and NextPVR are connected over the local network

The problem:
Live TV playback works normally for approximately 30–60 minutes, then suddenly stops and Kodi returns to the channel guide.
The issue occurs with different IPTV sources, not just one channel. Playback through the NextPVR web player appears stable.

Tests already performed:
I tested different NextPVR Live TV buffer settings:

Buffer size       Approximate playback duration

20 minutes      28–30 minutes
60 minutes      40 minutes
120 minutes    55–60 minutes

I also tested the Kodi NextPVR client's Real Time and Timeshift playback methods.
For the latest test:
  • Live TV method: Timeshift
  • Direct Streams: Disabled
  • NextPVR Live TV buffer: 120 minutes
  • Kodi
    Code:
    advancedsettings.xml
    :
    Code:
    curllowspeedtime=60
Unfortunately, the problem still occurs.

Relevant log messages:
Kodi reports:
Code:
CVideoPlayerAudio::Process - stream stalled
followed by:
Code:
Reconnect, (re)try 1
and:
Code:
Failed: Requested range was not delivered by the server (33)
The NextPVR logs show messages including:
Code:
stream@2 got zero bytes client disconnected Live stream expired without 15 second renewal.
After the stream disconnects, Kodi attempts to reconnect using an HTTP byte-range request, but playback cannot recover.

My questions:
  1. Is this a known issue with the Kodi NextPVR client or NextPVR's Live TV streaming?
  2. Could the HTTP range/reconnect behavior be responsible for the playback stopping?
  3. Is there a recommended fix or workaround?

I have attached sanitized Kodi and NextPVR logs from the latest playback failure. Sensitive URLs, credentials, network addresses and identifiers have been redacted.
Any help would be greatly appreciated.
Thank you!


Attached Files
.zip   nextpvr_forum_logs_sanitized.zip (Size: 101.21 KB / Downloads: 1)
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 56,872
Threads: 1,001
Joined: May 2006
#2
2026-10-08, 01:40 PM
A bit of cleanup for the future.

- Kodi problems should be in the Kodi sub-forum here https://forums.nextpvr.com/forumdisplay.php?fid=13
- As documented I need Kodi debug logs, the default are useless.
- You probably need to set the timezone in Docker to log the correct time.

The reason that streaming failed is here

Code:
2026-10-08 12:29:22.621 [DEBUG][90] Got request [[KODI_LAN_IP]]: /service (channel.transcode.lease) 2026-10-08 12:29:29.637 [DEBUG][32] Got request [[KODI_LAN_IP]]: /service (channel.transcode.lease) 2026-10-08 12:29:36.644 [DEBUG][98] Got request [[KODI_LAN_IP]]: /service (channel.transcode.lease) ... 2026-10-08 12:30:01.832 [ERROR][12] Live stream expired without 15 second renewal. (handle:210004)

The lease expires but Kodi sends the lease every 7 seconds and your Kodi log level or the redactions doesn't show any logging to help figure out what might be going on to block the API calls.

Code:
2026-10-08 14:21:27.519 T:4237 error <general>: GetDirectory - Error getting /storage/.kodi/userdata/addon_data/plugin.video.themoviedb.helper/timer_report/ 2026-10-08 14:30:00.657 T:4227 info <general>: CVideoPlayerAudio::Process - stream stalled 2026-10-08 14:30:21.372 T:4221 error <general>: CCurlFile::CReadState::FillBuffer - (0xa847c678) Failed: Failure when receiving data from the peer(56)

It is not generic CE problem, I use it all the time.

Martin
Rad
Offline

Junior Member

switzerland
Posts: 3
Threads: 1
Joined: Oct 2026
#3
2026-10-08, 03:16 PM
Hi Martin,
Thank you for your reply.
I have now enabled Kodi debug logging and temporarily disabled TMDb Helper.
The problem occurred again. I have attached new sanitized Kodi debug and NextPVR logs from the same playback failure.
The last successful 

Code:
channel.transcode.lease

request appears at approximately 16:29:38 Kodi time (14:29:38 UTC). Shortly afterwards, the stream disconnects and the lease expires.
The NextPVR Docker container uses UTC, while Kodi uses CEST (UTC+2). Both clocks appear to be synchronized.
Could you please check why the Kodi NextPVR client stops sending the lease requests?

One more thing, Martin: Sorry for posting this in the wrong section.
Could you please move this thread to the Kodi sub-forum?

Thank you very much for your help and patience!
Roger


Attached Files
.zip   nextpvr_kodi_debug_forum_sanitized_20261008.zip (Size: 1.31 MB / Downloads: 1)
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 56,872
Threads: 1,001
Joined: May 2006
#4
2026-10-08, 03:49 PM
If you set the Docker environment TZ to yours the times will match.

I changed my mind about the problem Kodi is disconnecting so it could be your source is slow

2026-10-08 14:29:44.281 [DEBUG][18] client disconnected
2026-10-08 14:29:44.281 [DEBUG][18] Done. Sent 186288021 bytes

and it just plays the buffer. The only thing I can suggest is PM me the URL to DE: Jukebox HD and I will see if I can duplicate it.

Martin
Rad
Offline

Junior Member

switzerland
Posts: 3
Threads: 1
Joined: Oct 2026
#5
2026-10-08, 04:32 PM
Hi Martin,
unfortunately I can't send the direct Jukebox HD URL because the IPTV credentials are embedded in it.

I can however run additional tests on my NextPVR server if that helps. For example, I can monitor the IPTV stream directly on the server for an extended period to see whether the source stops delivering data or the transfer rate drops when the Kodi client disconnects.

The interesting part is that I have seen the same Kodi playback problem with multiple IPTV sources, while playback through NextPVR itself appears to be stable.

If there is any additional debug logging or specific test you would like me to run, please let me know.

Thanks Roger
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 56,872
Threads: 1,001
Joined: May 2006
#6
2026-10-08, 05:01 PM
I expected it would have the credentials like most IPTV but that is the only way to find the problem.

Other than maybe edit config.xml and set this to true.

<UseFinalM3U8>true</UseFinalM3U8>

Maybe install the NextPVR service directly on CE and see if it works better on localhost, https://wiki.coreelec.org/coreelec:nextpvr

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Playback stops after changing recording directory robmorren2 11 602 2026-09-29, 08:09 PM
Last Post: mvallevand
  Using JellyFin as client to NextPVR ceejayemm 3 827 2026-08-11, 05:18 PM
Last Post: mvallevand
  Does NextPVR regularly "ping" schedules direct? kevin-pvr 17 1,976 2026-06-22, 08:28 PM
Last Post: mvallevand
  EPG guide via xmltv.xml won't load over HTTPS but will over HTTP udfkidfyf 1 1,875 2025-09-03, 12:26 AM
Last Post: mvallevand
Wink NextPVR - future evolution ? ceejayemm 2 2,391 2025-08-07, 01:41 PM
Last Post: mvallevand
  Any chance NextPVR could be a flatpak install? cptrohn 2 2,047 2025-07-13, 12:30 AM
Last Post: sub
  DVB-S2 & DVB-T on Docker, Nextpvr sees both but only scans DVB-S2 seapoint 16 4,717 2025-05-30, 09:36 AM
Last Post: seapoint
  Error scanning Saorview DVB-T channels happybluegreen 2 1,353 2025-05-29, 05:16 PM
Last Post: seapoint
  Controlling the nextpvr server from Jellyfin (via the nextpvr plugin) (no recording) kfmf 2 3,978 2025-05-04, 02:21 PM
Last Post: mvallevand
  RTP streams / Kodi gets incorrect docker IP DiligentScrubber 8 4,323 2025-03-20, 04:45 PM
Last Post: DiligentScrubber

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode