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 … 166 167 168 169 170 … 433 Next »
Recording Logic

Recording Logic
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,724
Threads: 767
Joined: Nov 2003
#11
2015-08-11, 02:01 AM
mvallevand Wrote:I have a particular problem that I have articulated several times that happens mainly on Sundays on AMC. At 10pm and 11pm they air the same new show and I want to record the 11pm show. I always end up with a conflict for the 10pm because NextPVR tries to record it and then then 11pm show is usually recorded. I think NextPVR should respect the time and only fall back to the 90 minute window when it fails.
Ok, I'm sure I can take a look at this too.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,953
Threads: 956
Joined: May 2006
#12
2015-08-11, 02:11 AM
Thanks I like to preserve primetime 8-11 for unique shows whenever possible.

Martin
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#13
2015-08-28, 04:34 PM (This post was last modified: 2015-08-28, 04:40 PM by johnsonx42.)
@TRiddle -

just so you know you've not been forgotten, sub has added additional logic to the scheduler to deal with your situation and I've recently completed testing it. In short, when it completes all scheduling operations for a particular recurring recording request, if any conflicts remain it will go hunt for other showings of the same unique_id first on the same channel as the original conflict (on the assumption that the original channel is preferred), and then on any channel. This is done without regard for any other criteria of the original recurring request, whether it was limited to certain days, times, new episodes only, or specific channel; the assumption is that once an episode is identified as a valid episode to be recorded, any showing of that episode is fair game. If no replacement showing is found and scheduled (the replacement could also be in conflict), the original conflict is left and will show in the Conflicts list.

for logistical reasons, any showing of an episode scheduled by this logic will be a single recording not subject to further management as part of the recurring recording group, though it will still be grouped by title in the Ready Recordings list. "red text" will be set on the recording indicating why it was created, thus giving a clue to this special status.

this feature will be on by default (unless the testing group's opinion changes between now and release), but there will be a checkbox for it in Settings->Recording. For a small subset of users, this feature will not be desired so they can turn it off.
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
TRiddle
Offline

Junior Member

Posts: 24
Threads: 2
Joined: Aug 2015
#14
2015-09-01, 12:44 PM
Excellent. One follow-up question if I may: is this priority based? I'm assuming it is by the way I understand how the scheduling operations worked, I just wanted to make sure. That's the other way to "game" the intelligent recordings system on everything else I've used over the years. If you have a show that has limited showings and is always not recording due to conflicts, just move it to top priority and "usually" the conflicts go away.

The functionality you listed is exactly what I'm after, I guess I just need reinforcement on if the scheduling operations schedule based on priority (as I'm assuming they do).

Thanks!
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#15
2015-09-01, 05:24 PM (This post was last modified: 2015-09-01, 05:28 PM by johnsonx42.)
The new logic fires at the end of the scheduling for each recurring recording, so it's based on the priority of the recurring recording that resulted in the conflict. Once created though, these special replacement recordings become single recordings unaffected by the priority system (exactly the same as any single recording you might schedule yourself).
Here's a log snippet from my testing last week:
Code:
2015-08-26 15:28:17.327    [DEBUG][8]     - Potential episode at: 9/1/2015 8:00:00 PM
2015-08-26 15:28:17.327    [DEBUG][8]       ...check IsValid()
2015-08-26 15:28:17.327    [DEBUG][8]       ...scheduling episode
2015-08-26 15:28:17.338    [DEBUG][8]    Checking if multi-record possible...
2015-08-26 15:28:17.343    [DEBUG][8]    Checking if multi-record possible...
2015-08-26 15:28:17.345    [DEBUG][8]    Checking if multi-record possible...
2015-08-26 15:28:17.352    [DEBUG][8]       ...was unable to schedule recording...marking as conflict
2015-08-26 15:28:17.361    [DEBUG][8]     - Potential episode at: 9/2/2015 8:00:00 PM
2015-08-26 15:28:17.361    [DEBUG][8]       ...check IsValid()
2015-08-26 15:28:17.361    [DEBUG][8]       ...scheduling episode
2015-08-26 15:28:17.378    [DEBUG][8]     - Potential episode at: 9/4/2015 8:00:00 PM
2015-08-26 15:28:17.378    [DEBUG][8]       ...check IsValid()
2015-08-26 15:28:17.378    [DEBUG][8]       ...this episode is a repeat
2015-08-26 15:28:17.378    [DEBUG][8]       ...doesnt match recurring rules
2015-08-26 15:28:17.378    [DEBUG][8]     - Potential episode at: 9/8/2015 8:00:00 PM
2015-08-26 15:28:17.378    [DEBUG][8]       ...check IsValid()
2015-08-26 15:28:17.379    [DEBUG][8]       ...scheduling episode
2015-08-26 15:28:17.508    [DEBUG][8]    Looking for alternative airings of America's Got Talent: Semi-Final 1 (EP008298780316)
2015-08-26 15:28:17.510    [DEBUG][8]    LoadListingByAdvancedRules(channel='all channels',advancedRules=unique_id='EP008298780316')
2015-08-26 15:28:17.619    [DEBUG][8]     - trying 9/1/2015 8:00 PM
2015-08-26 15:28:17.626    [DEBUG][8]    Checking if multi-record possible...
2015-08-26 15:28:17.627    [DEBUG][8]    Checking if multi-record possible...
2015-08-26 15:28:17.630    [DEBUG][8]    Checking if multi-record possible...
2015-08-26 15:28:17.634    [DEBUG][8]     - Fail 9/1/2015 8:00 PM (NO CAN DO)
2015-08-26 15:28:17.634    [DEBUG][8]     - trying 9/4/2015 8:00 PM
2015-08-26 15:28:17.644    [DEBUG][8]     - Yes! Scheduled alternative: 9/4/2015 8:00 PM
2015-08-26 15:28:17.646    [INFO][8]    UpdateRecurringRecording(223, '20/20'):
It's scheduling America's Got Talent, which airs the weekly "live" show on Tuesday (09/1), and then re-airs it on Friday (9/4). For testing I added a "new only" criterion to my recurring request, manually created a conflict on Tuesday and then ran the EPG update. You can see it finds the new episode on 9/1, can't schedule it, and marks it as a conflict, then continues other scheduling operations. It then finds the 9/4 episode, which is not scheduled because it's a repeat; without the "new only" flag, this showing would be scheduled and the conflict would be resolved by the original logic.
After concluding scheduling for AGT, and before moving on to the next program to be scheduled, it checks if any conflicts remain for this program and begins looking for another airing of the specific unique_id. In this early version of the code it checks all channels right away; in the release version it first looks only on the original channel, and then tries a second time on all channels. It does end up trying to schedule the 9/1 airing again, which is redundant but harmless; not worth the bother to add code to avoid it when it only takes 15ms to do it. It then finds the 9/4 showing, and now unconcerned with the "new only" flag it triumphantly ("Yes!") schedules it. Then it moves on to the next program to be scheduled, 20/20 in my case.
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
TRiddle
Offline

