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 »
Easiest Way to make a conflict happen?

Easiest Way to make a conflict happen?
danorum
Offline

Junior Member

Posts: 26
Threads: 4
Joined: Aug 2015
#1
2015-09-11, 07:11 PM
I am trying to test code to check for conflicts, but I am having a hard time making a conflict. If I try to record five shows, NPVR won't let me. It makes me cancel or delete one of the first 4.

Thanks,
Dan
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,707
Threads: 767
Joined: Nov 2003
#2
2015-09-11, 07:16 PM
I'll describe are you make it happen with a single tuner, and then you'll need to extend the idea for your multiple tuners.

Say you have 'Friends' air every night at 7:30. Schedule a one-off recording, a few days in the future, at 7:30, for some other channel. Then schedule a season recording for Friends, starting for tonight's episode. You should get a conflict for that episode of friends a few nights in the future.
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#3
2015-09-11, 07:36 PM
or if you want to do it for a recurring recording you already have, find an episode of it in the Pending list, select "Forget" from the hidden menu (so it dumps the unique_id), then delete the pending recording. now use one-off recordings to use all the tuners in that timeslot, and then update the EPG. Of course you have to be sure there's no other airing of the same episode available, else it will just schedule that one.
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
danorum
Offline

Junior Member

Posts: 26
Threads: 4
Joined: Aug 2015
#4
2015-09-11, 08:31 PM
sub Wrote:I'll describe are you make it happen with a single tuner, and then you'll need to extend the idea for your multiple tuners.

Say you have 'Friends' air every night at 7:30. Schedule a one-off recording, a few days in the future, at 7:30, for some other channel. Then schedule a season recording for Friends, starting for tonight's episode. You should get a conflict for that episode of friends a few nights in the future.

That did it.

I was a little surprised that ScheduledRecordings.LoadAll(true) didn't get the pending conflicts. It looks like that only get the list of upcoming recordings that are going to happen. It was pretty easy to just go through them and get any with a status of RecordingStatus.STATUS_CONFLICT.

Now, I just have to make it "configurable" in case anyone else wants to use it. I am thinking about just adding it to the end of my update EPG .bat file.

Dan
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,932
Threads: 956
Joined: May 2006
#5
2015-09-11, 09:02 PM
Tell your wife that your show is more important than her's.

Martin
ACTCMS
Offline

Posting Freak

UK
Posts: 2,730
Threads: 101
Joined: Jun 2007
#6
2015-09-11, 09:14 PM
mvallevand Wrote:Tell your wife that your show is more important than her's.

Martin
lol Big Grin
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#7
2015-09-11, 09:17 PM
mvallevand Wrote:Tell your wife that your show is more important than her's.

Martin
yeah, but he won't need a script to email him to let him know he's created a conflict. but if he could create one that would tell him WHY there's a conflict, that'd be worth billions.
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
danorum
Offline

Junior Member

Posts: 26
Threads: 4
Joined: Aug 2015
#8
2015-09-11, 10:05 PM (This post was last modified: 2015-09-12, 02:37 PM by danorum.)
Very funny guys...

Well, here it is.. There is no error handling, so it will just crash if there is an exception.

If there is one conflict, you get the program and date in the subject. If there is more than one, you get a single email with "Multiple NPVR Conflicts" in the subject. If there are no conflicts it exits if noconflictmail is false or if true it sends an email telling you there are no conflicts.

This does require you to use authenticated SMTP. Put both files in your C:\Program Files (x86)\NPVR directory. Then just fill in the fields in the NPVRConflicts.exe.xml and then run NPVRConflicts. I just put it in my PostEPGUpdate.bat file.

Dan
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#9
2015-09-11, 11:07 PM
I assume you mean you put it in PostUpdateEPG.bat?

May I suggest that you post a thread in the Add-ons forum, and I'll make it a sticky for you if it won't let you do it yourself. If you wouldn't mind going one step further, post a request for wiki author access in the documentation forum and then add your program to the Utilities section of the wiki.
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)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Easiest way to migrate NPVR to a new machine JP23 1 1,955 2020-02-24, 04:55 PM
Last Post: sub
  how to make a m3u playlist zikky 21 9,570 2019-09-09, 09:58 PM
Last Post: sub
  Conflict recording problem. mvallevand 10 2,460 2019-02-14, 05:24 PM
Last Post: sub
  Make A NextPVR server that works on Nvidia Shield dtbcinci 0 2,150 2018-09-27, 02:21 PM
Last Post: dtbcinci
  can you make it retry on 401 errors? pBS 10 3,956 2018-08-20, 02:20 AM
Last Post: sub
  How to make NPVR record from two different multiplexes using the correct decoders martinu 6 2,691 2018-01-22, 11:23 AM
Last Post: martinu
  Easiest way to get a full feature remote working in NextPVR RKCRLR 10 4,767 2017-12-17, 01:08 PM
Last Post: HarryH3
  Solving 1 minute conflict stu2j 5 1,790 2017-10-27, 04:19 PM
Last Post: stu2j
  Advice for Argus TV user, looking to make the change. elsmandino 8 3,901 2016-12-07, 12:47 PM
Last Post: mvallevand
  Conflict between NextPVR Recording to NAS and WinTV8 Cannot bickertn 19 5,472 2016-11-03, 01:49 PM
Last Post: bickertn

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

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

Linear Mode
Threaded Mode