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
  #1  
Old 08-25-2014, 04:13 PM
rnadeau's Avatar
rnadeau rnadeau is offline
Sage Expert
 
Join Date: Jun 2006
Location: Maine
Posts: 500
Sagetv 7 plugins

I have been wondering lately what would happen if sage server's disappeared and how I would continue to use sagtv. Unless someone comes out with something better, I don't plan on changing.

I downloaded all sage plugins and plan on keeping them up to date by downloading newer versions when needed. This way I will be covered if something happens. I know there are probably other die hards like myself and wanted to put this out there in case anyone needs the plugins should the servers disappear. There are 2 that no longer are hosted on external servers. If anyone has these, I would like to add them. I don't use them but I would like to have the full collection in case someone else needs them.

DVB TTX Subtitles Playback
Audio Stream Toggle
__________________
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
  #2  
Old 08-25-2014, 10:17 PM
BobbyDing's Avatar
BobbyDing BobbyDing is offline
Sage Aficionado
 
Join Date: May 2009
Location: Central-West Florida
Posts: 467
I don't have those plugins. However I also try to keep up to date on the plugins (using sluggers groovy script). And every once in a while I'll test the REPO_SageTVPlugins.xml that is created by just opening the xml file in a browser. Today it failed on line 9969, which is:
.
1.0.7 - Fixes Astra 19.2ºE channels support.
.
If I remove the degree character and save, the file opens completely and without errors. I only bring this up because I have practiced installing sage plugins from a local webserver a couple years back (wanted to be sure I could do it) and had it fail due to a couple bad characters that got into the xml.

Bobby
__________________
Athlon II Quad Core 3Ghz, 8GB Ram. 12GB Storage. 3 (x4) HDHR for OTA Across 2 Cities, HD200, 2x HD300.
Reply With Quote
  #3  
Old 08-25-2014, 10:25 PM
tvmaster2's Avatar
tvmaster2 tvmaster2 is offline
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 4,240
Quote:
Originally Posted by rnadeau View Post
I have been wondering lately what would happen if sage server's disappeared and how I would continue to use sagtv. Unless someone comes out with something better, I don't plan on changing.

I downloaded all sage plugins and plan on keeping them up to date by downloading newer versions when needed. This way I will be covered if something happens. I know there are probably other die hards like myself and wanted to put this out there in case anyone needs the plugins should the servers disappear. There are 2 that no longer are hosted on external servers. If anyone has these, I would like to add them. I don't use them but I would like to have the full collection in case someone else needs them.

DVB TTX Subtitles Playback
Audio Stream Toggle
Excuse the rookie question regarding plugins, as I don't use too many. Are you able to download them and keep them stored off-line somewhere in case you decide to install them later, regardless if the Sage servers are up?
__________________
Sage 9 server = Gigabyte AMD quad-core - 4 gigs - integrated ATI HD4200 chipset - SSD boot, Hitachi Deskstar show drives. HD-PVR - Colossus - Win7 32 bit. HD200/300’s networked. HDHomerun tuner. "If you've given up on Weird Al, you've given up on life" - Homer Simpson
Reply With Quote
  #4  
Old 08-26-2014, 04:56 AM
rnadeau's Avatar
rnadeau rnadeau is offline
Sage Expert
 
Join Date: Jun 2006
Location: Maine
Posts: 500
Yes you can. All you have to do is change the location in the xml file to where it is stored on your system or you can extract the files and inport the stvi. As for slugger's plugin- it works great but only downloads the plugins on the sage server, not the ones hosted elsewhere, unless his script has been updated. I went into the xml file and downloaded the ones slugger's script doesn't get so I would have them all.
__________________
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
  #5  
Old 08-26-2014, 10:11 AM
routerunner's Avatar
routerunner routerunner is offline
Sage Icon
 
