|
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
|
|||
|
|||
Studio Java class Question
I have a customer class that I call from inside an STV. I had this working fine in v6 but now that I have upgraded to v7 I can't get it to work. What is the best way to debug some java code that is called within Sage? I know I used to know this when I originally created the class but that was over 2 years ago and I haven't had to touch it since it just worked.
Thanks, Eric |
#2
|
||||
|
||||
Quote:
You'll need to restart sagetv each time our rebuild your java classes.
__________________
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 |
#3
|
||||
|
||||
Dumb question, but did you update the STV properly? If the code worked under v6 it should work under v7. Maybe when you updated the v7 STV you did something slightly wrong (like a small spelling mistake.) v7 also uses an updated JRE so maybe there is an incompatibility with the newer JRE?
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#4
|
|||
|
|||
Quote:
|
#5
|
|||
|
|||
Quote:
Thanks for the info. Eric |
#6
|
||||
|
||||
If you use my sagex-apis, which a wrapper for the SageTV apis, then you can run and debug the code from inside eclipse, which is how I develop. But, it might be faster, for now, to simply use system.out than to convert your class over to use my apis.
__________________
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 |
#7
|
|||
|
|||
I figured out my problem. I forgot to put quotes around the name of the context in my AddGlobalContext() command, now it is working correctly again.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to: Access my java classes in Studio | chrishallowell | SageTV Studio | 3 | 08-04-2010 11:12 PM |
Question about using the properties class in java | PLUCKYHD | SageTV Studio | 8 | 01-08-2010 12:13 PM |
Help calling Java from Studio | Tiki | SageTV Studio | 3 | 12-31-2008 12:51 PM |
Calling custom java classes from studio | davin | SageTV Studio | 9 | 11-09-2005 11:50 AM |