SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Github Development
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-25-2017, 05:10 AM
NetworkGuy NetworkGuy is offline
Sage Fanatic
 
Join Date: Dec 2009
Location: Central NJ
Posts: 869
Number of Days to Schedule Recordings

Are there any plans to increase this beyond 14 days with the carney re-write?
__________________
Hardware: Intel Core i5-3330 CPU; 8GB (2 x 4GB); 2-4TB WD Blue SATA 6.0Gb/s HDD; Windows 7
Servers: ChannelsDVR, Plex, AnyStream, PlayOn,
Tuner: HDHomeRun Connect Quatro
Tuner: HDHomeRun Connect Duo
Sources: OTA, Sling Blue, Prime, Disney+,
Clients: ShieldTV (2), Fire TV Stick 4K (4)
Reply With Quote
  #2  
Old 05-25-2017, 05:42 AM
KeithAbbott KeithAbbott is offline
Sage Icon
 
Join Date: Oct 2009
Location: Southeastern Michigan
Posts: 1,375
Maybe I'm not understanding your post, but I would think this would be more a limitation of the EPG data than carny.
__________________
Server: MSI Z270 SLI Plus ATX Motherboard, Intel i7-7700T CPU, 32GB Memory, Unraid 6.11.5, sagetvopen-sagetv-server-opendct-java11 Docker (version 2.0.7)
Tuners: 2 x SiliconDust HDHomeRun Prime Cable TV Tuners, SiliconDust HDHomeRun CONNECT 4K OTA Tuner
Clients: Multiple HD300 Extenders, Multiple Fire TV Stick 4K Max w/MiniClient
Miscellaneous: Multiple Sony RM-VLZ620 Universal Remote Controls
Reply With Quote
  #3  
Old 05-25-2017, 06:17 AM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
That's just a UI change, there's nothing stopping you from changing it manually in Sage.properties. Someone just needs to edit the default STV to allow a greater range.
__________________
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
  #4  
Old 05-25-2017, 06:49 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Quote:
Originally Posted by KeithAbbott View Post
Maybe I'm not understanding your post, but I would think this would be more a limitation of the EPG data than carny.
It appears to me that SD seems to contain data farther into the future. Under the old EPG I think the best I ever got was 14 days. Under SD I am pretty sure that I have seen close to 21 days at times. But I rarely plan that far into the future.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #5  
Old 05-25-2017, 10:08 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
The other question is what good does it do? The schedule beyond maybe 7 days seems to not be very useful already. When I look well into the future I see lot of stuff that's syndicated scheduled to record that never actually will be, because out past a week or so, the guide data (even SD I think) just has show IDs for the airings, but they eventually get updated with Episode IDs that have already been recorded so the scheduled recordings "disappear" as they get closer.
Reply With Quote
  #6  
Old 05-25-2017, 10:30 AM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by stanger89 View Post
The other question is what good does it do? The schedule beyond maybe 7 days seems to not be very useful already. When I look well into the future I see lot of stuff that's syndicated scheduled to record that never actually will be, because out past a week or so, the guide data (even SD I think) just has show IDs for the airings, but they eventually get updated with Episode IDs that have already been recorded so the scheduled recordings "disappear" as they get closer.
There is one benefit to having so much guide data, but it's not really related to the Schedule. Often I can add a favorite for a show that's premiering 3 weeks out instead of making a note of it to try again later. I know you could also do a keyword favorite, but I generally don't like that approach if I just want a specific show.

I found several favorite airings linked to a real episode on 6/13. Some of them actually have non-generic descriptions too. I do see some of what you're talking about too that far out, but my point is that it's not completely useless. Also extending out to 21 days resolved one of my conflicts, so that alone might make it worth doing.
__________________
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
  #7  
Old 05-25-2017, 10:44 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
It really just comes down to there not being a real reason NOT to remove the 14 day cap in the UI. Just a matter of it getting done, that's all. Relatively simple change, but it is still a change in the UI - which is no fun to do. :-)
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #8  
Old 05-25-2017, 10:58 AM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by Fuzzy View Post
It really just comes down to there not being a real reason NOT to remove the 14 day cap in the UI. Just a matter of it getting done, that's all. Relatively simple change, but it is still a change in the UI - which is no fun to do. :-)
The only reason I can think of for why not is how it could adversely affect performance for much slower computers. It will make the Scheduler churn a little longer and does make Carny process airings a little longer.
__________________
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
  #9  
Old 05-25-2017, 11:09 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
True, I'm not saying make the default 21... just allow it to be set higher if so desired.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #10  
Old 05-25-2017, 12:24 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Quote:
Originally Posted by EnterNoEscape View Post
There is one benefit to having so much guide data, but it's not really related to the Schedule. Often I can add a favorite for a show that's premiering 3 weeks out instead of making a note of it to try again later. I know you could also do a keyword favorite, but I generally don't like that approach if I just want a specific show.
Oh absolutely, that makes sense. The more guide data available, the better. I'm just wondering what the value is of telling Sage to actually schedule out farther. Just doesn't seem like the guide data is that reliable/complete even say 7 days out.

Only real case I can see for scheduling farther out is to avoid conflicts, Sage has more airings to attempt to resolve them with, but again, given the unreliability, incompleteness of the more distant data, that benefit seems somewhat dubious.
Reply With Quote
  #11  