Join Date: May 2008
Location: Wiltshire, UK
Posts: 1,384
Quote:
Originally Posted by BobbyDing View Post
Today it failed on line 9969, which is:
.
1.0.7 - Fixes Astra 19.2ºE channels support.
.
...that's me, sorry about that, I need to make sure to use the proper escape sequence

Eddy
__________________

Automatic Power Off | Squeezeslave | DVB-S Importer | DVB Decrypter & Card Client | Tuner Preroll


Every man is a damn fool for at least five minutes every day; wisdom consists in not exceeding the limit. ~ Elbert Hubbard
Reply With Quote
  #6  
Old 08-26-2014, 10:37 AM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by rnadeau View Post
Yes you can. All you have to do is change the location in the xml file to where it is stored on your system or you can extract the files and inport the stvi. As for slugger's plugin- it works great but only downloads the plugins on the sage server, not the ones hosted elsewhere, unless his script has been updated. I went into the xml file and downloaded the ones slugger's script doesn't get so I would have them all.
What xml and where do you change the store location?
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
  #7  
Old 08-26-2014, 02:13 PM
rnadeau's Avatar
rnadeau rnadeau is offline
Sage Expert
 
Join Date: Jun 2006
Location: Maine
Posts: 500
Sagetvplugins.xml in the sagetv sub directory. You have to change the "Location" and MD5 value (if needed) for the zip file container for each of the plugins you want to install from the sage plugin manager. Installing from the sage plugins manager will allow you to uninstall it if needed through the plugin manager. You can also unzip the plugin file and import the stvi but it cannot be uninstalled through the plugin manager. This can be a pain if you have alot installed but is better than nothing (if servers do go down eventually) as far as I'm concerned.
__________________
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.

Last edited by rnadeau; 08-26-2014 at 07:41 PM.
Reply With Quote
  #8  
Old 09-10-2014, 12:52 PM
tvmaster2's Avatar
tvmaster2 tvmaster2 is offline
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 4,240
Quote:
Originally Posted by rnadeau View Post
Sagetvplugins.xml in the sagetv sub directory. You have to change the "Location" and MD5 value (if needed) for the zip file container for each of the plugins you want to install from the sage plugin manager. Installing from the sage plugins manager will allow you to uninstall it if needed through the plugin manager. You can also unzip the plugin file and import the stvi but it cannot be uninstalled through the plugin manager. This can be a pain if you have alot installed but is better than nothing (if servers do go down eventually) as far as I'm concerned.
Hi again - sorry, I can't find a 'Sagetvplugins.xml' sub directory. Where is it normally located. I probably have about 5 plugins installed currently.
thanks
__________________
Sage 9 server = Gigabyte AMD quad-core - 4 gigs - integrated ATI HD4200 chipset - SSD boot, Hitachi Deskstar show drives. HD-PVR - Colossus - Win7 32 bit. HD200/300’s networked. HDHomerun tuner. "If you've given up on Weird Al, you've given up on life" - Homer Simpson
Reply With Quote
  #9  
Old 09-10-2014, 01:15 PM
rnadeau's Avatar
rnadeau rnadeau is offline
Sage Expert
 
Join Date: Jun 2006
Location: Maine
Posts: 500
It's in the sagetv folder.
__________________
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
  #10  
Old 09-10-2014, 02:59 PM
tvmaster2's Avatar
tvmaster2 tvmaster2 is offline
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 4,240
Quote:
Originally Posted by rnadeau View Post
It's in the sagetv folder.
ok, thanks - misread your previous entry - found it. Now, learning how to manipulate it...stay tuned
__________________
Sage 9 server = Gigabyte AMD quad-core - 4 gigs - integrated ATI HD4200 chipset - SSD boot, Hitachi Deskstar show drives. HD-PVR - Colossus - Win7 32 bit. HD200/300’s networked. HDHomerun tuner. "If you've given up on Weird Al, you've given up on life" - Homer Simpson
Reply With Quote
  #11  
