NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 264 265 266 267 268 … 433 Next »
Recordings cut-off due to improper use of multiple tuners

Recordings cut-off due to improper use of multiple tuners
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#41
2013-02-22, 09:24 PM
(note that I typed this before the patch above was posted... will test with the new patch)

I just ran one more scenario, and it failed in the same way as before.

This time I started the first two recordings as Quick Records so they had no post-padding. Both were set to end at the same time. Then I set the third recording to begin immediately after the first two, with 1-minute padding. As expected, the 3rd recording was moved to the second tuner, and cut-off the second recording a minute early. I just wanted to see if post-padding on the first two recordings was somehow causing the error to occur.

So it seems pretty certain that this bug will occur when there are recordings on the first and second tuner that both end at the same time, which are followed immediately by a third recording that requires a different physical channel than either of the first two, AND the third recording has a pre-padding request that necessitates it moving from the provisionally scheduled tuner to a 3rd tuner. I suspect it would also happen with just two tuners, where NRecord should determine that honoring the pre-padding is not possible since both tuners are busy, but instead it will still cut the recording on the 2nd tuner short.
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,908
Threads: 770
Joined: Nov 2003
#42
2013-02-22, 09:35 PM
johnsonx42 Wrote:So it seems pretty certain that this bug will occur when there are recordings on the first and second tuner that both end at the same time, which are followed immediately by a third recording that requires a different physical channel than either of the first two, AND the third recording has a pre-padding request that necessitates it moving from the provisionally scheduled tuner to a 3rd tuner. I suspect it would also happen with just two tuners, where NRecord should determine that honoring the pre-padding is not possible since both tuners are busy, but instead it will still cut the recording on the 2nd tuner short.
I was able to reproduce it yesterday with this exact steps, but the problem definitely went away with the change I made yesterday. This was with an empty database though, and in the patch I posted above, I did find that maybe future pending recordings on that same tuner might interfere with the logic, so I put in a small change for that too.
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#43
2013-02-22, 10:02 PM
That one worked. The third recording successfully moved to the third tuner.
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,908
Threads: 770
Joined: Nov 2003
#44
2013-02-22, 10:09 PM
Great.
Reddwarf
Offline

Posting Freak

Posts: 6,629
Threads: 230
Joined: Mar 2007
#45
2013-02-22, 10:22 PM
Is the patch in post#40 the official fix for this issue or will there be another one without extra logging?

"I'd rather have a bottle in front of me than a frontal lobotomy"
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#46
2013-02-22, 10:30 PM
I'd suggest the extra logging be left in for the moment, just in case some other scenario comes up when more people test it. Another 2.5.x release is coming soon, that's probably when sub will remove any logging he no logner wants.
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,908
Threads: 770
Joined: Nov 2003
#47
2013-02-23, 02:12 AM
It's unlikely I'll remove the logging. It was only a few lines when a recording is about to start, so doesn't hurt to be there, and will most likely be useful.
totallhavoc
Offline

Junior Member

Posts: 8
Threads: 1
Joined: Dec 2012
#48
2013-02-27, 02:12 AM
I just watched the system do something weird which may or may not be related. I loaded the patch from post #40, thanks sub! I was just monitoring my system and this is what happened:

8:00 PM
Tuner 1 - NCIS on CBS
Tuner 2 - Hart of Dixie on The CW

9:00 PM
Tuner 1 - NCIS LA on CBS and the post padding for NCIS
Tuner 2 - The Taste on ABC, cuts off post padding from Hart of Dixie
Tuner 3 - New Girl on Fox
Tuner 4 - Cult on The CW

Shouldn't Cult have been put on Tuner 2 with Hart of Dixie so the pre/post padding worked? And, put The Taste on Tuner 4?

I'll up logs if needed, but I don't know if this falls under that scheduling rewrite that I have seen mentioned.
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,908
Threads: 770
Joined: Nov 2003
#49
2013-02-27, 02:15 AM
When back to back recordings are involved, you're not always going to get padding. It'll try it's best to give padding, but the logic is complicated, and sometimes it doesn't work out that way.
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#50
2013-02-27, 03:13 AM
actually I'm curious to see your logs. I find logic scenarios like this interesting to examine.
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (7): « Previous 1 … 3 4 5 6 7 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Failed recordings won't delete Spid4567 3 2,760 2023-07-14, 10:13 PM
Last Post: ZeDoZ
  All my recordings start 90 sec early ncsercs 2 1,596 2022-03-19, 03:28 AM
Last Post: sub
  Wake - Sleep Interaction -> Failed Recordings mikeh49 48 16,493 2021-03-21, 11:21 PM
Last Post: careads
  Most recordings are zero bytes virtualpaul 4 2,352 2021-01-29, 12:55 PM
Last Post: virtualpaul
  Recordings with Next PVR 4.2.5 (CL0116) have background music but no voice in record DavidF 4 2,410 2021-01-07, 08:47 AM
Last Post: sub
  Duel USB tuners lock out cablood1 4 1,968 2020-10-30, 05:35 PM
Last Post: sub
  Recordings not playing in browser FamilyGuyFan 1 1,629 2020-10-22, 10:18 PM
Last Post: mvallevand
  Recordings 1 minute off BobbyDing 7 3,211 2020-10-11, 08:07 PM
Last Post: mvallevand
  easy tools to remove adverts in recordings? V_J 6 4,357 2020-10-06, 02:37 AM
Last Post: Ehrlichia
  Black screen, no audio, & zero bit recordings mattman1968 1 1,716 2020-09-15, 12:19 AM
Last Post: mattman1968

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

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

Linear Mode
Threaded Mode