|
SageTV v9 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 9 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 9 and newer. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
Plugin to allow switching between Sagetv servers from extenders?
Is there something for that? If not, would that be possible to do from a plug in?
Thanks, Bill
__________________
Home DVR: SageTV v9.2.6(64) i7-6700 3.4ghz, 8GB RAM, Win10 Pro, 1@ SSD +1@6TB WD Blue, 1 Quad HDHR, ( OTA Winegard HD8200U, CM4221HD), 1@ STP-HD200, 1@ Nvidia Shield , 1 @ Nvidia Shield new round version, 70" & 55" Sony's RV DVR: 2@SageTV v9.2.6, NUC8i5BEK 16GB, SS980Pro NVMe, 5TB Passport, 1@olderNUC, 2 Dual HDHR, , Winegard BatWing, 40", 32", 28" Sony's, Max Transit |
#2
|
||||
|
||||
Pretty if you set your extender to NOT automatically connect, it will show a list of sagetv server and you can select which one you want to connect to.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#3
|
|||
|
|||
No, but this is something that I would like to be able to control from the web UI. I would like to have a list of all Extenders that have ever connected to the server and have a way of "forcing" them to rejoin. It would be very useful after your server goes down. SageTCP server can kind of do this but it has caused other problems on my system.
Theoretically it is possible but it would likely have to be done with something like telnet scripting run on the extender - the extenders are running Busybox Linux. You would have to change a text file on the extender with the server info and then restart the SageTV miniclient. I have both HD200s and 300s and they seem to work slightly differently in this regard so you would likely need to develop a specific process for each of these two devices. It would also be able to do this on an AndroidTV device but I don't know if they have something like a telnet or ssh daemon running so that you could even access the device from the outside world. I think they must have some kind of control as I know that there are Shield drivers for Home Automation systems that can start specific apps on the Shield. So the only way to do this is to power off the extender (which really puts it in standby state), power it back on, and press stop while it boots up and before it connects to your previous server. Or deselect the auto-connect option.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#4
|
||||
|
||||
Bummer. I have been doing the shutoff and pressing the select button to stop the auto-connect. But what I found was it will then default to the last connected device the next time its turned on. So if (when) I forget to reconnect to the main Sage server the WAF goes to hell immediately.
I guess the Sage guys never figured folks might want multiple servers to spread out the load of I/O,transcoding, and comskip processing. Thanks, Bill
__________________
Home DVR: SageTV v9.2.6(64) i7-6700 3.4ghz, 8GB RAM, Win10 Pro, 1@ SSD +1@6TB WD Blue, 1 Quad HDHR, ( OTA Winegard HD8200U, CM4221HD), 1@ STP-HD200, 1@ Nvidia Shield , 1 @ Nvidia Shield new round version, 70" & 55" Sony's RV DVR: 2@SageTV v9.2.6, NUC8i5BEK 16GB, SS980Pro NVMe, 5TB Passport, 1@olderNUC, 2 Dual HDHR, , Winegard BatWing, 40", 32", 28" Sony's, Max Transit |
#5
|
|||
|
|||
I may play around with this as a project in the near future. You only have HD-200s, correct?
And what would you want - a menu item in the SageTV menu that lets you reboot and connect to server xyz? How about always having a default server so that SageTV always tries to connect to the default server, rather than the last connected server. Would that work? And it looks like you have servers on both Win7 and unRAID, which is the same as my configuration.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#6
|
|||
|
|||
By the way, here is an old thread that contains some discussion and code on this and related issues:
https://forums.sagetv.com/forums/showthread.php?t=38921 And here is a thread from 2009 where someone asks the exact same question that you did: https://forums.sagetv.com/forums/showthread.php?t=42650
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#7
|
||||
|
||||
Quote:
If those are your concerns, there are other, probably simpler (WAF) ways to to address the issue. SJQ can distribute work to other machines. I used it for years to have my powerful desktop run ShowAnalyzer rather than my comparatively weak SageTV machine. It seems to me like a better, simpler long term solution might be to re-evaluate why you're running multiple servers and try to move away from that. |
#8
|
|||
|
|||
I have always had multiple servers and I duplicate most of the content between the two servers. This is the best way to keep FAF - if there is any problem with one server then you just reboot the extender and choose another server. I don't necessarily have tuners on the other server but that is OK as we primarily watch content that was recorded or ripped in the past.
Another reason to have had two servers, at least prior to Sage V9 on Linux, was to allow many simultaneous connections. I found that once I hit about four miniclients that my SageTV server would start puking out.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#9
|
||||
|
||||
Yeah, During Primetime I can easily record 4 shows at the same time, I have sagetv spool them to 4 different drives and its during primetime is when shows will normally get watched by two or three different clients. The show watching gets very sluggish then. I had already set comskip to run after midnight as it didn't appear to be running at belownormal which I though it should be. That same server will also be recording web shows via Playon/Playlater and it also runs Ispy pulling in feeds from 8 cameras around the homestead. (I had to start running them raw AVI as having them compressed to mp4 files made watching shows almost painful.)
That server also selectively uses FFMPEG to transcode the OTA shows to MP4 and then will drop certain shows into my dropbox show folder so my Sagetv server in the RV can play them if i want when we are on the road. Bill
__________________
Home DVR: SageTV v9.2.6(64) i7-6700 3.4ghz, 8GB RAM, Win10 Pro, 1@ SSD +1@6TB WD Blue, 1 Quad HDHR, ( OTA Winegard HD8200U, CM4221HD), 1@ STP-HD200, 1@ Nvidia Shield , 1 @ Nvidia Shield new round version, 70" & 55" Sony's RV DVR: 2@SageTV v9.2.6, NUC8i5BEK 16GB, SS980Pro NVMe, 5TB Passport, 1@olderNUC, 2 Dual HDHR, , Winegard BatWing, 40", 32", 28" Sony's, Max Transit Last edited by bigbill; 12-14-2017 at 02:57 PM. |
#10
|
|||
|
|||
That's a busy server!
This is getting off-topic but have you ever looked at Blue Iris rather than iSpy? I played around with iSpy but never used it in depth. I am quite impressed with Blue Iris and it integrates well with my Control4 Home Automation. I haven't done this but it would also probably be possible to feed the cameras into SageTV using something like ENE's OpenDCT or something similar.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#11
|
||||
|
||||
No, I hadn't heard of that, been using Ispy for many years now. I will add that to my list, maybe even install it on my second Sage Server. It is a little more powerful than my main server. Just not much disk on that one.
Being able to record them into Sage is something I would really like to do. I have been trying to figure out how to add one (or all) of the cameras to any of my TV's, or even cooler into the PIP on my larger tv for a long time, but have found nothing at all to get me there. Is there a good write up on OpenDCT, I'm not ever sure what its capable of after poking around and looking at threads here. -Bill
__________________
Home DVR: SageTV v9.2.6(64) i7-6700 3.4ghz, 8GB RAM, Win10 Pro, 1@ SSD +1@6TB WD Blue, 1 Quad HDHR, ( OTA Winegard HD8200U, CM4221HD), 1@ STP-HD200, 1@ Nvidia Shield , 1 @ Nvidia Shield new round version, 70" & 55" Sony's RV DVR: 2@SageTV v9.2.6, NUC8i5BEK 16GB, SS980Pro NVMe, 5TB Passport, 1@olderNUC, 2 Dual HDHR, , Winegard BatWing, 40", 32", 28" Sony's, Max Transit |
#12
|
|||
|
|||
This Generic HTTP Capture Device should work for getting camera streams to show up as tuners in SageTV if you can get it configured properly and if your camera, or software like iSpy or BI, puts out the proper type of stream.https://forums.sagetv.com/forums/showthread.php?t=63855
There is also a slight variation - the Generic Pipe capture device: https://forums.sagetv.com/forums/showthread.php?t=63823 Blue Iris is pretty much fully fledged NVR software. It can be CPU intensive if you have lots of cameras running at high res and doing analysis, but it may not be as CPU intensive as iSpy. It can be set to record 24x7 or only when motion is sensed. But it is very flexible and can kick of processes, etc when motion has been sensed. And like iSpy it can use pretty much any camera that is connected to a computer or LAN. It does cost a one time fee of $70 but that is a pretty good deal considering all that it does. There are a few others in the SageTV community using it as well.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server Last edited by wayner; 12-15-2017 at 03:59 PM. |
#13
|
||||
|
||||
Wayner, thanks for the Blue Iris info. I will probably switch to that. I have had it runing a few days now and might have about 20% of it figured out. But what I have seen so far is much easier to setup than iSpy.
Now I just have to figure out how the purchase works so I can get rid the the Eval strip across all the video.. I thought it said there was a freeware version, but maybe not. -Bill PS. Now I have to look into having Sage bring up a camera or two. It would be awesome to have the front door come up in a PIP when someone rings the doorbell in the evening. I live in a city and 99% of the time its a door to door salesman selling something I would never want. -Bill
__________________
Home DVR: SageTV v9.2.6(64) i7-6700 3.4ghz, 8GB RAM, Win10 Pro, 1@ SSD +1@6TB WD Blue, 1 Quad HDHR, ( OTA Winegard HD8200U, CM4221HD), 1@ STP-HD200, 1@ Nvidia Shield , 1 @ Nvidia Shield new round version, 70" & 55" Sony's RV DVR: 2@SageTV v9.2.6, NUC8i5BEK 16GB, SS980Pro NVMe, 5TB Passport, 1@olderNUC, 2 Dual HDHR, , Winegard BatWing, 40", 32", 28" Sony's, Max Transit |
#14
|
|||
|
|||
I paid for the license pretty quickly. Apparently it is a project that is done by one guy and he does a great job. So $60 or whatever is pretty reasonable.
There is a user forum here that is very useful. That site has also great info on IP cams in general.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#15
|
||||
|
||||
Wayner, I too purchased a license. I found an ebay site that was $10 less than usual. And it worked. I also contacted support as the recorded video was unreadable on any other PC without exporting it. They told me to load the trial version on any machine I wanted to view the .bvr files and to delete a registry key each time the software expires on that PC. They really need to create a viewer as that is pretty much a kludge.
Who wants to go thru the hassle of exporting a file just so you can view it only your laptop. or some other pc. -Bill
__________________
Home DVR: SageTV v9.2.6(64) i7-6700 3.4ghz, 8GB RAM, Win10 Pro, 1@ SSD +1@6TB WD Blue, 1 Quad HDHR, ( OTA Winegard HD8200U, CM4221HD), 1@ STP-HD200, 1@ Nvidia Shield , 1 @ Nvidia Shield new round version, 70" & 55" Sony's RV DVR: 2@SageTV v9.2.6, NUC8i5BEK 16GB, SS980Pro NVMe, 5TB Passport, 1@olderNUC, 2 Dual HDHR, , Winegard BatWing, 40", 32", 28" Sony's, Max Transit |
#16
|
|||
|
|||
Can't just view the video via the Web UI that you have with Blue Iris - or the App on mobile devices. Blue Iris sets up its own web UI, just like SageTV, and you can view everything through that. That's what I do. I haven't had much need to move the video files anywhere else. Or you can just view the video on the Blue Iris PC - generally using RDP to access my Blue Iris PC.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#17
|
|||
|
|||
Quote:
I find Blue Iris to be excellent: super reliable, reasonable CPU utilization and very reasonably priced. Been running it for several years on 3 of my Sage systems.
__________________
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. |
#18
|
||||
|
||||
+1 for the Blue Iris software. I loaded it at work for a DIY security camera setup and found it to be easy to configure and operate.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Switching Servers without powering off | Sector7g | SageTV HD Theater - Media Player | 5 | 06-29-2009 10:03 PM |
Switching PC Servers | Kypp | SageTV Software | 2 | 01-08-2009 02:24 PM |
Questions about Servers, Tuners and Media Extenders | Mitch G | General Discussion | 41 | 06-08-2008 07:23 PM |
Switching Servers | soccerdad | SageTV Media Extender | 3 | 05-25-2008 10:32 PM |
2 sagetv servers is it possible? | wbarber69 | SageTV Software | 20 | 02-10-2005 07:32 PM |