Junior Member

Posts: 24
Threads: 2
Joined: Aug 2015
#16
2015-09-02, 03:57 PM
Excellent. Thanks for the log snippet, that helps me understand the logic quite a bit. And once again, a huuuuuge thanks for this feature.
TRiddle
Offline

Junior Member

Posts: 24
Threads: 2
Joined: Aug 2015
#17
2015-09-07, 12:00 AM
Spent the long weekend putting the new recording logic through the paces. It is working absolutely perfect. Thanks again for making this happen!
jrockow
Offline

Senior Member

Posts: 713
Threads: 110
Joined: Nov 2005
#18
2015-09-11, 12:59 PM
Is there any way to automatically notify the user there is a conflict, or must I always go to the Conflict screen to find out?
I was thinking of some type of popup flag.
Thanx.
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#19
2015-09-11, 04:33 PM
nothing I'm aware of, certainly nothing within the program. i think maybe the system plugin will display something about conflicts, but you'd still have to access the system plugin screen.

it would be nice if there were some sort of flag in the corner of the recordings screen (regardless of which particular recording screen you're on) that conflicts are present. I go for many months, even years, without getting a conflict, so on the extremely rare occasion that I do, I usually don't find out until I go looking to find out why some show didn't record.
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
jrockow
Offline

Senior Member

Posts: 713
Threads: 110
Joined: Nov 2005
#20
2015-09-11, 05:35 PM
As long as we're wishing for something, I suggest Sub add the flag next to the dateline at the top right of the screen.
I personally don't use the Recording screens; I use my own custom screen.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (5): « Previous 1 2 3 4 5 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Recording movies / TV to XBMC directory stucture spinnaker 10 3,549 2024-06-03, 03:56 AM
Last Post: Rod Hutchinson
  Not recording errors vidwiz 4 1,000 2024-04-17, 05:39 PM
Last Post: mvallevand
  Add Series/Episode Info to Recording Metadata andrewj 2 1,076 2023-11-20, 03:42 PM
Last Post: sub
  Recording to a network drive woes. 2leftfeet 12 7,196 2022-04-05, 08:03 PM
Last Post: mvallevand
  device needed for recording David209 2 1,734 2021-04-04, 08:47 AM
Last Post: David209
  PC not going to sleep after recording LeoL 7 3,271 2021-04-01, 07:17 PM
Last Post: Handy.Man
  HDHomerun recording bizzarely not working Jean0987654321 3 2,038 2021-03-27, 03:23 PM
Last Post: Jean0987654321
Video Restrict Recording Space foucomm 1 1,327 2021-01-30, 09:25 PM
Last Post: mvallevand
  Directory dropdown on the recording edit dialog MicahMakenzie 1 1,500 2021-01-11, 04:37 PM
Last Post: Graham
  Recording service stopped or not running at scheduled time MattInetroit 3 1,887 2021-01-08, 12:03 AM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode