|
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
|
|||
|
|||
Sage TV API
Hi all,
I have a problem. Is there any way that I can use the api of sage? It seems that, after i imported all Sage.jar All the classes is a.class b.class, ap.class etc... There is no way that I can use the methods given in the Java Doc. Thank you |
#2
|
||||
|
||||
There's extensive API documentation at http://download.sage.tv/api/index.html, including specific instructions on how to call the API from Studio and from Java.
However if you're talking about writing a standalone Java app that runs separately from SageTV.exe and uses Sage.jar as a class library, that's probably not going to work. The SageTV API is designed for use from within SageTV, either directly from Studio code or from Java classes called from Studio code. Questions of this sort, relating to how to program SageTV addons and plugins, are probably best handled in the Studio forum.
__________________
-- Greg |
#3
|
|||
|
|||
Thank you...
I will go over to the other link u have stated to take a look... |
#4
|
|||
|
|||
blackb0x - the critical bit seems to be this:
Quote:
|
#5
|
||||
|
||||
Check out the source code for nielm's webserver on SourceForge (along with the sageutils project). It uses the
Sage API's extensively from Java. Your main class must implement Runnable (or inherit from Thread) and you need to add an entry to load_at_startup_runnable_classes= in the sage.properties file to tell Sage to load your class when it starts. Multiple entries are separated by a semicolon.
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun. Extender: STP-HD300, Harmony 550 Remote, Netgear MCA1001 Ethernet over Coax. SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client, Java 1.6. Plugins: Jetty, Nielm's Web Server, Mobile Web Interface. |
#6
|
||||
|
||||
Quote:
If we had a better idea of what you're trying to accomplish, we could give better advice on how to accomplish it.
__________________
-- Greg |
#7
|
|||
|
|||
Quote:
Quote:
I am actually working together with Blackbox. We had been using nielm's webserver and find it very useful. However, it lack of some functionalities that we hope to address. Examples :- 1. Enabling recording to the nearest minute. 2. Able to add daily, weekly recordings on the portal. 3. Able to name the recorded file with better meaning. Our problem is getting started. 1. Can Sage Studio enable us to edit nielm's webserver ? 2. Where can we download or purchase Sage Studio ? |
#8
|
|||
|
|||
Sage Studio comes as part of Sage; you get into it by pressing some key (check the manual). Opus4 has links to the manual in his sig.
I imagine nielm's webserver is straight java code, so get it from CVS (see post above) and edit it in an IDE like Eclipse. |
#9
|
||||
|
||||
Quote:
Quote:
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun. Extender: STP-HD300, Harmony 550 Remote, Netgear MCA1001 Ethernet over Coax. SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client, Java 1.6. Plugins: Jetty, Nielm's Web Server, Mobile Web Interface. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|