|
SageTV Studio Discussion related to the SageTV Studio application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the Studio software application should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
Multiple Plugins in one Dev manifest
How do you put two plugins (one Standard, one STVi) into a single SageTVPluginsDev.xml manifest? I tried just sticking two sets of <SageTVPlugin></SageTVPlugin> tags but sage ignores the second plugin altogether.
What I've been doing is creating two separate manifests, installing the first, overwriting the manifest and then installing the second. There has to be a better way. What are others doing?
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#2
|
||||
|
||||
I use multiple plugins in my dev manfiests pretty often, you must have just had an accidental XML parse error when you tried it.
__________________
Clients: 1xHD200 Connected to 50" TH-50PZ750U Plasma Server : Shuttle SFF SSH55J2 w/ Win7 Home, SageTV v7, Core i3 540, 2GB RAM, 30GB SSD for OS, 1.5TB+2x1TB WDGP for Recordings, BluRay, 2xHDHR, 1xFirewire SageTV : PlayOn, SJQ, MediaShrink, Comskip, Jetty, Web Client, BMT Having a problem? Don't forget to include a log! (Instructions for: PlayOn For SageTV v1.5, MediaShrink) |
#3
|
|||
|
|||
If including just one plugin in your SageTVPluginsDev.xml then you don't have to wrap it in a <PluginRepository> tag, you can just insert it in the file with <SageTVPlugin> as the root node of the xml doc. This is what I always did until I needed to add multiple plugins to my dev xml and discovered that you need to wrap more than one in a <PluginRepository> tag. Putting just one plugin inside <PluginRepository> is also valid and I suspect it was expected that this would always happen and the fact that it works without the <PluginRepository> tag for the case of just one plugin is a convenient accident.
In other words, your SageTVPluginsDev.xml must look like this: Code:
<PluginRepository> <SageTVPlugin> ... </SageTVPlugin> <SageTVPlugin> ... </SageTVPlugin> <SageTVPlugin> ... </SageTVPlugin> </PluginRepository> Code:
<SageTVPlugin> ... </SageTVPlugin> <SageTVPlugin> ... </SageTVPlugin> <SageTVPlugin> ... </SageTVPlugin>
__________________
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... Last edited by Slugger; 09-14-2010 at 06:23 PM. |
#4
|
||||
|
||||
I wasn't using the PluginRepository tag. Thanks.
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#5
|
||||
|
||||
As Slugger says (and as documented on the last page of the plugin developer's guide), the format of SageTVPluginsDev.xml is the same as that of SageTVPlugins.xml, i.e. you need to wrap the whole file in <PluginRepository> tags. (This is also basic XML. A file can contain only one root node.)
It's actually pretty straightforward to write a script that takes several manifest files from (say) a given directory and concatenates them together with the necessary <PluginRepository> tags to produce a valid repository file. You can then make running this script an automatic part of your normal build procedure, so that SageTVPluginsDev.xml is always up to date with the results of your latest build.
__________________
-- Greg |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Initial dev environment suggestions | dan596 | SageTV Studio | 7 | 03-23-2011 12:57 PM |
Conditional dependencies in a manifest? | tmiranda | SageTV Studio | 0 | 09-04-2010 05:32 PM |
Dev Environment | Slugger | SageTV Studio | 10 | 01-28-2010 04:08 PM |
SageTV V5.0.4 Sage MC Latest dev. | brbjr | SageTV Software | 1 | 06-20-2006 05:08 PM |