SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Studio
Forum Rules FAQs Community Downloads Today's Posts Search


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
Old 05-31-2010, 06:36 AM
lamanmi's Avatar
lamanmi lamanmi is offline
Sage Advanced User
Join Date: Sep 2004
Location: Kirtland, Ohio
Posts: 199
ImplementationClass For Library?

Can the ImplementationClass tag be used with a Library? I am creating a STVI plugin that requires a JAR that has a background thread running while Sage is running. The JAR has no use except to support the STVI plugin.

It seems like to minimize clutter in the "Standard" plugin section, that this JAR should be more hidden out of the way in the "Library" section and just be pulled in as a dependancy, however, I do need the plugin capabilities to launch a start() routine when Sage is loading?

Reply With Quote
Old 05-31-2010, 11:55 AM
GKusnick's Avatar
GKusnick GKusnick is offline
Join Date: Dec 2005
Posts: 5,083
Only Standard plugins can have an ImplementationClass.

But be aware that your Standard plugin will be instantiated just once, in the service, whereas the STVI component can exist in multiple instances, one per client. If that's what you intend, you'll need to manage synchronization between the multiple STVIs and the single background thread. Also note that there can be cases where the Standard plugin is enabled and started, but no instances of the STVI are running (e.g. because it's disabled, or because no compatible clients are running).

On the other hand if what you want is a background thread per client, then you should probably be doing a Fork() under ApplicationStarted in your STVI code rather than putting the thread in a separate JAR.
-- Greg
Reply With Quote

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
Demand for Custom Picture Library and Music Library screens? PLUCKYHD SageMC Custom Interface 62 09-13-2009 06:52 AM
6.3.9 and Music Library camus SageTV Beta Test Software 2 02-28-2008 08:50 PM
DVD Library traker1001 SageTV Beta Test Software 5 11-21-2006 12:40 AM
Music library natesneat2000 SageTV Software 0 12-21-2004 02:39 PM
Problems with library pscs SageTV Beta Test Software 5 05-09-2003 12:28 PM

All times are GMT -6. The time now is 06:08 PM.

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