NextPVR Forums
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums General General Discussion v
1 2 3 4 5 … 157 Next »
Issue when watching a channel that is also recording

 
  • 0 Vote(s) - 0 Average
Issue when watching a channel that is also recording
vaarticus
Offline

Junior Member

USA
Posts: 6
Threads: 2
Joined: Jan 2023
#1
2023-01-16, 02:32 AM
I was watching a channel (STZEHD) on IPTV.  A movie was starting that I wanted to record, so I pressed record as the movie was playing (I am using Kodi LiveTV).  As soon as the movie started recording, the playback started looping over and over again the same 10-ish second segment. I ended up canceling the recording and then it still looped, so I changed channels and went back to STZEHD and it started to play normal. I have two IPTV accounts, and they are allowed only one connection each.  I believe the looping may be a result of connection resets as the IPTV provider is seeing two different connections from the same account. I have the "max connections" set to 1 in the device settings. What am I doing wrong here?

[Image: XYG9CDZ.png]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 102,394
Threads: 741
Joined: Nov 2003
#2
2023-01-16, 03:16 AM
The looping is likely to related to the connection dropping, and probably because of too many connections. I'd need to be able to see the logs to tell you anything more.
vaarticus
Offline

Junior Member

USA
Posts: 6
Threads: 2
Joined: Jan 2023
#3
2023-01-16, 10:55 AM (This post was last modified: 2023-01-16, 10:56 AM by vaarticus.)
It looks like it tried to behave nicely...

2023-01-15 21:04:11.622 [DEBUG][10] Scheduled recording is supposed to start on tuner currently being used for live tv. Need to look for alternative tuner.
2023-01-15 21:04:11.642 [DEBUG][10] Unable to schedule on (/PlexMediaServer/iptv/xxxxxxxx39.m3u) due to max connections of 1
2023-01-15 21:04:11.643 [DEBUG][10] Unable to find alternative tuner. Live TV will be stopped.

I'm new to this, but perhaps it did stop live tv, but since I was actively "tuned to that channel" it simply just kept replaying the buffered content. So that makes sense. 

Is it possible to kill the buffer and automatically start using the recording .ts as the buffer when watching live tv that is also recording?

I noticed when I return to that channel after leaving it give me a popup that asks if I want to watch live or watch the recording, so it seems there may already be some logic in there to recognize the possibility.  Unfortunately the pop-up doesn't appear to check tuner availability first, otherwise it could NOT allow me to watch live (since it would know that no tuners are available anyway). 

Anyway... thanks for the help. I can't believe it's taken me this long to find NextPVR...  It's a very refined product, so thank you!

Log attached.


Attached Files
.zip   nrecord.log.zip (Size: 123.31 KB / Downloads: 2)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 45,319
Threads: 865
Joined: May 2006
#4
2023-01-16, 01:17 PM
The looping in Kodi appears to be an issue with timeshift logic. The server is not providing an error on the lease and it is not flagging the segment as concluded <live>true</live> and <complete>false</complete so it is considered a growing file. pvr.nextpvr cannot exit when no data is reached because it cannot distinguish that from a delay in reading the stream.

For other tuner source, NextPVR does implement multi-rec so the recording doesn't impact live TV as much, sub didn't didn't do multi-rec for IPTV fro some reason. I did as him to consider that for a future release.

Martin
vaarticus
Offline

Junior Member

USA
Posts: 6
Threads: 2
Joined: Jan 2023
#5
2023-01-17, 02:16 PM
(2023-01-16, 01:17 PM)mvallevand Wrote: The looping in Kodi appears to be an issue with timeshift logic. The server is not providing an error on the lease and it is not flagging the segment as concluded  <live>true</live> and  <complete>false</complete so it is considered a growing file. pvr.nextpvr cannot exit when no data is reached because it cannot distinguish that from a delay in reading the stream.

For other tuner source, NextPVR does implement multi-rec so the recording doesn't impact live TV as much, sub didn't didn't do multi-rec for IPTV fro some reason.  I did as him to consider that for a future release.

Martin
So is this a bug that occurs when using timeshift?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 45,319
Threads: 865
Joined: May 2006
#6
2023-01-17, 02:25 PM
Not sure you can call it a bug, since you didn't post a Kodi debug log. pvr.nextpvr does check for <complete>true</complete> but since the backend doesn't necessarily support this I think there could be issues if it did.

Martin
vaarticus
Offline

Junior Member

USA
Posts: 6
Threads: 2
Joined: Jan 2023
#7
2023-01-17, 02:33 PM
(2023-01-17, 02:25 PM)mvallevand Wrote: Not sure you can call it a bug, since you didn't post a Kodi debug log.  pvr.nextpvr does check for <complete>true</complete> but since the backend doesn't necessarily support this I  think there could be issues if it did.

Martin
Thanks Martin.  It's a fresh install, and I've never used Kodi before so didn't have debug logging enabled. I am having another issue with buffering on local HDHR channels (Internet removed from equation) so I am going through the process of figuring out how to enable logging.  Once I get that done, I'll try and grab some debug logs of this issue and I can share them. I assume it will happen again (or can be forced).
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 45,319
Threads: 865
Joined: May 2006
#8
2023-01-17, 02:52 PM
The easiest and least intrusive way is to add this minimal advancedsettings.xml file to userdata

Code:
<advancedsettings>
  <loglevel hide="false">1</loglevel>
</advancedsettings>

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  How to manually add channel to device mlp78758 1 127 2023-02-16, 03:32 PM
Last Post: mvallevand
  How to play a recording from other system using VLC turmbrown 3 883 2022-01-28, 11:10 PM
Last Post: HarryH3
  Schedule Recording error floridasound 1 545 2021-11-05, 01:32 PM
Last Post: mvallevand
  Edit channel details - Sort mapping by name rather than number SteveDC 0 534 2021-07-12, 12:23 AM
Last Post: SteveDC
  Dummy EPG for a channel jojeparent 1 1,026 2021-03-11, 04:19 PM
Last Post: mvallevand
  Scheduling a recording Noggle 4 1,148 2020-06-01, 02:13 AM
Last Post: Noggle
  NPVR Channel Numbers in Kodi... gdogg371 5 1,927 2020-02-24, 02:22 AM
Last Post: mvallevand
  NextPVR and Roku Channel btpoole 6 5,495 2019-03-21, 01:12 PM
Last Post: jcole998
  Watch more than one channel in the same software/browser x-mpegURL 1 1,249 2018-09-17, 05:48 PM
Last Post: sub
  TS and PART file? Download/recording tv streams joeijm 5 2,536 2018-03-25, 01:53 AM
Last Post: joeijm

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

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

Linear Mode
Threaded Mode