SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Studio
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-23-2010, 06:36 PM
tam94131 tam94131 is offline
Sage User
 
Join Date: May 2010
Location: San Francisco
Posts: 6
Question Can you use VBScript with the API?

I looked at the API doc and it has a lot of properties and methods that look interesting. However, I'm a VBScript kind-o-guy and the java-ese I don't understand. Any examples somewhere of VBScript?

Specifically, I'm trying to get a list of the currently recorded shows as well as get the currently being viewed show by client. Is it possible??

Any pointers appreciated....

Tahl

PS. Hope I'm in the right topic.
Reply With Quote
  #2  
Old 05-23-2010, 08:45 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Out of the box, Sage supports Java plugins that run inside the SageTV app or service.

There is a scripting plugin that exposes the SageTV API to scripts running outside of Sage. I don't know that it supports VBScript directly, though (my guess would be not). It does however support API calls via HTTP, so you might be able to do something with that.

Bottom line is that pretty much anything is possible, depending on your skill level and how much work you want to put into it. For someone with a solid grounding in programming fundamentals, learning to write plugins in Java is not that hard, and gives the most direct access to the API.
__________________
-- Greg
Reply With Quote
  #3  
Old 05-26-2010, 09:02 PM
tam94131 tam94131 is offline
Sage User
 
Join Date: May 2010
Location: San Francisco
Posts: 6
Thanks for the reply; things look more promising. If the scripting plug-in supports java script, it should support VB script. That's been my experience. So I suppose it supports java script?

Also, can you point me to the http version of the API? I can't seem to find it. HTTP/SOAP/XML/etc. all would be fine.

Thanks much,
Tahl
Reply With Quote
  #4  
Old 05-26-2010, 10:21 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Quote:
Originally Posted by tam94131 View Post
If the scripting plug-in supports java script, it should support VB script. That's been my experience. So I suppose it supports java script?
Yes, but I believe it does it using a Java-based scriping host, not with Windows Scripting Host. So VBScript support is not a given (since that's a WSH thing).

Quote:
Originally Posted by tam94131 View Post
Also, can you point me to the http version of the API? I can't seem to find it. HTTP/SOAP/XML/etc. all would be fine.
Look under Remote APIs on the scripting plugin page.
__________________
-- Greg
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Missing API? GKusnick SageTV Studio 0 01-16-2007 08:48 PM
Using the Sage API steingra SageTV Studio 11 11-03-2006 11:45 PM
Sage TV API blackb0x SageTV Studio 8 10-11-2006 07:01 AM
API Changes in 5.0 ? dflachbart SageTV Studio 11 05-09-2006 03:21 PM


All times are GMT -6. The time now is 06:08 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.