|
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. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
Plugin Idea: Export/Import Plugins
First off, I don't have time to do this myself, or I would, but here's the basic idea.
The new plugin system is amazing... I love it... I love the people that made it happen. But, if you are like me, you are spending time adding your plugins... and configuring them, but then a new release of SageTV comes out, and you start the installing and configuration process all over again. Some people probably just upgrade in place, but I always install a new Sage build and then apply and configure everything. In most cases I even blow away my Wiz.bin. The idea behind the Export/Import plugin is that in your current configuration you select to Export your plugins. What this does, is create a DeveloperPlugins.xml (not sure if that's the correct filename or not), where a new plugin is added called, "Your Configuration" (or whatever) that simply depends on every plugin that you have installed. Later when you get a new sage build, you copy the DeveloperPlugins.xml to the new sage install dir, start sage, and go into Plugins, and you should see a plugin in there called, "Your Configuration". When you select to install it, it will install every plugin that you had installed on your previous build. To extend on the concept, it would be nice if the exported plugins, could also export their configurations as well. This can be done as well, but would require some extra java/stv coding whereby the PluginAPI is used to get a list of the plugin properties and the are retrieved and stored in an external properties file(s). The Import/Export plugin could potentially read those files and call the appropriate PluginAPI to set those properties, by allowing the user to click an "import configuration" button, etc. The side benefit of something like this, is that it could be used to informally share your configuration (installed plugins and/or configuration) with other users. For example, lets say you have a cool setup using Jetty, Serenity, UPnP browser, etc, etc, you could export it, and post it somewhere for someone else to download and then "Import" using the Import/Export plugin. These "configurations" are basically faux packages that are simply place holders that force a bunch of dependent plugins to be installed. Anyways, this is just an "idea"... feel free to comment on it, extend, etc. I can't actually do this myself, but I think it would be a useful plugin for some people
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#2
|
|||
|
|||
It is a good idea i agree (1,2,3 not it....)
For reference is is SageTVPluginsDev.xml if anyone tries it. This would be a bit tricky with external properties (the entire thing would be a huge learning curve) but is very very doable. I also would like to see someone make something like this as I agree it would be usefull before even with the great plugin system browsing around and adding all your plugins one by one after a fresh install is a bit of a pain I agree. It also makes we wonder though how on earth would you get external property files backed up (especially if they are not in the default sagetv folder which is the case with upcoming SMM). Maybe I am missing a entire aspect of the plugin api where I can let others know what prop files I am using. Regardless great idea. |
#3
|
||||
|
||||
Quote:
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#4
|
||||
|
||||
Using dependencies to create an empty umbrella plugin that captures your current plugin state is a clever idea. This could be a handy way to configure multiple clients, although I'm not sure I personally would have much use for it, since I don't have that many clients, and I always upgrade my SageTV installation in place, to preserve current settings.
I do see a couple of potential problems: There's no guarantee your current plugin state still exists in the online repository. Plugins may have been withdrawn, or superseded by newer versions that perhaps aren't completely compatible, or the dependency landscape may have shifted in such a way as to make the aggregate dependencies of all your current plugins impossible to satisfy. There's also no guarantee that you'll be able to capture the complete configuration of any given plugin through the PluginAPI. Any given call to GetPluginConfigSettings() may not return the complete list of settings, but only those settings the plugin itself deems relevant to its current state. So for instance it may choose not to show you detailed option settings for feature X unless X is enabled. Or the plugin may partition its settings into several pages, where you must first choose which page you want to see before it shows you the settings on that page. In general it's not going to be possible to get all the settings this way or even to know whether a plugin has hidden some settings from you. Also note that STVI plugins cannot have an ImplementationClass and therefore cannot use the PluginAPI config machinery (at least not without a separate Standard-type helper plugin). Since STVIs can call Get/SetProperty directly from widget code, the likelihood is that their settings will be invisible to your PluginAPI-based config analyzer.
__________________
-- Greg |
#5
|
||||
|
||||
Quote:
I think that over time, whether or not this gets built or not, we'll probably see some of these umbrella plugins showing up in the repository. Quote:
given the unreliable nature of backing of a plugin configuration, i think it should be dropped from the scope actually. That then simplifies what this would need to do... which is simply create an xml of the installed plugins. You raised a good about about obsolete plugins. What does the plugin manager do when they are obsoleted and no longer in the repsository. Do you see a message against your installed plugin that tells you that the developer has removed it?
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#6
|
||||
|
||||
I really like this new plugin System... but I think there is still room for improvement
Here are some sugguestions: * A way to see/post a changelog for the plugin * A way to have a repository of all revision of the plugins, and be able to 'rollback' from the GUI * A plugin rating system (so it would require users to submit their rating), or maybe 'download popularity * A category system (more like the apple appstore) Now for the forums, I think it would be nice if the devs used the same convention of categoring for the forum, so instead of having a forum with all the threads, you can look directly on the part. Another good idea is to give some naming tips to the comunity to start a thread (ie (Type) - (Name) - (Latest Version) Anyone with me with these?? Just my 2 cents
__________________
SageTV 7.1.9 / Phoenix Captures: 1x Genpix Skywalker DVB4Sage / 1x 7500 Prof DVBS2 Tunner DVB4Sage / 1x HD HomeRun / 1x Slingbox M1 / 1x Colossus HD Extender: 2x HD200 / 1x HD300 |
#7
|
|||
|
|||
One additional item I'd like to request re: the amazing new plugin system:
* Add ability for plugin updates to trigger the creation of a system message that says a plugin update exists, AND, when I click on that system message, it asks if I want to update it (or maybe this exists already and I just don't have it set up...)
__________________
Server: Sage 7.1.9 beta; Dell Inspiron 530; Windows 7 Ultimate 32-bit (UAC turned off); 2TB Internal SATA (TV Recordings) Storage: Synology DiskStation DS411+, RAID 5, 5x 2TB SATA for (DVDs/Music/Other Videos) Tuners: Ceton InfiniTV w/ Verizon FIOS cablecard (using babgvant's SageDCT plugin) Clients: 1x STP-HD300; 1x Acer Aspire Revo 3610 (Atom/Ion) w/ SageTV client (Win 7, EVR, FSE on) |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to import/export recordings between two MCs? | rnewman | SageTV Software | 10 | 07-06-2009 08:52 AM |
Import/export does not work | lcddream | SageMC Custom Interface | 7 | 10-06-2008 08:00 PM |
export/import SageTV recordings? | rnewman | SageTV Software | 9 | 06-22-2008 06:36 PM |
Feature Request: Favorites Import/Export | Truxton | SageTV Beta Test Software | 6 | 01-08-2008 03:08 AM |