SageTV Community  

Go Back   SageTV Community > Hardware Support > Hardware Support
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

Hardware Support Discussions related to using various hardware setups with SageTV products. Anything relating to capture cards, remotes, infrared receivers/transmitters, system compatibility or other hardware related problems or suggestions should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-01-2019, 08:29 PM
cubdukat cubdukat is offline
Sage User
 
Join Date: Jun 2015
Location: Chicago
Posts: 13
Question About Tuner Usage

Recently I have had to dig out my old HDHomerun Dual tuner and SageTV because Comcast has become increasingly glitchy since they switched over to MPEG-4, and I would still like to get NBC and ABC in MPEG-2.

The setup is working quite well, except for one problem. I have set my recordings up so that they have about five minutes padding before and after the show. For some reason, SageTV seems to ignore that. A real-life example: Last week's double episode of "The Blacklist" should have had both episodes with five minutes padding at either end, but the padding at the end of the first one was ignored, and the padding at the beginning of the second one was ignored. So in order to get two complete episodes, I had to splice them together in VideoReDo and cut them apart again correctly.

When I set up the tuners, I only actually did the full setup with the first tuner and then copied the program guide info to the second one. Should I have done the complete setup with the second one as well? I didn't think it was necessary, since both tuners are basically the same.
Reply With Quote
  #2  
Old 03-01-2019, 08:55 PM
KarylFStein KarylFStein is offline
Sage Fanatic
 
Join Date: Apr 2006
Location: Westland, Michigan, USA
Posts: 999
I bet you just need to set this to No:

Settings > Detailed Settings > Customize > Remove padding on back to back favorites on the same channel
__________________
Home Network: https://karylstein.com/technology.html
Reply With Quote
  #3  
Old 03-01-2019, 08:56 PM
wnjj wnjj is offline
Sage Icon
 
Join Date: Jan 2009
Posts: 1,514
Look for the “remove padding on back to back favorites”. Set it to “no”. This will cause each show to use a different tuner since the current setup cannot overlap on a single tuner.
Reply With Quote
  #4  
Old 03-01-2019, 11:32 PM
cubdukat cubdukat is offline
Sage User
 
Join Date: Jun 2015
Location: Chicago
Posts: 13
Thanx. I found it. That was sneaky of them to hide that...

I thought for a second it was something with the tuner. I haven't used it in almost ten years.
Reply With Quote
  #5  
Old 03-01-2019, 11:40 PM
wnjj wnjj is offline
Sage Icon
 
Join Date: Jan 2009
Posts: 1,514
Someday I plan to try to fix the code so it will split into 2 files so overlapping favorites & padding will still happen on a single tuner. The native code is fairly straightforward (write the same data into 2 files). The tough part is handling all of the show switchover code since it was all built around a one show at a time per tuner concept.
Reply With Quote
  #6  
Old 03-02-2019, 07:19 PM
trk2 trk2 is offline
Sage Aficionado
 
Join Date: Jan 2006
Location: Maine
Posts: 499
Quote:
Originally Posted by wnjj View Post
Someday I plan to try to fix the code so it will split into 2 files so overlapping favorites & padding will still happen on a single tuner.
Reply With Quote
  #7  
Old 03-03-2019, 04:45 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by wnjj View Post
Someday I plan to try to fix the code so it will split into 2 files so overlapping favorites & padding will still happen on a single tuner. The native code is fairly straightforward (write the same data into 2 files). The tough part is handling all of the show switchover code since it was all built around a one show at a time per tuner concept.
That would be fantastic that is the only thing SageTV is missing.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
  #8  
Old 03-06-2019, 05:32 PM
BobPhoenix BobPhoenix is offline
SageTVaholic
 
Join Date: Oct 2004
Posts: 3,152
Quote:
Originally Posted by wnjj View Post
Someday I plan to try to fix the code so it will split into 2 files so overlapping favorites & padding will still happen on a single tuner.
__________________
"Keep your goals away from the trolls"
Reply With Quote
  #9  
Old 03-06-2019, 06:59 PM
jt4242 jt4242 is offline
Sage Advanced User
 
Join Date: Dec 2009
Location: Montreal, Canada
Posts: 186
Quote:
Originally Posted by wnjj View Post
Someday I plan to try to fix the code so it will split into 2 files so overlapping favorites & padding will still happen on a single tuner.
That would be amazing!!
Reply With Quote
  #10  
Old 03-06-2019, 07:57 PM
Zogg's Avatar
Zogg Zogg is offline
Sage Aficionado
 
Join Date: May 2011
Location: Frisco, TX
Posts: 428
Quote:
Originally Posted by nyplayer View Post
That would be fantastic that is the only thing SageTV is missing.
Easy there...

I'd like to be able to:

1. Disable a tuner without having to just delete it to keep it from being used
2. Set a recording favorite to always use a particular tuner

I can probably think of a few more later.
Reply With Quote
  #11  
Old 03-06-2019, 09:01 PM
JustFred JustFred is offline
Sage Expert
 
Join Date: May 2015
Location: Sunnyvale, Ca
Posts: 572
Quote:
Originally Posted by Zogg View Post
Easy there...

I'd like to be able to:

