|
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 |
#261
|
|||
|
|||
Something is definitely sending either an OK or an Enter command. Try disconnecting the WMC machine off the KVM as you suggest to make sure it is not the cause. You could set up the WMC machine for remote desktop access perhaps.
|
#262
|
|||
|
|||
Remote desktop kills WMC, unfortunately. I now have an Xbox 360 connected to the same instance of WMC, so I can monitor WMC and any unwanted scheduling without RDC.
I thought disconnecting the KVM switch had solved it, but I had a channel change near the end of a recording this morning. Only two recordings are scheduled for tomorrow, so I put another three recordings on the schedule to see what it's doing.
__________________
Server:UnRaid;2x Intel Xeon E5; SuperMicro moboard;Also:BM3000 w/ WMC; 2x Ceton ETH 6; OpenDCT SageTV Extender:3x HD200 1x HD300 1xFireTV Sage TV: 9.2 on Java 11, Standard STVi, Comskip Playback, Web Interface, 24 Hour Clock, SRE, Playon All in lovely Drexel Hill, PA |
#263
|
|||
|
|||
I think I am getting smarter. I installed WinPCAP on the machine running WMC. WinPCAP allows remote network monitoring. I installed Wireshark on a Win 10 VM, not the WMC machine. I now have Wireshark looking for any HTTP messages to port 40510 to the destination machine.
When it happens again I will know if it is coming from a stray channel change via HTTP. If it is not, then I'm thinking I should probably rebuild my Win 7 machine running WMC and probably rethink the hardware involved.
__________________
Server:UnRaid;2x Intel Xeon E5; SuperMicro moboard;Also:BM3000 w/ WMC; 2x Ceton ETH 6; OpenDCT SageTV Extender:3x HD200 1x HD300 1xFireTV Sage TV: 9.2 on Java 11, Standard STVi, Comskip Playback, Web Interface, 24 Hour Clock, SRE, Playon All in lovely Drexel Hill, PA |
#264
|
||||
|
||||
Is there a command that can be issued via HTTP to an Xbox360 to force a restart? Or maybe a shutdown and startup? I searched the available commands in the website interface for an Xbox360 but wasn't able to find any control at this level.
I'm really struggling with a black screen that appears after either of my Xbox360's have been either sitting idle or playing a television program for more than about 18 hours without a tuning change. All sleep settings on the Xbox's are disabled and I believe I've ruled out network connectivity issues, but I simply can't solve this issue without a restart of the Xbox360. Without some kind of http command, my only option would probably be to use the USB-UIRT to shutdown and turn the Xbox's back on. I believe ENE had been doing this to some extent with SJQ (and accompanying command file). |
#265
|
||||
|
||||
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 |
#266
|
|||
|
|||
Quote:
When my SageTV server would wake up to record two shows at the same time using the echos (or the two xbox 360s that I used to mess around with) one of the two devices would just not tune. I would get either a black screen or just the wmc home screen. What I have been experimenting with recently, and it seems to be working so far, is to send that powershell command in the ExeMultiTuner registry file "PowerShell.exe -Command Invoke-WebRequest -Uri http://localhost:%DEVICE%/tune%20%C2HANNEL%" I send the command to each device using Eventghost each time an extender logs on to the system (before its time to tune the channel I want to record). That means that for each device I replace the DEVICE part of the command with the port number for extender (40511 or 40512). I also replace CHANNEL part of the command with a zero. The effect is that a zero is sent to the extender and it remains on the channel it was originally on. For one of the devices I have it wait 15 seconds before sending the above command because I suspect the problem I was having might have to do with sending two commands at the same time immediately after the system wakes. It has been working perfectly for me so far. I think what you might want to do is to find a way more elegant than the above to send the powershell command to your extender to tune channel zero when the xbox wakes up or after a prolonged period. I am assuming that unlike me you know how to script it. Oh, my system has been sleeping and waking to record with wmc on the same machine. I discovered how to use powercfg to get past the extender keeping the system awake. I know most people keep their system on all the time but I just cant bring myself to do it... Saving power has become a habit I guess. Last edited by boukmandutty; 05-19-2018 at 07:57 PM. |
#267
|
||||
|
||||
First of all, thanks to everyone for their input. It's always interesting to see the various creativity around this joint.
I opted for the IR route, but there is still a bit of manual intervention because I'm too lazy/aging/stupid to research and script with SJQ. I have (2) timed recordings scheduled at the same time, twice a day (at 2am and 2pm, when I'm rarely using this tuner pair). This seems to keep the Xbox's from black screening quite as frequently. Additionally, it's easy for me to see when these recordings are black on just the previews and know there's a problem. Using ENE's work for guidance, I wrote a modified batch file that power cycles the Xbox's via IR. I installed Unified Remote Server on the SageTV server, and again on my Android phone. I dropped the batch file into the Win 7 Start Menu\Programs\SageTV directory, where I can launch it from my phone with Unified Remote. I wrote another batch file that cycles the SageTV service on and off and stuck it in the same place. Unified remote essentially gives me the ability to deal with 'black screened' Xbox's, a SageTV memory overload, and even restart the entire Win7 system if need be. It's not great with the manual intervention and the timed recordings, but at least I'm not helpless when I'm not home to manually restart stuff. Unified Remote opened up a lot of possibilities. I seem to recall Narflex writing something into SageTV that would look at the recording image and do something afterward, but I can't find it now. I would think a plugin that automatically takes a screenshot "x" seconds after any recording begins could be leveraged in many ways, analyzing the screenshot and then prompting an action as a result, especially for those of us with pesky STB's and the likes. |
#268
|
|||
|
|||
Do you know if there is a way to get an android device to boot directly into the hdhomerun app to await ir commands for changing channels? I am wondering if I can use it like a set top box. I know so fart that it works manually with the hdpvr 2.
|
#269
|
|||
|
|||
There are a multitude of ways to automate Android to get it to auto run an app. If all you're looking for is a way to get an Android device to boot into a certain app after booting, you can look at Tasker or Automate. The script should be relatively easy to make.
__________________
Server: SageTV 9.2.6x64 on Win10 x64 Home, i7-2600, 8gb RAM, OpenDCT, Java 1.8, 20TB storage Display: EVGA GT 1030 fanless to Sony LED TV via DVI-HDMI Capture Devices: HDHR Prime for Comcast, HDHR Dual for OTA (retired) Clients: Nvidia Shield Android miniclient |
#270
|
|||
|
|||
Cant seem to get any of them on install. The Google store says they are incompatible with my device. It seems I might have to root the miibox.
Anyway the device stays on the hdhomerun app until it is unplugged. I am able to change the channels using and flirc usb and a wmc remote configuration. There are still a few things ir related to be worked out to get it running perfectly thought but I suspect it has to do with the settings in the flirc. Another android tv box that supports numbers keys over ir should do this far more easily. Is there anyway to chance the channel in the hdhomerun app via network that anyone knows of? |
#271
|
|||
|
|||
Ok, have it all working flawlessly. Will watch it over the coming week to see how it performs.
For anyone looking to escape the Microsoft twilight zone and your reliance on Windows Media Center as a way to get drm content into SageTV a DRM capable android box that that has both the hdhomerun and the Live Channels app, and of course a hdhomerun prime, provides yet another way to go. I am currently using two Nvidia Shield Tvs (The mi box was a pain). Both Nvidias output to two hdpvr2 and give 5.1 audio. I anticipate this would be even better with one of those BM1000's, although they only do stereo I am told. The problem is there is no way to change channels on the android boxes over a network. For now the Shields need an FLIRC usb unit to change channels. I use the hdhomerun app since it gives better picture quality than live channels in my view and there are certainly less dropped frames. The trick is launch the app when the server wakes to record and exit it when it goes to sleep. I manage to do all this with eventghost. All credit to this thread for providing an angle to yet another option for those of us who live in regions where literally every channel is drm. Last edited by boukmandutty; 12-29-2018 at 07:57 PM. |
#272
|
||||
|
||||
Maybe this question is best for the OpenDCT thread, I don't know.
For various reasons I want to move my WMC Live Tuner capture from a BM-3000 to an HDPVR2. Is it possible to keep using OpenDCT to tune the WMC channels even though I'm not using a network encoder to capture? Or will I need to use another method such as EXEMultiTuner->WGET->HTTP to send the WMC tuner commands? |
#273
|
|||
|
|||
Quote:
You can have the tuning command in OpenDCT, but you will not have a "streaming_url". That will cause OpenDCT not to have access to the video, and it will, most likely, throw a fit. EXEMultiTuner->WGET->HTTP is the only way I am aware of to tune the WMC instance. Maybe a USB-UIRT could be configured to do the tuning. I remember using that when I used HDPVRs. I retired the USB-UIRT and HDPVR when I moved to Unraid and did not want to deal with it on Linux. You may want to do a search of the Green Button forums at https://www.thegreenbutton.tv/forums/
__________________
Server:UnRaid;2x Intel Xeon E5; SuperMicro moboard;Also:BM3000 w/ WMC; 2x Ceton ETH 6; OpenDCT SageTV Extender:3x HD200 1x HD300 1xFireTV Sage TV: 9.2 on Java 11, Standard STVi, Comskip Playback, Web Interface, 24 Hour Clock, SRE, Playon All in lovely Drexel Hill, PA |
#274
|
|||||||||||
|
|||||||||||
Channel Change over Network with Android Box as Stb.
I have found a way to effectively use an android box as a stb and to change channels via a network connection using the ExeMultiTuner plugin and drawing on this thread. This should work with any hdmi capture device attached to the box.
So far I have it running relatively smoothly. My method is crude but I am sure people here will figure out a more elegant way of doing what I outline below. Steps: 1. Enable developer mode on your drm capable andoird box that is able to view drm channels via hdhomerun. On my device I navigate to the Build number and tap 7 times. 2. Enable network debugging. This option will appear after you do Step 1 above. 3. Download and install Andriod SDK to your path. (You seem to need only adb but I am not sure. I have no experience with things android) 4. When you have adb in place (I installed it and added it to my system path) connect to your android box over the network with the following two commands: Quote:
Quote:
5. Feel free to experiment with your network access to the box with the following command for example: Quote:
You can change the channel from the terminal with the following command Quote:
Quote:
6. The next step is making SageTV do this channel chaning on demand. For this we need the ExeMultiTuner plugin. Install it as per usual in the Remotes folder. For the registry input I installed the registry patch from the WMC Live TV hack that ENE provided here and edited it with the following command: Quote:
7. See step 8 of Kryptonite's instructions of page 2 of this thread for reference!!* Inside the Sagetv I add a new device and choose ExeMultiTuner plugin for my option to change channels. I then go to the ExeMultiTuner folder that is generated in the Sagetv “Remotes” folder and copy and paste the default StbDevice.ir into that folder. Still in the ExeMultiTuner folder, I change the name of that device to the ip address of my android device and modify the information in the file to match the name (the ip address). 8. Go back to SagTV and be sure that inside remote options for your newly created capture device you have selected the correct remote for the ExeMultiTuner. It should be the one renamed with the ip address of your android box. 9. You should be able to change channels after you restart SageTV Service. The trick now is to get adb started and the android box connected to it when the computer boots with some script. I use eventghost to get the box running and the tv app launched before SageTV begins recording. If you come up with a nifty more reliable script, please share. To get this started this sequence of commands works for me: Quote:
Quote:
Quote:
Quote:
If you connect more than one device to the adb server you will have to specify the ip address for the commands issued from the terminal as you play around and experiment. So for example I would change the channel of one of my tuners from the terminal as follows: Quote:
Last edited by boukmandutty; 09-17-2019 at 05:59 PM. |
#275
|
|||
|
|||
What Android TV box did you use ? and will this work on a Shield ?
Where did you get the Android SDK ?
__________________
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 10:06 AM. |
#276
|
|||
|
|||
I use it on two Nvidia shields.
I just checked and one of the recordings I scheduled last night for testing purposes did not work. I have been testing since this last weekend. I suspect the problem has more to do with the fact that I put my server to sleep instead of keeping it running 24/7 like most of you guys seem to do. For my system the abd server has to get started each time it wakes up, the devices then have to connect and so on. |
#277
|
|||
|
|||
Quote:
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#278
|
|||
|
|||
Nice! I look forward on your insights on how to make the SageTV part work better.
I tried using the hdhomerun app instead of live channels but it gave problems. The app pops up a random keyboard on screen especially when the last digit of a channel is 7 it seems. I do think that the quality of the picture using the hdhomerun tv app is better though, but that might be subjective. |
#279
|
|||
|
|||
Quote:
__________________
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 12:05 PM. |
#280
|
|||
|
|||
Yeah it brings up the keyboard when you press enter as you must do in that apt confirm the channel change so when you do for instance:
adb shell input keyboard text 780 You have to add the enter command for that channel change if you want to control the hdhomeurn app. The command thus becomes something like this: adb -s "ip address of device" shell input keyboard text 780; input keyevent KEYCODE_ENTER That enter command in some instances triggers an annoying onscreen keyboard instead of sending a simple confirmation. You have to then clear all of that stuff that comes on the screen before you can do anything else. The keyboard pop up does not automatically disappear like you would expect it should. I have to issue the following command twice to clear the screen: adb shell input keyevent KEYCODE_BACK I had the same problem when I was using a usb Flirc device to send ir commands to control the hdhomerun app. So now I have confirmed that it was not just wayward ir commands but something about how the app itself is built. |
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 |