|
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 |
#261
|
||||
|
||||
Not sure if you got my email, but that didn't help...
__________________
SageTCPServer (2.3.5): Open source TCP interface to the SageTV API MLSageTV (3.1.8)/Sage Media Server (1.13): SageTV plugin for MainLobby/CQC TaSageTV (2.58)/TaSTVRemote (1.14): Monitor/control SageTV with an Android device TbSageTV (1.02)/STVRemote (1.11): Monitor/control SageTV with a PlayBook 2 TiSageTV (1.64)/TiSTVRemote (1.09): Monitor/control SageTV with an iPhone/iPod/iPad |
#262
|
||||
|
||||
Yeah... Sorry, I did get your email... but between work, christmas, and bug fixes, I haven't had a chance to look at another solution yet.
__________________
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 |
#263
|
||||
|
||||
No problem, I know the feeling! I have like half a dozen projects going on, with more that I could start if the days were longer.
__________________
SageTCPServer (2.3.5): Open source TCP interface to the SageTV API MLSageTV (3.1.8)/Sage Media Server (1.13): SageTV plugin for MainLobby/CQC TaSageTV (2.58)/TaSTVRemote (1.14): Monitor/control SageTV with an Android device TbSageTV (1.02)/STVRemote (1.11): Monitor/control SageTV with a PlayBook 2 TiSageTV (1.64)/TiSTVRemote (1.09): Monitor/control SageTV with an iPhone/iPod/iPad |
#264
|
|||
|
|||
How do we use the "Album" functions (e.g. GetAlbumTracks())? There are no album ids that I can see and when I try the name of the album it doesn't work.
__________________
-Craig |
#265
|
||||
|
||||
It would appear, that since there is no way to find an album by id, and as such, there is no way to really get album information. I'll add a bug, and maybe I can see if I can find a work around for this after christmas.
__________________
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 |
#266
|
||||
|
||||
Yeah that's an annoyance in dealing with albums in SageTV, you pretty much have to use their first song or such to keep track of them.
__________________
SageTCPServer (2.3.5): Open source TCP interface to the SageTV API MLSageTV (3.1.8)/Sage Media Server (1.13): SageTV plugin for MainLobby/CQC TaSageTV (2.58)/TaSTVRemote (1.14): Monitor/control SageTV with an Android device TbSageTV (1.02)/STVRemote (1.11): Monitor/control SageTV with a PlayBook 2 TiSageTV (1.64)/TiSTVRemote (1.09): Monitor/control SageTV with an iPhone/iPod/iPad |
#267
|
|||
|
|||
Don't waste your time on it since I was just curious and am just playing around with the API. Thanks.
__________________
-Craig |
#268
|
|||
|
|||
Dunno if this will help or not but you can use GetAlbumForFile() for any song and it will return all the album data you need (as long as that song is part of an album that is).
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders |
#269
|
||||
|
||||
I'm trying to use the GetShowForExternalID function to get the Show object for "South Park". From a different call I've determined South Park's external ID to be: EP2298270202.
I'm using: Code:
http://localhost:8080/sagex/api?c=GetShowForExternalID?1=EP2298270202 EDIT: Doh, I was double question-marking my command. it should have been http://localhost:8080/sagex/api?c=GetShowForExternalID&1=EP2298270202 Then it works! Last edited by bradvido; 01-20-2011 at 09:43 AM. |
#270
|
||||
|
||||
On to my next problem.
When the function expects a sage.Show parameter, what should be used? I've tried show:[external_id] and [show name] but no luck. I can't seem to find a show id anywhere to used, except for the external id. EDIT: Again, solved my own problem. I was getting an empty result because there really was no info for the show i was querying. The correct syntax is show:[external_id] Sorry for the un-necessary posts! Last edited by bradvido; 01-20-2011 at 09:53 AM. |
#271
|
||||
|
||||
OK, last question today (promise)
I'm trying to get series info (not show/episode info) by using GetSeriesInfoForID. I need to pass it a series id, and from the documentation, I understand it to be defined as: Quote:
So I call: Code:
http://localhost:8080/sagex/api?c=GetSeriesInfoForID&1=316978 Code:
- <error sagex-version="7.0.23.3"> - <message> - <![CDATA[ Unknown Object Type: sage.c3 for Sage Object: SeriesInfo[18414,Law & Order: Special Victims Unit] ]]> </message> - <exception> - <![CDATA[ java.lang.Exception: Unknown Object Type: sage.c3 for Sage Object: SeriesInfo[18414,Law & Order: Special Victims Unit] at sagex.remote.builder.SimpleXmlBuilder.handleError(SimpleXmlBuilder.java:38) at sagex.remote.builder.SageAPIBuilder.build(SageAPIBuilder.java:63) at sagex.remote.api.XmlReplyEncoder.encodeReply(XmlReplyEncoder.java:26) at sagex.remote.api.ApiHandler.handleRequest(ApiHandler.java:158) at sagex.remote.SagexServlet.doPost(SagexServlet.java:59) at sagex.remote.SagexServlet.doGet(SagexServlet.java:37) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:389) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.handler.rewrite.RewriteHandler.handle(RewriteHandler.java:230) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520) Caused by: java.lang.Exception: Unknown Object Type: sage.c3 for Sage Object: SeriesInfo[18414,Law & Order: Special Victims Unit] ... 23 more ]]> </exception> </error> |
#272
|
||||
|
||||
@bradvido - The issue here is that I don't have a serializer for SeriesInfo. I had to write specific serializers for each object that I was exposing over http, and this is one of the few objects left, that I haven't implemented.
__________________
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 |
#273
|
||||
|
||||
Quote:
Do you have plans to implement it, or has development stopped for this project? |
#274
|
||||
|
||||
Quote:
The issue, is time. BMT and Phoenix consume 150% of my time right now, so there's not alot left over to enhance sagex-apis. I do have a short list of things that need to be updated in this project, when i get the time. I'm also not adverse to other people submitting patches as well
__________________
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 |
#275
|
|||
|
|||
Quote:
This patch has the following caveats due to limitations/problems with the SeriesInfoAPI.
I fired off a feature request and a bug report, respectively, to Sage about those issues. |
#276
|
||||
|
||||
@skiingwiz - thanks for the patch. I'll apply it today, and I'll try to get a new build out this weekend.
__________________
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 |
#277
|
||||
|
||||
@skiingwiz - I've incorporated the patch, and I just published an updated sagex-api. At first I thought there must be an error with the patch, because it contained so little code, I forget myself how I handled the serialization
__________________
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 |
#278
|
||||
|
||||
Thanks you skiingwiz and stuckless! I didn't expects a patch and update so quickly
|
#279
|
|||
|
|||
Your code was set up quite well. It was almost no work to add the SeriesInfo. In fact, I spent more time discovering the issues with the SeriesInfo API than I did writing the patch.
|
#280
|
|||
|
|||
Quote:
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hauppauge Remote Issue | yacht_boy | Hardware Support | 4 | 05-01-2008 09:25 PM |
MCE remote transmitting keypresses twice | arnabbiswas | Hardware Support | 1 | 02-22-2007 10:55 AM |
MCE Remote not work fully with Placeshifter | devinteske | SageTV Placeshifter | 5 | 02-08-2007 11:45 PM |
Harmony Remote IR Reciever Help | brundag5 | Hardware Support | 2 | 01-13-2007 09:08 PM |
How to get SageTV to release focus to NVDVD for remote | IncredibleHat | SageTV Software | 4 | 07-06-2006 07:47 AM |