|  | 
| 
 | |||||||
| 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  
			
			
			
			
			
		 | |||
| 
 | |||
| 
				
				Access .NET (dll) From Studio?
			 
			
			Hi, 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. | 
| 
			 
			#2  
			
			
			
			
			
		 | ||||
| 
 | ||||
| 
			
			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. Cheers,   
				__________________ Jeffrey Kardatzke Founder of SageTV | 
| 
			 
			#3  
			
			
			
			
			
		 | ||||
| 
 | ||||
| 
			
			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. -PGPfan | 
| 
			 
			#4  
			
			
			
			
			
		 | |||
| 
 | |||
| 
			
			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. -deria | 
| 
			 
			#5  
			
			
			
			
			
		 | ||||
| 
 | ||||
| 
			
			deria, would you mind listing some of the plugins you are thinking about porting over to sage.....very excited to say the least! Juc 
				__________________ 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 | 
| 
			 
			#6  
			
			
			
			
			
		 | ||||
| 
 | ||||
| Quote: 
  ! 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. | 
|  | 
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| 
 | 
 |