Old 05-25-2017, 03:49 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by stanger89 View Post
Only real case I can see for scheduling farther out is to avoid conflicts, Sage has more airings to attempt to resolve them with, but again, given the unreliability, incompleteness of the more distant data, that benefit seems somewhat dubious.
I would agree with this and I will not argue that they don't change things often even up until a few hours before the actual airing, but I have seen conflicts disappear a few days after they appeared and the reason was because another airing just a little further out was now visible to the scheduler. I'd rather not see the conflict.
__________________
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
  #12  
Old 05-25-2017, 04:18 PM
Tiki's Avatar
Tiki Tiki is offline
Sage Icon
 
Join Date: Feb 2005
Location: Southwest Florida, USA
Posts: 2,009
Sage V9 made a change to the scheduled (at least in 9.012) where it no longer uses all available EPG data for conflict resolution. In v7, if you had 12 days of data, but told Sage to schedule 7 days in advance, if there was a conflict on day 7, it would look out to days 8-12 to see if it could resolve the conflict. In v9.012 it doesn't and instead just displays the conflict icon. Has this behavior been fixed with the latest update, or are there plans to do so?
__________________
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
  #13  
Old 05-25-2017, 04:22 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
I'm not aware of any changes in that area. The Scheduler likely changed a bit between v7 and v9 which might have lead to some slightly different behavior than in the past. It also has a timeout for how long it will try to resolve conflicts before posting the new schedule that might be affecting you at random.
__________________
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
  #14  
Old 05-26-2017, 11:16 AM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
Quote:
Originally Posted by Tiki View Post
Sage V9 made a change to the scheduled (at least in 9.012) where it no longer uses all available EPG data for conflict resolution. In v7, if you had 12 days of data, but told Sage to schedule 7 days in advance, if there was a conflict on day 7, it would look out to days 8-12 to see if it could resolve the conflict. In v9.012 it doesn't and instead just displays the conflict icon. Has this behavior been fixed with the latest update, or are there plans to do so?
At first I was going to tell you that you are wrong...but then I went and diff'd the V7 to V9 code and you are right. There was a change made to fix another bug where changing channel restrictions for a Favorite didn't properly remove the entries from the schedule...although I'm not sure why the change is actually needed, because it looks redundant to some degree.

If you're a dev, you can test it out by removing the checks for 'god.isMustSee(kitty[p])' in Scheduler.processMustSeeForAirs (lines 637 and 651). And that *should* revert to the old behavior. I don't have a problem approving a change like that because there was likely some other dependence relating to how we did things in Fiber that made me do it.
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #15  
Old 05-26-2017, 11:53 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Jeff... your object names man... :-)
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #16  
Old 05-26-2017, 06:13 PM
Tiki's Avatar
Tiki Tiki is offline
Sage Icon
 
Join Date: Feb 2005
Location: Southwest Florida, USA
Posts: 2,009
Quote:
Originally Posted by Narflex View Post
At first I was going to tell you that you are wrong...but then I went and diff'd the V7 to V9 code and you are right. There was a change made to fix another bug where changing channel restrictions for a Favorite didn't properly remove the entries from the schedule...although I'm not sure why the change is actually needed, because it looks redundant to some degree.

If you're a dev, you can test it out by removing the checks for 'god.isMustSee(kitty[p])' in Scheduler.processMustSeeForAirs (lines 637 and 651). And that *should* revert to the old behavior. I don't have a problem approving a change like that because there was likely some other dependence relating to how we did things in Fiber that made me do it.
Thanks for investigating. Unfortunately, I have not done any Java programming and don't have a dev environment set up. Any chance someone here could try the change?
__________________
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
  #17  
Old 05-26-2017, 08:18 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by Tiki View Post
Thanks for investigating. Unfortunately, I have not done any Java programming and don't have a dev environment set up. Any chance someone here could try the change?
Check your PM.
__________________
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
  #18  
Old 05-29-2017, 11:21 AM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Tiki reports that this appears to have corrected the issue. I'll submit the changes with some comments on why we removed the check.
__________________
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
  #19  
Old 05-30-2017, 05:36 PM
GoAWest's Avatar
GoAWest GoAWest is offline
Sage User
 
Join Date: Dec 2010
Location: Bay Area, CA, USA
Posts: 44
scheduling_lookahead var vs. GUI with EPG

Manually setting the scheduling_lookahead = [e.g. 23x24x60x60x1000=big number] env in Sage.properties works (e.g. old EPG=14-days, new Schedules Direct EPG = 21 days, or so] and is reflected in the GUI. But if you open the setting via the GUI it reverts to the 14-day max value even if the user doesn't accept/change the value. Hopefully the proposed GUI update will set this range to a (much?) larger max value. And let the user select the best value he wants equal to or smaller than that value based on guide data length or his pref.
Reply With Quote
  #20  
Old 05-30-2017, 05:48 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
The STV change was made and committed. The default is still 14 days, but the range now goes up to 21. The next SageTV release will have this change.
__________________
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
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
2 Days of Scheduled Recordings bits SageTV Software 3 12-06-2009 03:10 PM
Increase # of Days in Recording Schedule skyeclad SageTV Software 7 11-21-2007 02:25 PM
number of days in epg JonTom SageTV Canada 1 04-11-2005 01:01 PM
I get corrupted recordings after 1 to 2 days of uptime jbromwich Hardware Support 4 03-01-2005 12:24 AM
Upcoming Rec Schedule does NOT show what's scheduled for recording beyond 2-3 days sudipto SageTV Beta Test Software 14 03-15-2004 03:47 AM


All times are GMT -6. The time now is 02:06 AM.


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