SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v7 Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer.

Reply
 
Thread Tools Search this Thread Display Modes
  #1541  
Old 09-17-2014, 01:03 PM
rnadeau's Avatar
rnadeau rnadeau is offline
Sage Expert
 
Join Date: Jun 2006
Location: Maine
Posts: 500
So How would I enter the sagebackup.groovy in the web ui?
__________________
Sage Tv Server-Amd 4200FX quad core, Asus Nvidia EN610 Hdmi out , 8 Gig Ram ,(3) HVR-1800, 3.5 terrabyte storage, Windows 8 Pro on sage 9.09 system . Media Server- 6 Terabytes on 5 drives, Amd x2 6000 8 useable gig ram on win 7 32 bit media server.
Reply With Quote
  #1542  
Old 09-17-2014, 01:26 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
script:C:\path\to\sagebackup.groovy
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
  #1543  
Old 09-17-2014, 01:51 PM
rnadeau's Avatar
rnadeau rnadeau is offline
Sage Expert
 
Join Date: Jun 2006
Location: Maine
Posts: 500
Thanks!
__________________
Sage Tv Server-Amd 4200FX quad core, Asus Nvidia EN610 Hdmi out , 8 Gig Ram ,(3) HVR-1800, 3.5 terrabyte storage, Windows 8 Pro on sage 9.09 system . Media Server- 6 Terabytes on 5 drives, Amd x2 6000 8 useable gig ram on win 7 32 bit media server.
Reply With Quote
  #1544  
Old 10-16-2014, 11:29 AM
TechBill's Avatar
TechBill TechBill is offline
Sage Fanatic
 
Join Date: Aug 2007
Posts: 827
Is it possible to use this plugin to keep watch for any new video file on NAS drive and play it back on SageTv extender interrupting whatever being played on it?

I am installing a new security camera that will write to NAS drive when motion is detected so I am wanting something like this since I am Deaf and it'll be cool to be alerted when someone is coming to the door using SageTV extender throughout the house.

Bill
__________________
HTPC System
GIGABYTE GA-MA69GM-S2H AM2 AMD 690G HDMI // AMD Athlon 64 X2 6000+ Windsor 3.0GHz // G.SKILL 6GB (2 x 2GB) 240-Pin DDR2 SDRAM DDR // Hauppauge Colossus HD-PVR // Hauppauge Colossus HD-PVR // Seagate ST3750640AS 750GB SATA-300 16MB // DVD R/W - SAMSUNG Black
Media Extenders
HD300
HTPC Software
Windows 7 Professional 64bits // SageTV 7.1.x // Java 1.7.x
Reply With Quote
  #1545  
Old 10-16-2014, 11:42 AM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Off the top of my head, yes, I can think of a few ways to do that with SJQ. If you're not already an SJQ user then I can think of other ways to do it just as easily (if not easier) than using SJQ.

Either solution requires some coding to monitor this NAS directory then when it finds new video files you need to make Sage API calls to import the videos into Sage and then trigger playback on all (in use?) extenders and clients.

Using Java 7 APIs, monitoring the NAS is straightfoward and then all the API calls exist in Sage to import the video and fire it up on all active extenders.

