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 11-02-2005, 09:57 PM
deria deria is offline
Sage Aficionado
Join Date: Nov 2005
Posts: 408
Access .NET (dll) From Studio?


Is it possible to access a .NET assembly (compiled as a DLL, for example) from the SageTV Studio? I've written a number of Meedio plugins that would work quite well in SageTV. It looks like there is a Java interface to allow access to .DLLs (JNI), which seems good, but how comprehensive is the interface? For example, can I pass data back and forth (such as images or strings)?

I have to say that I've very impressed with this release of SageTV. The idea of studio is extremely good and it looks well implemented.
Reply With Quote
Old 11-02-2005, 10:25 PM
Narflex's Avatar
Narflex Narflex is offline
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
You can do this using JNI. You essentially write a Java class which you access from the Studio. In that Java class you have native methods which translate to methods in C/C++. From the C/C++ methods you can call your DLL and go from there. This is done a lot in SageTV in order to interface with different components in native OS's on Windows/Linux/etc.

If you need anymore help with this you can PM me. It'd be cool to see your stuff integrated. And I'm pretty quick with JNI as you'd imagine so I could whip you up an example (or even something real) easily if you need.

Jeffrey Kardatzke
Founder of SageTV
Reply With Quote
Old 11-03-2005, 12:35 AM
PGPfan's Avatar
PGPfan PGPfan is offline
Sage Fanatic
Join Date: Apr 2003
Location: Oldtown, Idaho USA
Posts: 862
Hi Deria,

You've heard from "the man" himself. Please consider taking him up on his offer. The more 'plug-ins' we can get working with Sage-the better.

Reply With Quote
Old 11-03-2005, 10:39 AM
deria deria is offline
Sage Aficionado
Join Date: Nov 2005
Posts: 408
Oh, I shall. I already sent the PM.

All of my plugins are host-environment-agnostic, so the only real work of porting them involves managing the configuration of the plugin and managing the interaction between the .NET assembly and the host environment.

Reply With Quote
Old 11-03-2005, 11:57 AM
JUC's Avatar
JUC JUC is offline
Sage Icon
Join Date: May 2004
Location: Vermont, USA
Posts: 1,399
deria, would you mind listing some of the plugins you are thinking about porting over to sage.....very excited to say the least!
Server: Athlon 2000XP; 1GB Kingston Ram; 250GB Seagate; 160GB Seagate; 160GB Western Digital; Lite-on DVD player; Hauppauge Rosyln; Hauppauge PVR-150; ATI AIW 7500; Actisys 200L; running stock v5 .stv

Client: MVP Extender running SageMC
Reply With Quote
Old 11-04-2005, 01:55 AM
silkshadow's Avatar
silkshadow silkshadow is offline
Sage Expert
Join Date: Oct 2004
Location: Philippines
Posts: 550
It'd be cool to see your stuff integrated.
Hear, hear ! This gives me an idea. I think I will bug DHill and see if he is willing to port over his J River plugin. .

Last edited by silkshadow; 11-04-2005 at 01:59 AM.
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

All times are GMT -6. The time now is 12:58 PM.

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