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 06-05-2010, 01:32 PM
cncb cncb is offline
Sage Icon
 
Join Date: Jul 2006
Posts: 1,271
Any way to make "Local" (unshared) plugin?

I want to make some tweaks to the base STV but don't want to publish/share the STVi since it would only be useful for me. But, I would like it to be be loaded on top of all other plugins and not have to manually import it every time the base STV gets updated (much like the previous import system worked). Is there any way to make a plugin that could be selected on the local computer?
__________________
-Craig
Reply With Quote
  #2  
Old 06-05-2010, 01:47 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Yes. See the last page of the plugin developer's guide.
__________________
-- Greg
Reply With Quote
  #3  
Old 06-05-2010, 02:03 PM
cncb cncb is offline
Sage Icon
 
Join Date: Jul 2006
Posts: 1,271
Thanks.
__________________
-Craig
Reply With Quote
  #4  
Old 06-06-2010, 10:50 AM
cncb cncb is offline
Sage Icon
 
Join Date: Jul 2006
Posts: 1,271
Is there a way to have the "Location" be a local drive? I have tried:

c:\temp\myfile.zip
c:\\temp\\myfile.zip
file://c:/temp/myfile.zip

None seem to work (the plugin manager can't locate the file). I can upload it to the web somewhere but it would be more convenient to just have it local. Thanks.
__________________
-Craig
Reply With Quote
  #5  
Old 06-06-2010, 11:36 AM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
It has to be an HTTP or FTP server, but you can easily set one of those up locally. Your Java IDE (if you have one) may come bundled with a simple web server. Or if you have Jetty installed in Sage, you can set up a local download server like so:

Code:
<?xml version="1.0"  encoding="ISO-8859-1"?>
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd">
<Configure class="org.mortbay.jetty.handler.ContextHandler">
   <Set name="contextPath">/plugins</Set>
   <Set name="resourceBase"><SystemProperty name="jetty.home" default="."/>/plugins</Set>
   <Call name="addHandler">
       <Arg>
           <New class="org.mortbay.jetty.handler.ResourceHandler"/>
       </Arg>
   </Call>
</Configure>
Save that as an XML file in jetty/contexts, and it will serve files from the directory jetty/plugins on the URL http://server:port/plugins/.
__________________
-- Greg
Reply With Quote
  #6  
Old 06-06-2010, 04:40 PM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,132
Quote:
Originally Posted by GKusnick View Post
Or if you have Jetty installed in Sage, you can set up a local download server like so:
Thanks Greg, I didn't even think of using jetty. I'd been using dropbox.

John
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
Potential to make many people happy... "My Movies" for SageTV? vvulture SageTV Customizations 116 04-27-2009 04:53 PM
"Set defaults" for Series forgets "Keep"/"Auto-delete" setting maxpower SageMC Custom Interface 9 05-14-2008 09:44 PM
EPG data for "non-local" channels KarylFStein SageTV EPG Service 4 08-03-2006 10:01 AM
How can I make remote control mapping for "Detailed Info"? mkanet SageTV Software 8 07-17-2005 05:40 AM
"Local" media libary for the client? rwc SageTV Software 2 02-28-2005 11:53 AM


All times are GMT -6. The time now is 03:31 AM.


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