So, yes, this kind of thing is quite possible, but it will require a fair amount of coding, development, & testing (i.e. it definitely isn't as simple as a few dozen lines of script to make it all happen).
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
  #1546  
Old 10-17-2014, 01:28 PM
TechBill's Avatar
TechBill TechBill is offline
Sage Fanatic
 
Join Date: Aug 2007
Posts: 827
Quote:
Originally Posted by Slugger View Post
Off the top of my head, yes, I can think of a few ways to do that with SJQ. If you're not already an SJQ user then I can think of other ways to do it just as easily (if not easier) than using SJQ.

Either solution requires some coding to monitor this NAS directory then when it finds new video files you need to make Sage API calls to import the videos into Sage and then trigger playback on all (in use?) extenders and clients.

Using Java 7 APIs, monitoring the NAS is straightfoward and then all the API calls exist in Sage to import the video and fire it up on all active extenders.

So, yes, this kind of thing is quite possible, but it will require a fair amount of coding, development, & testing (i.e. it definitely isn't as simple as a few dozen lines of script to make it all happen).

I ordered two cameras and they won't be here until next week.

I was told it record the video in .MOV format onto a NAS drive. Is that possible still?

Thank you

Bill
__________________
HTPC System
GIGABYTE GA-MA69GM-S2H AM2 AMD 690G HDMI // AMD Athlon 64 X2 6000+ Windsor 3.0GHz // G.SKILL 6GB (2 x 2GB) 240-Pin DDR2 SDRAM DDR // Hauppauge Colossus HD-PVR // Hauppauge Colossus HD-PVR // Seagate ST3750640AS 750GB SATA-300 16MB // DVD R/W - SAMSUNG Black
Media Extenders
HD300
HTPC Software
Windows 7 Professional 64bits // SageTV 7.1.x // Java 1.7.x
Reply With Quote
  #1547  
Old 10-17-2014, 01:34 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Yes, assuming extenders play .mov files. If not then you might have to convert the videos to something the extenders can play, which definitely removes that instantaneous playback capability.

Assuming extenders play back .mov files then I'd say it's possible, but only in theory. I haven't actually tried anything like it, but to my knowledge all the apis you need to make it happen exist and I can't think of a good reason why it couldn't be done. But like I said, it's not trivial to actually go and implement it.
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
  #1548  
Old 12-13-2014, 08:14 AM
firenice firenice is offline
Sage Advanced User
 
Join Date: Jul 2010
Location: Houston, Texas
Posts: 139
Annoyance

I recieve the attached warning in system messages all the time.

I have searched for a way to disable them but to no avail.

Is there a way to disable the time out warnings?

Thanks
Attached Images
File Type: png Warn.PNG (149.9 KB, 140 views)
Reply With Quote
  #1549  
Old 12-13-2014, 09:05 AM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
No. Either fix the task client or unregister the task client with the SJQ server.
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
  #1550  
Old 12-13-2014, 09:09 AM
firenice firenice is offline
Sage Advanced User
 
Join Date: Jul 2010
Location: Houston, Texas
Posts: 139
Quote:
Originally Posted by Slugger View Post
No. Either fix the task client or unregister the task client with the SJQ server.
Fix the task client? Meaning what fix?

THanks
Reply With Quote
  #1551  
Old 12-13-2014, 09:11 AM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Given the error is "connection time out", that basically means the task client isn't running so start it if it's not started and if you start it but it doesn't start then look in the log file to see why it won't start.
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
  #1552  
Old 12-13-2014, 09:15 AM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Some things are coming back to me... if that task client is the Sage plugin version of the task client then it could be the case where the SJQ server is being started before the task client, which would cause that warning on Sage startup, but then on its next check the client would be found and all would be good. There is no way for me to prevent that warning on startup as it's dependent on the order in which the core starts the plugins up. I could only control it by making the server dependent on the client, but not all users want to run the plugin task client so I didn't do that. If this is the case then it's just a warning you'll have to live with as long as you're using the plugin task client.
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
  #1553  
Old 12-13-2014, 09:32 AM
firenice firenice is offline
Sage Advanced User
 
Join Date: Jul 2010
Location: Houston, Texas
Posts: 139
Not a problem Slugger.

I'm not running the plugin. I'm am running the client as a service on another computer. This message occurs when the client goes to sleep or is rebooted. Was just wondering if there was a config setting to squash the warnings.

Thanks for your help.
Reply With Quote
  #1554  
Old 12-16-2014, 08:14 PM
TechBill's Avatar
TechBill TechBill is offline
Sage Fanatic
 
Join Date: Aug 2007
Posts: 827
I rebuilding my SageTV and I kind of forgotten how to run a script to restart SageTV outside of SageTV.

I did install the groovy but it keep complaining that it missing license and sage api

Can anyone give me hand here?

Thank you

Bill
__________________
HTPC System
GIGABYTE GA-MA69GM-S2H AM2 AMD 690G HDMI // AMD Athlon 64 X2 6000+ Windsor 3.0GHz // G.SKILL 6GB (2 x 2GB) 240-Pin DDR2 SDRAM DDR // Hauppauge Colossus HD-PVR // Hauppauge Colossus HD-PVR // Seagate ST3750640AS 750GB SATA-300 16MB // DVD R/W - SAMSUNG Black
Media Extenders
HD300
HTPC Software
Windows 7 Professional 64bits // SageTV 7.1.x // Java 1.7.x
Reply With Quote
  #1555  
Old 12-16-2014, 09:19 PM
TechBill's Avatar
TechBill TechBill is offline
Sage Fanatic
 
Join Date: Aug 2007
Posts: 827
Quote:
Originally Posted by TechBill View Post
I rebuilding my SageTV and I kind of forgotten how to run a script to restart SageTV outside of SageTV.

I did install the groovy but it keep complaining that it missing license and sage api

Can anyone give me hand here?

Thank you

Bill
I checked the SJQ plugins and now it showing Not Compatible .... hrmmm it was working before ...

I wonder what I did to make it not compatible anymore....

I looked in the plugin details and incompatibility reason is blank

Any idea what how I manage to break it? I wonder if it was the Java update that broke it?

Bill
__________________
HTPC System
GIGABYTE GA-MA69GM-S2H AM2 AMD 690G HDMI // AMD Athlon 64 X2 6000+ Windsor 3.0GHz // G.SKILL 6GB (2 x 2GB) 240-Pin DDR2 SDRAM DDR // Hauppauge Colossus HD-PVR // Hauppauge Colossus HD-PVR // Seagate ST3750640AS 750GB SATA-300 16MB // DVD R/W - SAMSUNG Black
Media Extenders
HD300
HTPC Software
Windows 7 Professional 64bits // SageTV 7.1.x // Java 1.7.x
Reply With Quote
  #1556  
Old 12-16-2014, 10:51 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
For the task client, replace the salicense jar file with the one in your JARs/ folder from SageTV. That will fix the license complaints.

For the incompatible error, not sure. The core is supposed to tell you why it's marking a plugin not compatible. If the core won't tell us then I'm not sure what you can do other than check the Sage debug logs to see if it has any clues. SJQ requires Java 5 or newer and Sage core 7.0.18 or newer. If you meet those requirements then I don't know why it's telling you it can't load the plugin.
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
  #1557  
Old 12-18-2014, 11:10 PM
TechBill's Avatar
TechBill TechBill is offline
Sage Fanatic
 
Join Date: Aug 2007
Posts: 827
Quote:
Originally Posted by Slugger View Post
For the task client, replace the salicense jar file with the one in your JARs/ folder from SageTV. That will fix the license complaints.
Thank you that fixes it

Bill
__________________
HTPC System
GIGABYTE GA-MA69GM-S2H AM2 AMD 690G HDMI // AMD Athlon 64 X2 6000+ Windsor 3.0GHz // G.SKILL 6GB (2 x 2GB) 240-Pin DDR2 SDRAM DDR // Hauppauge Colossus HD-PVR // Hauppauge Colossus HD-PVR // Seagate ST3750640AS 750GB SATA-300 16MB // DVD R/W - SAMSUNG Black
Media Extenders
HD300
HTPC Software
Windows 7 Professional 64bits // SageTV 7.1.x // Java 1.7.x
Reply With Quote
  #1558  
Old 12-18-2014, 11:13 PM
TechBill's Avatar
TechBill TechBill is offline
Sage Fanatic
 
Join Date: Aug 2007
Posts: 827
Quote:
Originally Posted by Slugger View Post
For the incompatible error, not sure. The core is supposed to tell you why it's marking a plugin not compatible. If the core won't tell us then I'm not sure what you can do other than check the Sage debug logs to see if it has any clues. SJQ requires Java 5 or newer and Sage core 7.0.18 or newer. If you meet those requirements then I don't know why it's telling you it can't load the plugin.
I think I know why it showing incompatible.

I have a server licence on my desktop which I am not using but I load it up as a client to go into the setting to adjust the setting where it showing me incompatible but if I go into one of the extenders it showing fine and compatible.

I think it telling me it incompatible on a computer running only as client maybe when I am only using it to make changes to the server setting because it quicker to do it on a desktop with keyboard and mouse than to do it via extender with remote control only.

Thanks again!

Bill
__________________
HTPC System
GIGABYTE GA-MA69GM-S2H AM2 AMD 690G HDMI // AMD Athlon 64 X2 6000+ Windsor 3.0GHz // G.SKILL 6GB (2 x 2GB) 240-Pin DDR2 SDRAM DDR // Hauppauge Colossus HD-PVR // Hauppauge Colossus HD-PVR // Seagate ST3750640AS 750GB SATA-300 16MB // DVD R/W - SAMSUNG Black
Media Extenders
HD300
HTPC Software
Windows 7 Professional 64bits // SageTV 7.1.x // Java 1.7.x
Reply With Quote
  #1559  
Old 01-05-2015, 04:38 PM
TechBill's Avatar
TechBill TechBill is offline
Sage Fanatic
 
Join Date: Aug 2007
Posts: 827
Trying to set up a nightly SageTV restart using the SQjv4 new method

I created a task shown in screenshot below

and I added in Cronjob to run task every morning at 4am

* 04 * * * RESTARTSAGETV

Did I miss anything? Is there a way to force a task to start in WebGUI making sure it will work?

Thank you

Bill
Attached Images
File Type: jpg sagetask.jpg (25.4 KB, 122 views)
__________________
HTPC System
GIGABYTE GA-MA69GM-S2H AM2 AMD 690G HDMI // AMD Athlon 64 X2 6000+ Windsor 3.0GHz // G.SKILL 6GB (2 x 2GB) 240-Pin DDR2 SDRAM DDR // Hauppauge Colossus HD-PVR // Hauppauge Colossus HD-PVR // Seagate ST3750640AS 750GB SATA-300 16MB // DVD R/W - SAMSUNG Black
Media Extenders
HD300
HTPC Software
Windows 7 Professional 64bits // SageTV 7.1.x // Java 1.7.x
Reply With Quote
  #1560  
Old 01-05-2015, 06:08 PM
KarylFStein KarylFStein is offline
Sage Fanatic
 
Join Date: Apr 2006
Location: Westland, Michigan, USA
Posts: 999
Quote:
Originally Posted by TechBill View Post
Trying to set up a nightly SageTV restart using the SQjv4 new method

I created a task shown in screenshot below

and I added in Cronjob to run task every morning at 4am

* 04 * * * RESTARTSAGETV

Did I miss anything? Is there a way to force a task to start in WebGUI making sure it will work?

Thank you

Bill
I think you want your crontab entry to have a minute e.g. 0 4 * * *.

In the web server, go to SJQ > Queue a Task, enter RESTARTSAGETV in the input field and press Queue Task.
__________________
Home Network: https://karylstein.com/technology.html
Reply With Quote
Reply


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

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
Plugin: MizookLCD (Alternate SageTV LCDSmartie Plugin) cslatt SageTV Customizations 48 06-11-2012 10:44 AM
SJQv4: Technology Preview Slugger SageTV v7 Customizations 39 12-17-2010 01:17 PM
SageTV Plugin Developers: Any way to see stats for your plugin? mkanet SageTV Software 4 12-12-2010 10:33 PM
MediaPlayer Plugin/STV Import: Winamp Media Player Plugin deria SageTV Customizations 447 12-11-2010 07:38 PM
SJQv4: Design Discussion Slugger SageTV v7 Customizations 26 10-18-2010 08:22 AM


All times are GMT -6. The time now is 07:12 PM.


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