|
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 |
#281
|
|||
|
|||
I think I got the preliminary stuff setup now just have to find my retired BM100.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#282
|
|||
|
|||
Quote:
Code:
sagetv.device.1508160045.channel_padding=0 sagetv.device.1508160045.consumer=opendct.consumer.FFmpegTransSageTVConsumerImpl sagetv.device.1508160045.custom_channels= sagetv.device.1508160045.delay_to_wait_after_tuning=0 sagetv.device.1508160045.device_name=encoder 1 sagetv.device.1508160045.encoder_listen_port=9000 sagetv.device.1508160045.encoder_merit=0 sagetv.device.1508160045.encoder_pool=generic_http sagetv.device.1508160045.exclusive_server_address= sagetv.device.1508160045.fast_network_encoder_switch=true sagetv.device.1508160045.http_password=admin\t sagetv.device.1508160045.http_username=admin sagetv.device.1508160045.last_channel=834 sagetv.device.1508160045.pretuning_executable= sagetv.device.1508160045.stopping_executable= sagetv.device.1508160045.stopping_executable_delay_ms=15000 sagetv.device.1508160045.streaming_url=http\://192.168.1.168/0.ts sagetv.device.1508160045.streaming_url2= sagetv.device.1508160045.streaming_url2_channels= sagetv.device.1508160045.transcode_profile= sagetv.device.1508160045.tuning_delay_ms=0 sagetv.device.1508160045.tuning_executable=
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. Last edited by nyplayer; 09-17-2019 at 02:34 PM. |
#283
|
|||
|
|||
I am actually using a two hdpvr 2's. Never went the BM100 route. I am addicted to that 5.1 surround sound.
I suspect that the key for you is where it says tuning executable. I use got the ExeMultiTunerPlugin from the post KryptoNyte made on page 2 of this thread. His was post number 23. https://forums.sagetv.com/forums/sho...9&postcount=23 . It leads to a post by Narflex with the program. I put ExeMultiTuner.dll into C:\Program Files (x86)\SageTV\Common\ The registry part that I mentioned comes from the package in the first post in this thread by EnterNoEscape. https://forums.sagetv.com/forums/sho...94&postcount=1 I opened up the attachment and clicked only on the file ExeMultiTuner.reg. This gives me the registry entry that SageTV looks for and executes. Since I run a 64 bit version of windows I do a regedit and go to HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Frey Technologies\Common\EXEMultiTunerPlugin There I double click on the command option on the right and edit the command with: Quote:
Once you chose it and complete the setup process for the device you should se a folder called ExeMultiTunerPlugin appear in C:\Program Files (x86)\SageTV\Common\RemoteCodes. Go to the folder just above that "C:\Program Files (x86)\SageTV\Common" and copy the file StubDevice.ir to the ExeMultiTunerPlugin folder. I changed the name of that file "StubDevice.ir" to the ip-address of my shield device "192.168.1.171.ir". I then edited that new file 192.168.1.171.ir so that the one line it contains has its name. So it now reads: Quote:
Make sure the proper config for your device is selected under Source Detail --> Tuner Control. The default after you get to the above stage will be StubDevice. Select it and you will see the option to change it to the config you have that file to. In my case the option for 192.168.1.171 was there. Once the adb server is up and running and the android device is connected as per above SageTV should be able to talk to it. The relevant tuner section of my config looks like this. Quote:
Last edited by boukmandutty; 09-17-2019 at 06:06 PM. |
#284
|
|||
|
|||
I got everything setup but the channel changing I have to work on that ... I can watch the Video in SageTV ... but have to work on the channel changing.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#285
|
|||
|
|||
Managed to get it going yet?
|
#286
|
||||
|
||||
I looked at this approach about a year ago. The issue is getting everything running reliably as you are discovering. I was able to get the box to open the needed app and then tune the channel, but sometimes the channel wouldn't make it in because of timing issues that I couldn't seem to resolve satisfactorily. Since I had no way to confirm if the channel was correct, it was a crap shoot every time.
__________________
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 |
#287
|
|||
|
|||
I have had it running perfectly for the past week with not issues. All channel changes and recordings are accurate. It works even with my system that I put to sleep when it is not recording.
The timing issue for seems to have been linked partly to the hdhomerun app and to the the ExeMultiTunerPlugin. The hdhomerun app is full of problems. The "Enter" command which confirms the channel change brings up the software keyboard that delays the command and messes everything up. The solution I have found is the use the native Live Channels app. It leverages the hdhomerun app for DRM but there is no need to press "Enter" once you put in the channel number. The solution I have found for the ExeMultiTuner plugin is to automatically send a restart command to my windows based SageTV server each time the machine wakes up to do its duty. I find that when it falls asleep, for some reason the plugin does not work upon its resumption. Since I solved especially the latter problem I have had not issues with any recordings... |
#288
|
||||
|
||||
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 |
#289
|
|||
|
|||
It seems to have been around since 2015. I don't know exactly when it became DRM capable.
Let me know if you ever get around to trying it. I am very interested to know how fast the BMI1000-HDMI devices switch channels. I have to wait a few seconds before channel change is completed when browsing live tv and wanted to know how much of this was caused by me using hdvpr 2's. Last edited by boukmandutty; 09-25-2019 at 09:54 PM. |
#290
|
||||
|
||||
Quote:
I have looked occasionally at the hdhomerun app but running on Win10, and messing around with my laptop I finally got an AutoIt script set up that will set the channel. The app has a few quirks with trying to type the channel, but I have found a sequence that seems to work. I'm planning to set up an older laptop and an extra HDPVR and give it a go. Not as small a solution as the Shield and using Win 10 has its own challenges, but there are some advantages to using a laptop. |
#291
|
||||
|
||||
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 |
#292
|
||||
|
||||
Quote:
Basically the AutoIt script just gets passed a channel number, and the script has to click around and enter the channel twice to make sure it sticks because the app is quirky. And also the app starts up on the last watched channel, so if you start with that channel again then it goes to a DVR screen, so I had to use a little batch file to save the channel and make sure you don't pass the same channel again. One question though, you have to send a command to start up the app and set the channel, and another later to stop it. I know Open-DCT can send these commands if using a BM-3000 type device, but if I wanted to use an HD-PVR instead then what mechanism will send a start command with channel and then later a stop command? I think using EXEMultiTuner only supports a start command. |
#293
|
|||
|
|||
So I searched and haven't found a way to change the channel on the windows based HDHOMERUN app via command line as yet.
In the mean time I think I have a solution that seems to improve accuracy so you don't have to enter the channel twice the way you describe. I am sure you notice that sometimes when you input the channel number for some channels the number shows in that column on your right above that poor excuse for a guide but there GUI does not jump to and highlight the channel number. When you press "Enter" in that case, nothing happens. The way I found around this is to input an extra number or character like a "0" and then press the Backspace button on the keyboard to clear it. After I do that the GUI immediately jumps to and highlight the correct channel number. It is in that instance primed and ready for the "Enter" button to send the confirmation command. Check to see if this method works for you as well. I am testing with windows 10. I am also going to see if I can replicate anything similar on my android devices. If you can replicate this solution manually I am sure a scrip that adds an extra "0" to each channel you enter and then removes it immediately before sending the "Enter" confirmation should be easy to whip up. Also, to get around the problem with the last watched channel where it goes to the DVR screen, what if you set it to go to a channel you never record anything from each time it starts up? Like I said above, this app is so very cumbersome. Last edited by boukmandutty; 09-28-2019 at 12:58 PM. |
#294
|
|||
|
|||
Here is an example of how I might launch the hdhomerun app using adb and then tune a channel that I don't have in my SageTV channels list to be tuned by my hdpvr 2. The channel I am tuning which I actually have set for my clear qam device to handle is channel 7, a local channel. You could for example make the channel "1" or anything you like. The trick is to do all this before SageTV tries to tune the channel when the server starts. I don't think you need to worry though. The hdhomerun app carries out the command almost instaneously on the Nvidia android device. I am sure with a decent enough laptop (or nuc) the result will be the same.
Quote:
|
#295
|
||||
|
||||
Quote:
What seems to work every time for me once the program has started is: Enter (pops up the menu), Click in the channel input field, Type the channel number (or anything really), Click on the video to make the menu disappear, Enter again, Click in the input field again, Type the channel, then Enter and it should take. I found the registry key and made a simple batch file to start the program. The program is actually a Microsoft Win 10 app from the MS Store so it doesn't have a typical path to the executable. You use this command: Code:
explorer.exe shell:appsFolder\EF712BA7.HDHomeRunDVR_23nna27hyxhag!App I'm just not sure how to get SageTV to issue the command at the end of the recording to kill the app. |
#296
|
||||
|
||||
Quote:
One of the things you'll immediately notice is that it's actually tricky to do this correctly even if SageTV had the ability. Namely because you don't always want to close the app immediately since there might be a back to back recording or just a channel change between recordings. OpenDCT has a built in delay before it executes a stop command. If SageTV tells the tuner to do anything before that delay is up the stop command is cancelled and never executes.
__________________
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 |
#297
|
|||
|
|||
Quote:
|
#298
|
||||
|
||||
Quote:
But, sometimes the first number I enter doesn't take, do you ever see that? And sometimes the first number is duplicated. Could be my keyboard but I never see that behavior in normal typing. My method with the mouse clicks always works for me. |
#299
|
|||
|
|||
The problem might be your keyboard if you are entering it manually for testing purposes. Does it also duplicate when you use your script to enter the channel numbers?
Anyway, I think I have the hdhomerun app on Andriod changing channels as smoothly as the Live Channels app now. I want to test it some more but for now it does not go to the recording screen in the hdhomerun app when the same channel number as the one it is running at a given moment is entered. My approach is to stop the app completely with a kill command and then restart it. There is a timer that then waits for it to start up completely before entering the subsequent commands. Hopefully this will help you figure out your script for a windows solution. This is what I use for the ExeMultiTunerPlugin registry entry. Quote:
Last edited by boukmandutty; 09-29-2019 at 04:39 PM. |
#300
|
||||
|
||||
This app can be very weird. I can sometimes start it manually and press Enter and nothing happens. When it does this I have to use the mouse and click to bring up the menu, and then it will work. Also, sometimes the first digit doesn't take for some reason.
But, I modified my AutoIt script based on what you said and it seems to work every time now IF I have preset the app to start full screen and have gotten past the Enter key not working manually. I did have to put in a leading zero just to make sure, but it seems to work every time. And not using the mouse has sped up the script a bit. So now my script starts the app and waits 10 seconds, then Enter, Zero, Channel #, Zero, Backspace, Enter (with a slight delay between each) and it seems to work. I'm going to try to live test it later today, and I'll also post what I've done so ENE and others can play with it. |
Tags |
tuner setup, tuning, windows media center, wmc |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Tuner Priority w/Live TV | will | SageTV Software | 12 | 03-04-2018 03:25 PM |
Live TV with 2 extenders, 1 tuner | dibs | SageTV Software | 3 | 03-07-2009 02:37 PM |
Reserve a Tuner for Live TV | mbowling | SageTV Software | 3 | 11-10-2008 08:36 AM |
Switching tuner on live tv | appelm | SageTV Software | 1 | 02-06-2006 01:38 PM |
Can a tuner be dedicated to live TV? | GTwannabe | General Discussion | 2 | 01-09-2005 12:44 AM |