Old 09-10-2014, 04:39 PM
tvmaster2's Avatar
tvmaster2 tvmaster2 is offline
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 4,240
Quote:
Originally Posted by rnadeau View Post
I have been wondering lately what would happen if sage server's disappeared and how I would continue to use sagtv. Unless someone comes out with something better, I don't plan on changing.

I downloaded all sage plugins and plan on keeping them up to date by downloading newer versions when needed. This way I will be covered if something happens. I know there are probably other die hards like myself and wanted to put this out there in case anyone needs the plugins should the servers disappear. There are 2 that no longer are hosted on external servers. If anyone has these, I would like to add them. I don't use them but I would like to have the full collection in case someone else needs them.

DVB TTX Subtitles Playback
Audio Stream Toggle
forgot to ask, when you say you "downloaded" all Sage plugins, how did you do that - one-by-one in the Sage Downloads area of this site? Is there a script or something that would download them all en-mass somehow?
thanks
__________________
Sage 9 server = Gigabyte AMD quad-core - 4 gigs - integrated ATI HD4200 chipset - SSD boot, Hitachi Deskstar show drives. HD-PVR - Colossus - Win7 32 bit. HD200/300’s networked. HDHomerun tuner. "If you've given up on Weird Al, you've given up on life" - Homer Simpson
Reply With Quote
  #12  
Old 09-10-2014, 04:47 PM
rnadeau's Avatar
rnadeau rnadeau is offline
Sage Expert
 
Join Date: Jun 2006
Location: Maine
Posts: 500
Slugger wrote a script that will download all plugins that reside on the sage server, but not all plugins are hosted on the sage server. If you look at the different plugins you will see a "Location" for the download.
__________________
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
  #13  
Old 09-10-2014, 06:28 PM
tvmaster2's Avatar
tvmaster2 tvmaster2 is offline
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 4,240
Quote:
Originally Posted by rnadeau View Post
Slugger wrote a script that will download all plugins that reside on the sage server, but not all plugins are hosted on the sage server. If you look at the different plugins you will see a "Location" for the download.
thanks - and I'll try and figure out the script if I can find it.
__________________
Sage 9 server = Gigabyte AMD quad-core - 4 gigs - integrated ATI HD4200 chipset - SSD boot, Hitachi Deskstar show drives. HD-PVR - Colossus - Win7 32 bit. HD200/300’s networked. HDHomerun tuner. "If you've given up on Weird Al, you've given up on life" - Homer Simpson
Reply With Quote
  #14  
Old 09-11-2014, 07:53 AM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
So I've gotten a few requests/questions for the script that will mirror the SageTV repo locally for you.

Sometime ago I actually created a standalone java app that does this for me and I call the app once a week (or maybe once a month, whatever) and it keeps a local sync of the repo on my web server. Today I'll share that tool with you all for those who wish to keep a local mirror themselves.

I've uploaded the jar file here.

To run it, from a command line (Windows or Linux):

Code:
java -jar sage_repo_mirror.jar -help