1. Disable a tuner without having to just delete it to keep it from being used
To temporarily disable a tuner, I simply configure it to use no EPG. Bingo, done. Later, to make it functional again, just re-assign it to back to the previous EPG lineup. No need to re-download the EPG nor tell the tuner to re-scan for channels (assuming some other tuner is still config'd for that EPG lineup).
__________________
System #1: Win7-64, I7-920, 8 GB mem, 4TB HD. Java-64 1.8.0_141. Sage-64 v9.2.1 ATSC: 2x HDHR-US (1st gen white) tuners. HD-200.
System #2: Win7-64, I7-920, 8 GB mem, 4TB HD. Java 1.8.0_131. Sage v9.1.6.747. ClearQAM: 2x HDHR3-US tuners. HD-200.
System #3: Win7-64, I7-920, 12 GB mem, 4TB HD. Java-64 1.8.0_141. Sage-64 v9.2.1 ATSC: 2x HVR2250; Spectrum Cable via HDPVR & USB-UIRT. 3x HD-200.
Reply With Quote
  #12  
Old 03-07-2019, 09:25 AM
Zogg's Avatar
Zogg Zogg is offline
Sage Aficionado
 
Join Date: May 2011
Location: Frisco, TX
Posts: 428
Quote:
Originally Posted by JustFred View Post
To temporarily disable a tuner, I simply configure it to use no EPG. Bingo, done. Later, to make it functional again, just re-assign it to back to the previous EPG lineup. No need to re-download the EPG nor tell the tuner to re-scan for channels (assuming some other tuner is still config'd for that EPG lineup).
I never thought of that, thanks. I used BeyondTV for years and it had a simple enable/disable setting that was sure handy at times, but at least this method will work.
Reply With Quote
  #13  
Old 03-11-2019, 06:48 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
Someday I plan to try to fix the code so it will split into 2 files so overlapping favorites & padding will still happen on a single tuner. The native code is fairly straightforward (write the same data into 2 files). The tough part is handling all of the show switchover code since it was all built around a one show at a time per tuner concept.
I wrote code that fully implements this already, but didn't commit it because a massive refactoring was done that eliminated branches. Since I did all my testing on the old code and I haven't had the time to iron out all of the changes and verify it still works correctly. It's actually really complicated for many reasons. You'll notice hooks in the code from when I committed my Carny changes. The scheduler needs to be overhauled. The race conditioned code for live tuning also needs to be worked out. I also added support for tuners that will allow multiple programs on one frequency to be recorded. Then after all of that, you need to figure out a strategy for how to work with network encoders that don't use the media server which I did the work on too. The other half is that I don't know if I have the time to commit to maintaining more code in SageTV.

Edit: In case anyone is wondering why I don't just use unit testing to verify everything is ok, I did, but some parts of the code can't be tested correctly because of how SageTV is assembled. Honestly, it would be easier to just write a new PVR than to try to decouple all of SageTV so proper unit testing is possible.
__________________
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

Last edited by EnterNoEscape; 03-11-2019 at 06:54 PM.
Reply With Quote
  #14  
Old 03-16-2019, 11:02 PM
wnjj wnjj is offline
Sage Icon
 
Join Date: Jan 2009
Posts: 1,514
Thanks for the comments and explanation. I’ve run with removing padding for so long that I’m kind of used to it. It does suck when you have to watch shows in the order they recorded so you catch the end of your show on the start of the next one.

I don’t know all that the scheduler and seeker do (far from it) but my simpleton approach was going to be to let the system think it is still removing padding so everything appears to work as it does today with regard to scheduling and conflicts. Then instead of simply calling switchencoding when the show changes, I would add two more calls...one to start the (additional) new show when its padding says to and another to drop off the old show when its padding ends. I was hoping to sneak these calls in with minimal changes to the existing stuff. The only native capture code I’m familiar with is the mpeg2dump and hadn’t considered any other sources yet but used it for an example. Selfishly, it’s all i need to have working anyway.

If your solution is already coded and was working it would sure be nice to see it. If it involves too major of a rewrite it’s tougher to get pulled in without risk.

Last edited by wnjj; 03-16-2019 at 11:24 PM.
Reply With Quote
  #15  
Old 03-17-2019, 06:21 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
Thanks for the comments and explanation. I’ve run with removing padding for so long that I’m kind of used to it. It does suck when you have to watch shows in the order they recorded so you catch the end of your show on the start of the next one.

I don’t know all that the scheduler and seeker do (far from it) but my simpleton approach was going to be to let the system think it is still removing padding so everything appears to work as it does today with regard to scheduling and conflicts. Then instead of simply calling switchencoding when the show changes, I would add two more calls...one to start the (additional) new show when its padding says to and another to drop off the old show when its padding ends. I was hoping to sneak these calls in with minimal changes to the existing stuff. The only native capture code I’m familiar with is the mpeg2dump and hadn’t considered any other sources yet but used it for an example. Selfishly, it’s all i need to have working anyway.

If your solution is already coded and was working it would sure be nice to see it. If it involves too major of a rewrite it’s tougher to get pulled in without risk.
Yeah, I did what you described first and quickly realized it wasn't that simple. I got strange behavior that eventually led me down the rabbit hole that I didn't anticipate. I learned a crazy lot about SageTV's recording engine innards and it was enough for me to make my implementation something you could optionally enable (like a beta feature) instead of replacing the current code. I can share my code with you if you're interested.

My solution was to make everything route through the media server and into a splitter in Java code to break the stream into multiple files. You can read about most of what I dove into here: https://github.com/google/sagetv/issues/259

Edit: I think where I started going wrong and nearly gave up was that I was trying to improve the testability of the feature and I got really caught up in my own head unable to work around how SageTV works to allow for good unit testing.
__________________
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

Last edited by EnterNoEscape; 03-17-2019 at 06:24 PM.
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
Tracking tuner usage aoshi SageTV Software 6 06-20-2010 05:35 PM
A curious question about memory usage garyellis SageTV Software 2 01-30-2008 12:54 PM
Tuner usage? belleboyd SageTV Software 4 01-16-2008 09:08 PM
Sage Storage Usage Question ... mightyt SageTV Software 6 10-24-2006 03:16 PM
ffdshow CPU usage question CyRex SageTV Software 7 12-01-2004 12:55 PM


All times are GMT -6. The time now is 04:52 AM.


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