SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Software
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.)

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-27-2018, 07:12 PM
amg amg is offline
Sage Advanced User
 
Join Date: Jan 2005
Posts: 161
Help with connflict resolution

Recently Sage has been giving me the conflict icon and showing a conflict that in the past I think it would be able to resolve on it's own.

The conflict is for MTV's "The Challenge" on Tuesdays at 9pm. Sage is reporting a conflict with another favorite "The Real Housewives of Beverly Hills" which airs at the same time and about 6 others times. The favorite for TRHoBH is First Run & ReRun/Any Channel.

1) Why is the scheduler not choosing another non-conflicting airing? There are non-conflicting airings, I have been choosing them manually to resolve the conflict.

2) What can I do to debug this?

SageTv v9.1.7.581
unRaid Docker
__________________
unRaid Server:Quad-Core Xenon, 20 GB Ram, openDCT/sageTV Dockers, HDHR,HDHR Prime
Network Encoder:Dell Inspiron 1000 Laptop, 512MB Ram, Windows XP, HDPVR
Reply With Quote
  #2  
Old 02-28-2018, 04:00 PM
texneus texneus is offline
Sage Aficionado
 
Join Date: Nov 2009
Location: DFW
Posts: 279
Just a random guess but perhaps the repeats are too far out for the scheduler to work with them. You might also have other, higher priority, programs that record or padding that overlaps at those same times, which would prevent it from recording the other time slots, OR, the alternate airings are of episodes already recorded or watched.
__________________
Server: Xeon E3-1225, 32GB RAM, Open Media Vault 5, SageTV Docker
Tuners: HD Homerun Quatro (OTA)
Clients: NVidia SheildTV x3
Reply With Quote
  #3  
Old 02-28-2018, 09:07 PM
amg amg is offline
Sage Advanced User
 
Join Date: Jan 2005
Posts: 161
Thanks. Those are not it.... The show airs first 9pm on Tuesday and re-airs 3 more times in the next 12 hours when no other shows are airing.

I took a look at the Scheduler code and there is a property 'scheduler_debug' that when set in Sage.properties to true will log extra info in the log file. I will try that when I get some down time, and see if I can figure out why the simple conflict resolution is not happening.
__________________
unRaid Server:Quad-Core Xenon, 20 GB Ram, openDCT/sageTV Dockers, HDHR,HDHR Prime
Network Encoder:Dell Inspiron 1000 Laptop, 512MB Ram, Windows XP, HDPVR
Reply With Quote
  #4  
Old 03-01-2018, 06:27 AM
Tiki's Avatar
Tiki Tiki is offline
Sage Icon
 
Join Date: Feb 2005
Location: Southwest Florida, USA
Posts: 2,009
I would also suggest looking closely at the EPG data for each of the airings of the two conflicting shows. Is it exactly the same? Same show title, same episode title, same episode ID? Are the flags the same - HD, 1st run, Watched,etc? It’s possible that Sage is treating those future airings as a different episode

I would also take a close look at the favorite settings for these two shows. Are there any restrictions such as limiting to a specific channel or time slot?

Also, is there any chance that those future airings have other conflicts?
__________________
Server: Ryzen 2400G with integrated graphics, ASRock X470 Taichi Motherboard, HDMI output to Vizio 1080p LCD, Win10-64Bit (Professional), 16GB RAM
Capture Devices (7 tuners): Colossus (x1), HDHR Prime (x2)
,USBUIRT (multi-zone)
Source:
Comcast/Xfinity X1 Cable
Primary Client: Server Other Clients: (1) HD200, (1) HD300
Retired Equipment: MediaMVP, PVR150 (x2), PVR150MCE,
HDHR, HVR-2250, HD-PVR
Reply With Quote
  #5  
Old 03-03-2018, 11:40 AM
amg amg is offline
Sage Advanced User
 
Join Date: Jan 2005
Posts: 161
I spent some time looking into this. The scheduler was "abandoning early" due to "extensive complexity".

I increased the insane permute count in Sage.properties to :