usage: sage_repo_mirror [options]
 -help            Print this message, ignore all other options and exit
 -master <url>    URL pointing to master repo XML file
                  [http://download.sage.tv/SageTVPlugins.xml]
 -mirror <url>    Base URL to replace links with [http://localhost/repo]
 -regex <regex>   Regular expression used to determine which files to
                  mirror [^http:\/\/download.sage]
 -root <dir>      Root directory to mirror repository files to
                  [/home/slugger/repo]
 -test            Only print what would be downloaded, don't actually
                  download anything
All options are optional with default values shown above. Use of -test
switch HIGHLY recommended!
You might have to replace java with the full path to your java executable. Each run dumps its output to a file called repo.log located in the directory specified by -root (or the default dir if not specified).

Please run it at least once with the -test option!! You've been warned. I honestly haven't looked at the code or anything to do with this in probably 2 years, maybe longer. Like I said, I just run it from a cronjob on my linux box once a month or whatever so no warranties on this thing.

Basically, run this periodically to keep your local repo synced. Each run generates a repo.xml file in the -root dir. To get Sage to use your local repo, replace SageTVPlugins.xml with the version in repo.xml. You will also have to disable Sage from downloading its own SageTVPlugins.xml file or your new one will be replaced by the Sage one. There is an option in the Sage.properties file you flip to disable Sage from downloading it. I don't remember the name, but maybe someone else can chime in with the details. Once you do all that, you need to be running an HTTP server configured such that the url you chose to replace the links with is valid and actually downloads the plugin files from your local repo. Those details are beyond the scope of support I'm willing to provide, but Google, Apache docs, etc. are your friend when the day comes. You might even be able to get away with replacing the links with file:// URLs. Not sure, never tried it, but if that actually worked then you wouldn't need to fire up a web server to host the repo.

By default, this script only mirrors what's hosted by SageTV. The assumption being externally hosted files aren't going anywhere. If you're super paranoid, simply use the -regex option with a value of .* and that will sync absolutely everything mentioned in the master xml file. The Sage servers host ~100 files for something like 35MB. The entire repository? No idea, gotta figure it's on the order of hundreds of MBs, maybe a few GBs??

Good luck and enjoy!
__________________
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
  #15  
Old 09-11-2014, 12:45 PM
tvmaster2's Avatar
tvmaster2 tvmaster2 is offline
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 4,240
sorry, rookie question: what does 'repo' stand for?
__________________
Sage 9 server = Gigabyte AMD quad-core - 4 gigs - integrated ATI HD4200 chipset - SSD boot, Hitachi Deskstar show drives. HD-PVR - Colossus - Win7 32 bit. HD200/300’s networked. HDHomerun tuner. "If you've given up on Weird Al, you've given up on life" - Homer Simpson
Reply With Quote
  #16  
Old 09-11-2014, 02:00 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
repository (i.e. plugin repository)
__________________
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
  #17  
Old 09-11-2014, 03:00 PM
Boolah's Avatar
Boolah Boolah is offline
Sage Advanced User
 
Join Date: May 2004
Posts: 133
Thanks for this Slugger. It's nice to have a backup for when Google decides to pull the plug on SageTV.

In case anyone is wondering, the full mirror (all plugins pulled by -regex .*) weighs in at 847 MB.
Reply With Quote
  #18  
Old 09-11-2014, 04:28 PM
rnadeau's Avatar
rnadeau rnadeau is offline
Sage Expert
 
Join Date: Jun 2006
Location: Maine
Posts: 500
Thanks for the jar Slugger. I ran it from command line. What would the command be to run it from cronjob?
__________________
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
  #19  
Old 09-11-2014, 08:38 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Assuming java is in your system path, as it is on my linux box, this is what I run:

Code:
$ crontab -l

10 6 1 * * java -jar $HOME/bin/sage_repo_mirror.jar -mirror http://butler/~$USER/sage_repo -root $HOME/public_html/sage_repo
So I guess I'm running it once a month. If java isn't on your system path then just specify the full path to java in the crontab entry.

Also, worth noting that the jar file requires Java 7+.
__________________
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
  #20  
Old 09-12-2014, 05:49 AM
ranger ranger is offline
Sage Aficionado
 
Join Date: Nov 2003
Location: Virginia
Posts: 256
Thanks Slugger!
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
SageTV plugins for Samurize element33 SageTV v7 Customizations 0 10-06-2011 02:03 AM
SageTV Graph Plugins babgvant SageTV v7 Customizations 15 08-27-2010 01:15 AM
SageTV V7 plugins and classpaths michaeldjcox SageTV v7 Customizations 1 06-24-2010 09:06 AM
Can SageTV Linux use same plugins as SageTV XP Windows? TechBill SageTV Linux 3 10-02-2007 12:59 AM
do older plugins work with sagetv 4.0 ? georges Hardware Support 1 01-31-2006 10:12 AM


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


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