![]()  | 
	
		
			
  | 
	|||||||
| General Discussion General discussion about SageTV and related companies, products, and technologies. | 
![]()  | 
	
	
| 
		 | 
	Thread Tools | Search this Thread | Display Modes | 
| 
		 
			 
			#1  
			
			
			
			
			
		 
		
	 | 
||||
		
		
  | 
||||
| 
		
	
		
		
			
			 
			
			I'd like to schedule a semi-weekly reboot of my PC, but I can't think of a way to detect whether SageTV is recording at that time. 
		
		
		
		
		
		
			Any ideas? 
				__________________ 
		
		
		
		
		
	
	SageTV server & client: Win 10 Pro x64, Intel DH67CF, Core i5 2405s, 8 GB ram, Intel HD 3000, 40GB SSD system, 4TB storage, 2x HD PVR component + optical audio, USB-UIRT 2 zones + remote hack, Logitech Harmony One, HDMI output to Sony receiver with native Intel bitstreaming  | 
| 
		 
			 
			#2  
			
			
			
			
			
		 
		
	 | 
||||
		
		
  | 
||||
| 
		
	
		
		
		
		 
			
			my external status plugin can provide this information to an external polling process..
		 
		
		
		
		
		
		
			
				__________________ 
		
		
		
		
		
	
	Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki  | 
| 
		 
			 
			#3  
			
			
			
			
			
		 
		
	 | 
||||
		
		
  | 
||||
| 
		
	
		
		
		
		 
			
			It'd be nice if the Sage menus had a tuner status area, similar to the recording lights on a TiVo.  Either red/green dots or a message box or something.
		 
		
		
		
		
		
		
		
		
	
	 | 
| 
		 
			 
			#4  
			
			
			
			
			
		 
		
	 | 
||||
		
		
  | 
||||
| 
		
	
		
		
		
		 
			
			For the purpose of just stopping the service and rebooting, the easiest way would be to check for the existence of a text file like:  
		
		
		
		
		
		
			if not exist c:\Frey\SageTV\isrecording.txt then net stop SageTV call reboot.bat else call reschedule.bat I'm learing Python right now, so maybe this summer I can program something like this. 
				__________________ 
		
		
		
		
		
	
	SageTV server & client: Win 10 Pro x64, Intel DH67CF, Core i5 2405s, 8 GB ram, Intel HD 3000, 40GB SSD system, 4TB storage, 2x HD PVR component + optical audio, USB-UIRT 2 zones + remote hack, Logitech Harmony One, HDMI output to Sony receiver with native Intel bitstreaming  | 
| 
		 
			 
			#5  
			
			
			
			
			
		 
		
	 | 
||||
		
		
  | 
||||
| 
		
	
		
		
		
		 
			
			Apart from my status plugin showing whats currently recording, you may also want to check whether a recording will start within the next 5 mins or so... there is an properties option to write a txt file with the recording schedule, which you could then read and parse...
		 
		
		
		
		
		
		
			
				__________________ 
		
		
		
		
		
	
	Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki  | 
| 
		 
			 
			#6  
			
			
			
			
			
		 
		
	 | 
||||
		
		
  | 
||||
| 
		
	
		
		
		
		 
			
			Yeah, I was thinking about that potential problem.  A pseudo-safe way would be to schedule the reboot to happen at ##:15 or ##:45, since 99.9% of shows start on the hour or half-hour.
		 
		
		
		
		
		
		
			
				__________________ 
		
		
		
		
		
	
	SageTV server & client: Win 10 Pro x64, Intel DH67CF, Core i5 2405s, 8 GB ram, Intel HD 3000, 40GB SSD system, 4TB storage, 2x HD PVR component + optical audio, USB-UIRT 2 zones + remote hack, Logitech Harmony One, HDMI output to Sony receiver with native Intel bitstreaming  | 
![]()  | 
	
	
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
		
  | 
	
		
  |