scheduler/limiter_insane_permute_count=5000000.0

This enabled the scheduler to de-conflict. It did not add a considerable amount of time to the scheduler.

The below is from the log. I'm not sure why the total permutations would total 4.5 Million for this deconfliction, where the default 'insane' limit is 10000.

I'm not sure, but is seems the permutation is calculated by the number of airings * the number of tuners * the previous # of permutations. This number can get big fast.

In this case with the insane limit set at 5M (500 times default) , the scheduler completed in .05 seconds. It seems to be a disconnect between insane and do-able.

Code:
Sat 3/3 11:57:50.339 [Scheduler@f268a27] showSetMapKey=Show[Title=The Challenge, Episode=Vendettas: Rumor Has It, Desc=When a secret hookup gets exposed, two romances shatter and the entire house turns upside-down; Tony struggles with making a huge game decision., Cat=Reality, People=[T.J. Lavin, Devin Walker, Eddie Williams, Johnny Bananas, Kayleigh Morris, Kyle Christie, Marie Roda, Melissa Reeves, Natalie Negrotti, Nelson Thomas, Nicole Ramos, Rogan O'Connor, Victor Arroyo, Alicia Wright, Brad Florenza, Britni Thornton, Cara Maria Sorbello, Cory Wharton, Jemmye Carroll, Joss Mooney, Kailah Casillas, Kam Williams, Leroy Garrett, Nicole Zanatta, Shane Landrum, Sylvia Elsrode, Tony Raines, Veronica Portillo, Zach Nicols, ], id=8704174, extID=EP026101360082]
Sat 3/3 11:57:50.340 [Scheduler@f268a27] currAirOptions=[A[8704279,8704174,"The Challenge",60964@0306.21:00,92,T]]
Sat 3/3 11:57:50.340 [Scheduler@f268a27] appendage=null AFTERcurrAirOptions=[A[8704279,8704174,"The Challenge",60964@0306.21:00,92,T]]
Sat 3/3 11:57:50.340 [Scheduler@f268a27] CASE 2 TIME TO REARRANGE
Sat 3/3 11:57:50.340 [Scheduler@f268a27] currAirOpt=A[8704279,8704174,"The Challenge",60964@0306.21:00,92,T]
Sat 3/3 11:57:50.341 [Scheduler@f268a27] conflictMap={Show[Title=Chicago Med, Episode=Folie à Deux, Desc=After a neighbor is stabbed, Dr. Choi enlists the help of April to figure out the real cause of the incident; Noah misdiagnoses a patient; Dr. Reese's estranged father comes to Dr. Charles as a patient without her knowledge., Cat=Drama, SubCat=Medical, People=[Oliver Platt, S. Epatha Merkerson, Nick Gehlfuss, Yaya DaCosta, Colin Donnell, Brian Tee, Torrey DeVitto, Rachel Katherine DiPillo, Marlyne Barrett, Norma Kuhling, Michael Gill, Roland Buck III, Jesse Lee Soffer, Ato Essandoh, Eddie Jemison, Michael Brandt, Derek Haas, Dick Wolf, Andrew Schneider, Diane Frolov, Matt Olmstead, Michael Brandt, Derek Haas, Danielle Gelber, Arthur W. Forney, Peter Jankowski, Joe Chappelle, ], id=8617019, extID=EP021835930053]=[A[8618784,8617019,"Chicago Med",20459@0306.22:01,59,T], A[8618123,8617019,"Chicago Med",11326@0306.22:01,59,T]], Show[Title=The Bachelor, Episode=After the Final Rose, Desc=Arie, Becca and Lauren discuss the outcome of their journey with Chris Harrison; special guests talk about Arie's dilemma and his choices; the new bachelorette's identity is revealed., Cat=Reality, SubCat=Romance, People=[Chris Harrison, Arie Luyendyk Jr., Mike Fleiss, Martin Hilton, Elan Gale, Bennett Graebner, Nicole Woods, ], id=8695469, extID=EP5000800394]=[A[8695572,8695469,"The Bachelor",20453@0306.20:00,121,T], A[8695555,8695469,"The Bachelor",11794@0306.20:00,121,T]], Show[Title=This Is Us, Episode=This Big, Amazing, Beautiful Life, Desc=Randall and Beth welcome visitors to their home., Cat=Drama, People=[Mandy Moore, Milo Ventimiglia, Sterling K. Brown, Chrissy Metz, Justin Hartley, Chris Sullivan, Susan Kelechi Watson, Ron Cephas Jones, Eris Baker, Alex Breckenridge, Faithe Herman, Hannah Zeile, Dan Fogelman, Jess Rosenthal, Charlie Gogolak, John Requa, Glenn Ficarra, ], id=8617018, extID=EP024314420038]=[A[8618783,8617018,"This Is Us",20459@0306.21:00,61,T], A[8618122,8617018,"This Is Us",11326@0306.21:00,61,T]], Show[Title=Chicago P.D., Episode=Profiles, Desc=A string of bombings is targeting members of the media; the team enlists firehouse 51 to help examine the devices and prevent the next attack., Cat=Crime drama, SubCat=Action, People=[Jason Beghe, Patrick John Flueger, LaRoyce Hawkins, Elias Koteas, Jon Seda, Jesse Lee Soffer, Marina Squerciati, Amy Morton, Tracy Spiridakos, Dick Wolf, Michael Brandt, Derek Haas, Peter Jankowski, Danielle Gelber, Joe Chappelle, Michael Brandt, Derek Haas, Matt Olmstead, Dick Wolf, Terry Miller, Michele Greco, Maisha Closson, Mark Tinker, Nick Gomez, Craig Gore, Tim Walsh, Rohn Schmidt, ], id=8622491, extID=EP017387030106]=[A[8624575,8622491,"Chicago P.D.",20459@0307.22:00,60,T], A[8623787,8622491,"Chicago P.D.",11326@0307.22:00,60,T]], Show[Title=The Real Housewives of Beverly Hills, Episode=Gag Gift, Desc=Erika's Hollywood journey comes full circle; the women attend Camille's charity event, where Teddi's motives are brought into question; Dorit tries to repair her relationship with Lisa Vanderpump; Camille attempts to silence Dorit once and for all., Cat=Reality, SubCat=Entertainment, People=[Erika Girardi, Lisa Vanderpump, Kyle Richards, Lisa Rinna, Dorit Kemsley, Teddi Mellencamp Arroyave, Camille Grammer, Alex Baskin, Douglas Ross, Chris Cullen, Greg Stewart, Toni Gallagher, ], id=8614103, extID=EP013271680261]=[A[8614141,8614103,"The Real Housewives of Beverly Hills",58625@0306.21:00,60,T], A[8617506,8614103,"The Real Housewives of Beverly Hills",58625@0306.23:30,60,T], A[8704220,8614103,"The Real Housewives of Beverly Hills",58625@0307.02:02,58,T], A[8704427,8614103,"The Real Housewives of Beverly Hills",58625@0307.22:00,60,T], A[8704429,8614103,"The Real Housewives of Beverly Hills",58625@0308.00:31,61,T], A[8708134,8614103,"The Real Housewives of Beverly Hills",58625@0311.12:00,60,T], A[8699325,8614103,"The Real Housewives of Beverly Hills",58625@0320.19:00,60,T]], Show[Title=Designated Survivor, Episode=The Final Frontier, Desc=A missile intended to bring water to stranded astronauts in space is hacked; President Kirkman must work with Russia to help save lives and find out who is behind the hack; Hannah finds herself working with Damian again., Cat=Drama, SubCat=Politics, People=[Kiefer Sutherland, Paulo Costanzo, Adan Canto, Italia Ricci, LaMonica Garrett, Zoe McLellan, Ben Lawson, Kal Penn, Maggie Q, Kim Raver, David Guggenheim, Mark Gordon, Kiefer Sutherland, Simon Kinberg, Nick Pepper, Jeff Melvoin, Suzan Bymel, Aditya Sood, Jeff Melvoin, Sharat Raju, ], id=8631946, extID=EP024326640033]=[A[8632190,8631946,"Designated Survivor",20453@0307.22:00,60,T], A[8632066,8631946,"Designated Survivor",11794@0307.22:00,60,T]], A[8704279,8704174,"The Challenge",60964@0306.21:00,92,T]=[A[8704279,8704174,"The Challenge",60964@0306.21:00,92,T]]} immutOverlaps=[A[8635585,8635521,"The Flash",20373@0306.20:00,60,T], A[8614140,8614102,"The Real Housewives of Beverly Hills",58625@0306.20:00,60,T]] forcedLaps=[]
Sat 3/3 11:57:50.342 [Scheduler@f268a27] STARTING ITERATIVE SCHEDULE totalPermutes=4408992.0 runningPermutes=1469664.0 permutesCounts.length=9
Sat 3/3 11:57:50.342 [Scheduler@f268a27] TotalPermutes:4408992.0 TotalReductions:489888.0 permsChecked=0
Sat 3/3 11:57:50.395 [Scheduler@f268a27] NEW1 BestPermute=[EncAir[A[8635585,8635521,"The Flash",20373@0306.20:00,60,T] HDHomeRun 10146919 Tuner 0 true], EncAir[A[8614140,8614102,"The Real Housewives of Beverly Hills",58625@0306.20:00,60,T] Hauppauge HD PVR Capture Device on 192.168.0.178:6969 true], EncAir[A[8617506,8614103,"The Real Housewives of Beverly Hills",58625@0306.23:30,60,T] Hauppauge HD PVR Capture Device on 192.168.0.178:6969 false], EncAir[A[8618784,8617019,"Chicago Med",20459@0306.22:01,59,T] HDHomeRun 10146919 Tuner 0 false], EncAir[A[8695572,8695469,"The Bachelor",20453@0306.20:00,121,T] HDHomeRun 10146919 Tuner 0 false], EncAir[A[8618783,8617018,"This Is Us",20459@0306.21:00,61,T] HDHomeRun 10146919 Tuner 0 false], EncAir[A[8624575,8622491,"Chicago P.D.",20459@0307.22:00,60,T] HDHomeRun 10146919 Tuner 0 false], EncAir[A[8632190,8631946,"Designated Survivor",20453@0307.22:00,60,T] HDHomeRun 10146919 Tuner 0 false], EncAir[A[8704279,8704174,"The Challenge",60964@0306.21:00,92,T] Hauppauge HD PVR Capture Device on 192.168.0.178:6969 false]]
Sat 3/3 11:57:50.395 [Scheduler@f268a27] SCHEDULING Total permutations checked:1100 evaluated:1.0 reductions=1095687.0
Sat 3/3 11:57:50.395 [Scheduler@f268a27] BestPermute=[EncAir[A[8635585,8635521,"The Flash",20373@0306.20:00,60,T] HDHomeRun 10146919 Tuner 0 true], EncAir[A[8614140,8614102,"The Real Housewives of Beverly Hills",58625@0306.20:00,60,T] Hauppauge HD PVR Capture Device on 192.168.0.178:6969 true], EncAir[A[8617506,8614103,"The Real Housewives of Beverly Hills",58625@0306.23:30,60,T] Hauppauge HD PVR Capture Device on 192.168.0.178:6969 false], EncAir[A[8618784,8617019,"Chicago Med",20459@0306.22:01,59,T] HDHomeRun 10146919 Tuner 0 false], EncAir[A[8695572,8695469,"The Bachelor",20453@0306.20:00,121,T] HDHomeRun 10146919 Tuner 0 false], EncAir[A[8618783,8617018,"This Is Us",20459@0306.21:00,61,T] HDHomeRun 10146919 Tuner 0 false], EncAir[A[8624575,8622491,"Chicago P.D.",20459@0307.22:00,60,T] HDHomeRun 10146919 Tuner 0 false], EncAir[A[8632190,8631946,"Designated Survivor",20453@0307.22:00,60,T] HDHomeRun 10146919 Tuner 0 false], EncAir[A[8704279,8704174,"The Challenge",60964@0306.21:00,92,T] Hauppauge HD PVR Capture Device on 192.168.0.178:6969 false]]
__________________
unRaid Server:Quad-Core Xenon, 20 GB Ram, openDCT/sageTV Dockers, HDHR,HDHR Prime
Network Encoder:Dell Inspiron 1000 Laptop, 512MB Ram, Windows XP, HDPVR
Reply With Quote
  #6  
Old 03-03-2018, 02:24 PM
wnjj wnjj is offline
Sage Icon
 
Join Date: Jan 2009
Posts: 1,514
What was “insane” for computers 10 years ago probably isn’t so much anymore.

It could also be that the worse case time really is insane but yours found the solution early in the process in this instance.
Reply With Quote
  #7  
Old 03-05-2018, 06:36 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by wnjj View Post
What was “insane” for computers 10 years ago probably isn’t so much anymore.

It could also be that the worse case time really is insane but yours found the solution early in the process in this instance.
Also, we should remember SageTV was running on a rather low power system when it was used on Fiber and Jeff's still running an Athlon XP, so this probably is still an insane number for him. It could benefit us to change this to a much higher limit or something based on your detected computer capabilities.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache).
Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI.

Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom).
Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG
Reply With Quote
  #8  
Old 03-13-2018, 09:00 PM
Monedeath Monedeath is offline
Sage Expert
 
Join Date: Sep 2009
Location: Idaho
Posts: 514
Quote:
Originally Posted by EnterNoEscape View Post
Also, we should remember SageTV was running on a rather low power system when it was used on Fiber and Jeff's still running an Athlon XP, so this probably is still an insane number for him. It could benefit us to change this to a much higher limit or something based on your detected computer capabilities.
Which isn't to mention that it was a single-threaded process back then as well. Something I recall you making changes to. So it can throw more processing resources at it now than it could just a couple years ago.
Reply With Quote
  #9  
Old 04-14-2018, 03:13 PM
VCRUser VCRUser is offline
Sage Aficionado
 
Join Date: Jan 2008
Posts: 444
Quote:
Originally Posted by amg View Post
I spent some time looking into this. The scheduler was "abandoning early" due to "extensive complexity".

I increased the insane permute count in Sage.properties to :

scheduler/limiter_insane_permute_count=5000000.0

This enabled the scheduler to de-conflict. It did not add a considerable amount of time to the scheduler.
I have been having similar problems, but I couldn't find in my logs any references to permutations. Maybe I'm looking in the wrong file? I looked in Sage1.txt, since I didn't have any recent .log files. I did just up my count by 10 times, to see what a fairly conservative approach might do. I assume I'll need to wait until the next schedule-run to see if I end up with fewer conflicts. What I am finding in general, though, is that many of the conflicts resolve themselves if I wait until it's closer to the date on which the offending shows are to air, but also that shows that are not in my favorites or manual recordings are showing up as "in conflict" for a while.
__________________
Server: Windows 8.1 4gb RAM; 4TB SATA + others. Homebrew quad core AMD. Inputs: Haup. 980, 850 & 950Q on ATSC; Haup 1600 on ATSC & Comcast 2 DTAs with USBUIRT for NTSC. Haup 1800 on ATSC. HDHR Dual (ATSC). Sage 9.22 64 bit.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
21:9 Resolution? bcjenkins The SageTV Community 10 02-10-2011 08:35 AM
Screen Resolution markcf105 SageTV Beta Test Software 11 06-02-2010 06:18 PM
Newbie - Resolution and PUA? PatM SageTV Software 5 04-19-2009 02:47 PM
How do I display HD resolution? bonoman SageTV Software 8 01-05-2008 01:15 PM
Need better resolution with PVR 350 jettman SageTV Software 19 05-22-2004 09:44 AM


All times are GMT -6. The time now is 10:17 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.