|
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 |
#21
|
||||
|
||||
If you all you want to do is have an external app call some sage functions, then i'd look at the remote apis, as Slugger suggested. But if you want to build something in C/C#/CPP, and call it from a java stub (so that it could run inside the SageTV JVM), then i'd consider writing a DLL and then calling it from java using JNA. JNA is like JNI in that it allows you to call native code from java, but it doesn't require any JNI stubs or cpp programming. You do it all from java, by mapping the dll using their java notations. It's actually quite slick (given how much a PITA jni is).
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#22
|
||||
|
||||
I just need to get some info from SageTV like when's the next upcoming recording. I think I will try the remote API, sound's a lot easier that JNI. I read the JNI tutorial from narflex but my java knowledge is quite limited and it sounds very complicated. But I think the remote API is sufficient for the moment.
Thanks for the information! Oliver
__________________
Oliver Kötter ------------ Check this thread for importing German TV Data into SageTV Using SageTV 7.1.9, Java 1.6.0_24 Win7 Home Premium on an Asus M4N78-AM Mainboard, AMD Athlon II X2 215, 4 GB RAM, 500 GB HDD, 2xTechnoTrend S-2400 as Network Encoder (LM DVB Smart Recorder), ATI Radeon HD 3450 with analog TV-Out on good old CRT TV (100Hz) My avatar shows the world's best composer!!! |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|