![]() |
|
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. |
![]() |
|
Thread Tools | Search this Thread | Display Modes |
#21
|
|||
|
|||
Quote:
|
#22
|
||||
|
||||
Quote:
__________________
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 |
#23
|
|||
|
|||
Quote:
__________________
"Keep your goals away from the trolls" |
#24
|
||||
|
||||
Having sage lock the tuner is simple, and really should be done by your network encoder on start and stop commands. The issue I described was having sage deal with a tuner that might be locked by something else.
__________________
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 |
#25
|
|||
|
|||
This is a future thing but maybe the scheduler should be modified to have tuner pools. The scheduler can be set to record something from the pool. It will then try each tuner in the pool until it finds one not locked. This to me would be more logical than having each tuner stand on its own but associated with a particular channel lineup. It makes more sense in my mind to have a pool associated with a lineup and have tuners assigned to the pool that are able to receive the lineup.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#26
|
||||
|
||||
Quote:
__________________
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 |
#27
|
|||
|
|||
Quote:
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#28
|
|||
|
|||
You should have a way of locking HDHomerun tuners ... simply because anyone on the Network can access them and mostly any device can access them through DLNA. So that could interrupt a Sage recording in progress. I like the ability to fire up my Tablet and watch livetv when ever I want if there is an available tuner.
Edit Not only does SageTV need to lock the tuners but also be able to check for tuner usage and move on to the next free tuner. Right now I have to segregate my 2 Primes and use 1 for WMC ,NEXTPVR and HDHomerun DVR and have no problem with tuner allocation. I would like to make all tuners available to all DVRs.... but SageTV is preventing me from doing this. Last edited by nyplayer; 09-09-2015 at 10:13 AM. |
#29
|
||||
|
||||
Quote:
Quote:
Yes, this should work fine if you're using it under the control of SageTV (if SageTV can do fast switch with a local tuner; it can do it as well if SageTV is running as a network encoder using that tuner).
__________________
Jeffrey Kardatzke Founder of SageTV |
#30
|
||||
|
||||
Quote:
Adding the locking mechanism into Sage would allow users to utilize their tuners for other software than just Sage. There are a number of apps that can live stream from the HDHomeRun and it would be nice to allow users to share the tuner with these other applications without having to take them out of there available tuner pool for Sage. If they do not take these tuners out of the available pool they either face the possibility of a failed recording because the tuner is locked, or Sage stealing a tuner from them while they are attempting to use it. If these other apps start utilizing locking then Sage has no choice then to either have the recording fail because it was unable to tune to the channel (It is unaware of the locking function), or it would need to force break the lock every time it tunes to a channel. If it force breaks the lock it might steal a tuner when it did not even need too. If we hijack the isFunctioning then we loose the visibility between the tuner being offline vs the tuner being locked, but still a potential resource we could use if there are no other tuners available. I would have Sage check to see if a tuner is locked when it goes to use a tuner. If so it can kick off the scheduler and pick another tuner that is not locked. If there are no other tuners available I would suggest that it should break the lock and steal a tuner to perform the recording anyway. Whether Sage breaks the lock or fails the recording could be a configuration option. Whether Sage uses locking at all could be a configuration option. |
#31
|
|||
|
|||
Thanks for the response Narflex,
So does that mean I just add the following to my sage.properties file? "fast_network_encoder_switch=true" Or is it more like: "mmc/encoders/-XXXXXXXX/fast_network_encoder_switch=true"? I had noticed my HD Homerun tuners did this but didn't know why. Glad I asked the question and thanks for the response. |
#32
|
||||
|
||||
This way.
__________________
Jeffrey Kardatzke Founder of SageTV |
#33
|
||||
|
||||
Quote:
__________________
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 |
#34
|
|||
|
|||
#35
|
||||
|
||||
Quote:
Meow on my young SageTV server, it uses (2) Primes for 6 tuners total, and one of the primes occasionally hard locks and the computer doesn't recognize it until I cycle the power on the offending prime. When this happens, there will inevitably be some recording conflicts that appear as Sage lost half it's tuners. I have to believe that dynamic tuner locking would create some timing havoc, not to mention the sudden warnings of impending recording doom (unless you have 13 years of recording history on vacuum tubes in which case the warnings may not occur at all). So let's say Sage thinks it has (3) tuners on a Prime, someone cranks up the HDHR software on their phone and grabs one of the tuners to watch live TV - at which point Sage has some mechanism that watches for and recognizes that it just lost one tuner, or more perhaps. Sage then reschedules programs (unless you have a bajillion years of TV history on a primitive transistor) if possible, or just starts saying there are unresolved conflicts. Some poor bastard is going to start getting a stream of messages via SageAlert and start getting concerned that the football program won't get recorded. As it turns out, the kid in the house just wanted to catch the end of Sponge Bob, and as soon as he releases the tuner, Sage's tuner monitoring mechanism realizes that it has 3 tuners once again, and all is well. Unless you have the big history thing on the slow thing ... Does that sound about right? Last edited by KryptoNyte; 09-09-2015 at 07:20 PM. |
#36
|
||||
|
||||
Quote:
__________________
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 |
#37
|
||||
|
||||
Quote:
![]() Carny is the thing that does 'profiling' of user behavior in SageTV in order to determine what Intelligent Recording should do (it also does all the Favorites processing since they use the same model for matching content).
__________________
Jeffrey Kardatzke Founder of SageTV |
#38
|
||||
|
||||
I guess I was trying to emphasize the fact that Sage believes that it lost the tuner ... forever ... at the point it can't see it or use it. At least that's how the system acts at this time. Even if that period of lost tuner is going to be very short.
|
#39
|
||||
|
||||
Quote:
|
#40
|
||||
|
||||
Understand, though, that sage will have no idea how long a given tuner is 'lost', so it is still going to rehash it's entire schedule. There is no way for Sage to reschedule a small portion of it's schedule, or even a single item on it's schedule, without running through all it's multiple iterations from the beginning. Doens't matter if the tuner is gone for a minute, or 3 days. Sage's behavior when said tuner is unavailable has to be the same.
__________________
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 |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Question about HDHomeRun (Not Prime) | TechBill | Hardware Support | 27 | 06-13-2017 08:24 AM |
Does SageTV 7 support HDHomerun Prime? | LabyrinthMike | Hardware Support | 14 | 02-18-2015 04:32 PM |
HDHomeRun Prime on Woot 5/24 | ranger | The SageTV Community | 6 | 05-25-2012 07:10 PM |
HDHomerun Prime? | cenwesi | Hardware Support | 26 | 04-19-2011 05:40 PM |
HDHomeRun 68 channel remap limit / Native QAM tuning? | taylork | Hardware Support | 40 | 07-11-2008 04:50 AM |