|
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
|
||||
|
||||
Quote:
Code:
java -jar ApiDownloader.jar targetdir Source is included in the zip if you want to tinker.
__________________
-- Greg |
#22
|
||||
|
||||
Thanks for sharing it Greg. What tool do you use to automatically generate wrapper APIs from the javadoc?
I'm looking forward to trying stuckless' RPC APIs, too.
__________________
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. |
#23
|
||||
|
||||
My wrapper generator is a purpose-built VB.Net app that uses an embedded browser control to download the pages and traverses the HTML DOM tree to build a description of each API class and its methods. I'm not trying to keep the source secret or anything like that; I just didn't think to include it in the Tools package because it's sort of a second-order tool that I figured nobody but me would ever need to run, hence no special need for open-source transparency. (That and the fact that I'm not sure how many people here are fluent enough in VB to make sense of it.)
This new API downloader is not based on that source (obviously). I started from scratch in Java because the problem isn't that complicated and I thought it would be more accessible this way.
__________________
-- Greg |
#24
|
||||
|
||||
Quote:
I wasn't planning on releasing it as a stand-alone library, but as a part of another project... but given the that there are a couple of people expressing interest, I thought I'd release it and get some feedback.
__________________
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 |
#25
|
||||
|
||||
You have both done some great work! The RPC APIs could really open up some possibilities for new plugins.
The reason I asked about the API generation is that I have been hand-coding API wrappers for the JSP tag library in the mobile web server. The tag library is incomplete because it's a tedious process, only adding wrappers as I need them. It would be nice to automate that. Nielm's webserver API's are the same way. (Both of them also provide additional utilities, though. The utilities could be split into a separate package to maintain a clean separation.) The RPC APIs are another example of the need for automating the wrapper generation. I also would like to have a JSON wrapper, and I see in Sean's wiki that he plans to create that.
__________________
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. |
#26
|
||||
|
||||
Quote:
__________________
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 |
#27
|
||||
|
||||
Quote:
Code:
wget --mirror http://download.sage.tv/api
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
#28
|
||||
|
||||
Code:
I used wget (specifically, Cygwin's version)
__________________
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 |
#29
|
||||
|
||||
Thanks, I'll look into it.
__________________
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. |
#30
|
||||
|
||||
Quote:
__________________
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 |
#31
|
|||
|
|||
Hmmmmm
I had no idea that this small little question would start such a huge discussion...awesomeness!!!
paul
__________________
Paul Hocker - SageTV 6.2.7.149 |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Where can I download the latest channel Icon for Dish Network | thenewguy1979 | SageTV Software | 3 | 09-29-2008 08:47 AM |
SageTV V6.3 is now available for Win/Linux! | Narflex | Announcements | 1 | 03-07-2008 12:33 PM |
Sage API RMI Server | drjava | SageTV Customizations | 11 | 11-23-2005 11:35 AM |
Unable to download 4.0 client | Ralnee | SageTV Software | 2 | 11-06-2005 10:58 PM |