|
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
|
|||
|
|||
STVi with small jar needs to be configured
Hi,
I am currently reading the docs and the forum but I may have missed something: I plan to create a STVi with minor changes to the UI. The STVi uses a Java class in a jar file that I created. The Java logic needs a configuration, simply a file path, and a string. Of course it would be sweet to configure my plugin with the SageTV Plugin Manager! But as far as I can see I would need to create two different plugins: one "STVi" plugin for the UI and another "Standard" plugin with this special interface implementation, which allows configuration. Is this the only solution? I would not want to tear a simple plugin into two. Thanks, Eyk
__________________
Clients: HD200, MediaMVP Capture Cards: Technotrend Budget S-1500 (DVB-S) STVi for XMLTV icons |
#2
|
||||
|
||||
This is a known constraint with the plugin system. The rules for enabling/disabling STVIs are different than the rules for Standard plugins (because STVIs have STV dependencies that Standard plugins don't have). So you can't have a plugin with both an STVImport and an ImplementationClass.
So your choices at present are to package your STVI as a separate plugin from your (Java) config code, or else roll your own config UI in Studio instead of using the standard plugin config UI. Ideally, instead of everyone rolling their own, it should be possible to factor out some common config UI elements into a generic framework that can be shared by many STVIs. This framework itself could then be packaged as an STVI that other STVIs depend on. If and when I get around to writing an STVI that requires significant config UI, I'll probably try to structure it this way (unless somebody else gets there first).
__________________
-- Greg |
#3
|
|||
|
|||
Thanks for your answer!
I was afraid to hear that. The plugin system is a really, really nice idea, but with such a limitation it's just 90%. In my opinion Sage should address that. It's still beta phase, isn't it? Eyk
__________________
Clients: HD200, MediaMVP Capture Cards: Technotrend Budget S-1500 (DVB-S) STVi for XMLTV icons |
#4
|
|||
|
|||
Quote:
my 1 cent |
#5
|
|||
|
|||
Also thanks for your answer!
Quote:
Quote:
I like GKusnicks suggestion very much. I think that this would be a base functionality that should be implemented in the base product. This is only my 2 cent, of course Eyk
__________________
Clients: HD200, MediaMVP Capture Cards: Technotrend Budget S-1500 (DVB-S) STVi for XMLTV icons |
#6
|
|||
|
|||
Quote:
|
#7
|
||||
|
||||
Sure, that's the logical place to do it from a UI perspective. My point is that we don't need to wait for the Sage devs to implement that UI framework, since it's all just Studio code. We can do it ourselves with a shared STVI that extends the existing config UI to work with config data from STVI plugins (be it through XML or some other mechanism).
__________________
-- Greg |
#8
|
|||
|
|||
Quote:
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Why Can I Choose A Tuner I Have Already Configured? | Savage1701 | Hardware Support | 1 | 08-03-2009 08:02 PM |
Can only record two shows at once even though three tuners are configured | dale_ander | SageTV Software | 5 | 04-30-2009 08:46 AM |
Making the connection between java JAR and an STVi? | beelzerob | SageTV Studio | 8 | 09-11-2008 05:34 PM |
Where is the default padding configured? | ehlfg | SageTV Customizations | 2 | 03-30-2008 02:22 PM |
Can't get tuners configured..please help | rdefino | Hardware Support | 14 | 08-06-2006 07:19 AM |