SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Linux > SageTV for unRAID/Docker

Notices

SageTV for unRAID/Docker Discussion related to SageTV for unRAID/Docker. Questions, issues, problems, suggestions, etc. relating to SageTV for unRAID/Docker should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #21  
Old 01-31-2017, 09:38 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,200
SageTCPServer can restart the extenders on reboot so perhaps the best way to do this would be to use that. The issue is that it can cause problems if you have used more than 10 miniclients which isn't hard to do when playing around with running SageTV Placeshifter on several different PCs.

The issue is that I believe that SageTCPServer is now dormant as Fonceur is no longer around. I will contact him.
__________________
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
Reply With Quote
  #22  
Old 01-31-2017, 09:57 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
I think a light-weight, single purpose plugin would be best for this. It could actually look in the clients folder and attempt to wake up all configured miniclients.
__________________
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
Reply With Quote
  #23  
Old 01-31-2017, 10:08 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,200
Yes, I agree but you may want to option of specifying which ones to power on. I would envision a UI like this:

Code:
Client Name   MAC            IP            Auto-PowerOn?
Kitchen       00:0A:01:02:EA 192.168.1.50  yes
The names are likely already stored in the extender.properties or other file. You likely want to omit miniclients that are not extenders, you could probably figure that out automatically as the extender MACs would be within a known range. Not sure about Android clients, however.
__________________
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
Reply With Quote
  #24  
Old 03-19-2021, 03:17 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,200
Quote:
Originally Posted by stuckless View Post
if /opt/sagetv/server/sagetv-user-script.sh exists it will be run immediately before the SageTV starts.
This is a 4 year necropost so I don't know if anyone is still around to answer the questions, but here goes:
is /opt/sagetv/ the same as /appdata/sagetv? I am guessing that the former is the docker path and the latter is the unRAID server path.

Within the server folder there is a script called startsage. If I add a line in that script to call a script to power on my extenders will that work? Would that line get nuked when the SageTV version is updated?
__________________
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
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to stop docker? matt91 SageTV for unRAID/Docker 2 01-16-2017 04:37 PM
Is unRAID/Docker the right OS for me? wayner SageTV for unRAID/Docker 32 01-12-2017 03:08 PM
Docker container coppit SageTV Github Development 20 09-06-2015 06:26 PM
NASs? Docker? ThePaladinTech SageTV Github Development 10 08-16-2015 02:34 PM
Unfortunate behavior when fav #5 starts at 11:05pm but fav #15 starts at 11:00pm rmellor SageTV Software 16 03-23-2005 03:05 AM


All times are GMT -6. The time now is 05:15 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.