|
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. |
|
Thread Tools | Search this Thread | Display Modes |
#1741
|
|||
|
|||
I have the following setup:
Quote:
The problem is that when configuring the SageTV 9 Server to use the BM3000-HDMI as a network encoder there is no way to tune! Tuner selection of USB-UIRT is NOT ALLOWED since the USB-UIRT is NOT Local. See attached image. Is there a way to enhance the OpenDCT/USB-UIRT integration to allow for remote channel changes? Thanks in advance. Last edited by sflamm; 02-19-2017 at 01:33 AM. |
#1742
|
|||
|
|||
Managed to trick SageTV into using a USB-UIRT with the Network Encoder by temporarily installing it locally... (see attached image).
But even though the command is sent to change channel and received remotely it does NOT do anything on the remote Network Encoder: Quote:
|
#1743
|
||||
|
||||
Quote:
__________________
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 |
#1744
|
|||
|
|||
How is this different from a previous configuration that worked:
1. SageTV Server as network encoder 2. HDPVR local to Network Encoder (attached to STB) 3. firewire tuning local to Network Encoder (attached to STB) The command to start the video source went to the Network Encoder which in turn: a) started the video source b) tuned the channel with the tuning plugin Why can't this continue to happen - with the remote SageTV Network coder streaming the source (essentially a proxy)? The source does not need to come directly from OpenDCT. |
#1745
|
||||
|
||||
Quote:
__________________
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 |
#1746
|
|||
|
|||
The start of the video source is supposed to be sent to the remote SageTV Server acting as a Network Encoder (enable_encoding_server = true). The remote SageTV Server is the one that tunes and gets the local video source (local to the remote SageTV Server) and returns the video stream.
This works perfectly with other sources e.g. HDPVR with USB-UIRT The problem here is the SageTV Server is not getting the video stream from the remote SageTV Server acting as a Network Encoder. Instead it is getting video directly from OpenDCT (it should not). This is NOT following the design of the SageTV Network Encoder (which has previously always worked). Try what I am saying - works perfectly for other video sources local to the remote SageTV Network Encoder. The issue is you are retrieving the video source directly from OpenDCT and not from the Network Encoder which is the remote SageTV Server with the property enable_encoding_server = true |
#1747
|
|||
|
|||
See attached image of video sources:
1. Both sources are discovered from the remote SageTV Server with the property enable_encoding_server=true 2. The HDPVR entry is correct - Hauppague HD PVR Capture Device #2 on HDSTB:6969 points to the remote SageTV Server acting as a Network Encoder (HDSTB has IP: 10.0.0.25) The request to start the video source is directed to the HDSTB:6969 and it a) invokes the tuner assigned (USB-UIRT in this case) and b) start the video source (HDPVR in this case) There are can/be multiple... there is also Hauppague HD PVR Capture Device #1 on HDSTB:6969 [two remote HDPVRs] 3. The STB-2 entry is NOT correct. It says the video source is STB-2 on 10.0.0.25:9000 (same as "STB-2 on HDSTB:9000") - which points directly to the OpenDCT server running on HDSTB (ip:10.0.0.25). That should be advertised similarly to the HDPVR as a source on HDSTB.. it should be something like: STB-2 Capture Device #1 on HDSTB:6969 Last edited by sflamm; 02-19-2017 at 03:50 PM. |
#1748
|
|||
|
|||
On the remote SageTV Server acting as a Network Encoder (enable_encoding_server=true) there is a video source:
STB-2 on 10.0.0.25:9000 HDMIOn the SageTV Server using the SageTV Network Encoder there SHOULD BE A SOURCE: STB-2 on 10.0.0.25:6969 HDMI The same way there is a video source on the SageTV Server for the remote HDPVR: Hauppague HD PVR Capture Device #1 on HDSTB:6969The video source local to the remote SageTV Server acting as Network Encoder is: Hauppague HD PVR Capture Device #1 |
#1749
|
||||
|
||||
You will not see it on port 6969. The reason is that the SageTV instance acting as a network encoder will not re-advertise devices that are already loaded as network encoders from it's own perspective. It would likely end up being a endless loop between the two servers. What you are trying to do is not going to work.
__________________
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 |
#1750
|
|||
|
|||
Shouldn't be a loop at all...
The named video source from the Network Encoder represents a video stream. The video stream is obtained by whatever means from the Network Encoder. The Network Encoder is the only one who knows how the stream is obtained. It can obtain it from OpenDCT or wherever. And tune it using whatever plugin is available. The Network Encoder gets the video stream and simply proxies it back. Nothing more. The command to the Network encoder is (same as always): start stream / channel, stop stream This works today for local sources to the remote Network Encoder. Why would the origin of the video stream be exposed? And how is that possibly a loop? Last edited by sflamm; 02-19-2017 at 05:06 PM. |
#1751
|
|||
|
|||
1. Providing Network Encoders: enable_encoding_server=true
2. Discovery of Network Encoders: network_encoder_discovery=true These are completely separate features. As detailed in Appendix G of the SageTV manual. To date - it has always been possible to do these independently. #1 takes any source that is configure locally (by whatever means) and publishes it as a network encoder #2 allows discovery of sources that are NOT configured locally Use of #1 by #2 never entails a loop - as the source is ONLY referred to by name. This is the whole point of SageTV Server acting as a Network Encoder - locate it locally to a source to allow the Network Encoder to tune and stream the local source. Because it is local whatever means are available to tune and capture can be used without the remote consumer being aware at all. Last edited by sflamm; 02-19-2017 at 06:57 PM. |
#1752
|
|||
|
|||
In lieu of this - is it possible for someone to provide a mechanism to remotely invoke a tuning plugin that is installed in SageTV?
With that we could make it easy to combine OpenDCT with tuning plugins... tuningPluginName Channel=channel# For .ir the Tuning Plugin can be configured to use different .ir files for each zone (as it is done today in USB-UIRT). This would be simply a REST invocation of the tuningPlugin by Name passing the channel... Last edited by sflamm; 02-19-2017 at 06:56 PM. |
#1753
|
||||
|
||||
Why are you using a SageTV Network Encoder to talk to a Network Encoder? Just connect directly to openDCT.
__________________
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 |
#1754
|
||||
|
||||
Quote:
I'm guessing that he is running his primary Sage server in Linux and then wants to use a second instance of Sage on Windows as a network encoder so it can do the multi-zone USBUIRT. This would work if he was using encoders that were local to that second Sage instance (like HDPVR or Colossus).
__________________
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 |
#1755
|
|||
|
|||
Correct - my primary server needs to be different from the secondary (configured as a Network Encoder).
As a general configuration having a Network Encoder with local resources and tuning is VERY helpful... and really the point of a Network Encoder. Why is it a problem to have a Network Encoder that uses Network Encoders? The Client of the Network Encoder doesnt see how the video sources of the Network Encoder are configured. |
#1756
|
|||
|
|||
It would be incredibly useful if there was a plugin to SageTV that allowed the Tuning Plugins to be called remotely through a REST API.
By having that in combination with OpenDCT almost all scenarios can be address for sources/tuning. |
#1757
|
|||
|
|||
Quote:
Also liked it when I fired up SageTV on the planed replacement server and found the OpenDCT tuners advertising on the network. Not sure that's an intended default, but I'm not complaining, saves me from trying to figure out how to turn it on. Quote:
When SageTV directly communicates with the HDHomeRun encoders, it can get signal strength data from it. However, once OpenDCT is included in the loop, signal strength reverts to 100%. And in that respect, if you just gave us the option of having Signal Strength data passed to SageTV, then my previous "wish list" item can instead be addressed as a plug-in on SageTV by having it check and record signal strengths on a given tuner whenever it records a program. Of course, Sage just gives a raw % indicator from what I've seen via the UI. I imagine there is a more useful number you could get to on the network tuners, but that's deep wish list stuff. |
#1758
|
|||
|
|||
I've created a working powershell script that can tune the USB-UIRT channels remotely:
Code:
Param([string]$TunerNumber, [string]$ChannelNumber) $ChannelNumberArray = $ChannelNumber.ToCharArray() $TuningCommand = "http://10.0.0.25:8080/sagex/api/?c=TransmitCommandUsingInfraredTuningPlugin" $TuningPlugin = "&1=USB-UIRT Transceiver" $TuningPluginPort = "&2=0" $BaseRemoteName = "PaceRNG150" $RemoteName = "&3=" + $BaseRemoteName + "-" + $TunerNumber $RepeatFactor = "&5=2" $Username = "sage" $Password = "frey" $Headers = @{ Authorization = "Basic {0}" -f [Convert]::ToBase64String([Text.Encoding]::ASCII.GetBytes(("{0}:{1}" -f $Username,$Password))) } $Output = "output.txt" foreach ($digit in $ChannelNumberArray) { #Write-Output ******** $CommandName = "&4=$digit" $Uri = $TuningCommand + $TuningPlugin + $TuningPluginPort + $RemoteName + $CommandName + $RepeatFactor Write-Output uri:$Uri Invoke-RestMethod -Uri $Uri -Headers $Headers -Outfile $Output Code:
sagetv.device.sagetv.device.<unique_id>.tuning_executable=/path/to/tuning/script --device=0 --tune=%c% |
#1759
|
||||
|
||||
Quote:
__________________
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 |
#1760
|
||||
|
||||
Quote:
__________________
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 |
Currently Active Users Viewing This Thread: 2 (0 members and 2 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ATI TV Wonder Digital Cable Tuner & SageTV | nyle | Hardware Support | 4 | 02-17-2009 10:12 PM |
ATI TV Wonder Digital Cable Tuner | rajczi | Hardware Support | 4 | 01-14-2008 08:24 PM |
ATI TV Wonder™ Digital Cable Tuner | dadams | Hardware Support | 4 | 01-09-2007 10:55 AM |
Digital Cable - one guide - need HD on one tuner reg tv on other | Kimper | SageTV Beta Test Software | 14 | 11-27-2006 08:15 PM |
Multi-tuner Digital Cable | mlbdude | SageTV Software | 0 | 06-26-2003 01:08 PM |