SnapStream Forums

Go Back   SnapStream Forums > SnapStream Developer Network > Development Discussion
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Rating: Thread Rating: 4 votes, 4.75 average. Display Modes
  #1 (permalink)  
Old 07-13-2005, 11:44 PM
Registered User
 
Join Date: Jun 2005
Posts: 28
Beyond TV SDK addition for developers

I put together this library to ease my own Beyond TV development as well as help out other developers. The library accomplishes two things:

1. All Beyond TV 3.5 web services classes have been implemented. The libraries automatically connect to "localhost", so you can only run them from the local machine. Having these classes removes the necessity of adding web references and changing namespaces as shown in the SDK tutorials.

2. A helper class for property bags has been added. The PVSPropertyBag is very cumbersome to work with. My PropertyBagHelper class allows you to address properties by name, have multiple values for a given property name, copy in and out of PVSPropertyBags, add new properties easily, remove properties by name, and make sure only one value exists for a given property. There are also some utility functions to easily copy property bags and filter properties into a new property bag.

The entire Visual Studio.NET 2003 solution is included in the ZIP file. Feel free to use the source code for whatever you want. The actually .NET assembly is located in the bin\Release folder (BeyondTVLibrary.dll).

Let me know if there are any problems or features anyone would like added.
Attached Files
File Type: zip BeyondTVLibrary.zip (130.9 KB, 367 views)
Reply With Quote
  #2 (permalink)  
Old 07-14-2005, 01:32 AM
Registered User
 
Join Date: Jun 2005
Posts: 28
Re: Beyond TV SDK addition for developers

Almost forgot to mention....make sure you add a reference to System.Web.Services when you reference BeyondTVLibrary.dll. Otherwise you'll get an error about SoapHttpblahblah not being defined.
Reply With Quote
  #3 (permalink)  
Old 07-14-2005, 07:02 AM
merrypig's Avatar
...
 
Join Date: Oct 2002
Posts: 4,404
Re: Beyond TV SDK addition for developers

Just a tip; you could implement the classes such that you can specify the url/port to be used by the web reference dynamically. Say, pass it in the constructor of the class and have it fill out the .url property of the btv class before connecting.
__________________
Sleep well Kismet
Reply With Quote
  #4 (permalink)  
Old 07-14-2005, 01:34 PM
Registered User
 
Join Date: Jun 2005
Posts: 28
Re: Beyond TV SDK addition for developers

I have made the requested changes. You can now supply any Beyond TV web service object with a hostname-port pair, an IPAddress-port pair, or an IPEndPoint.
Attached Files
File Type: zip BeyondTVLibrary.zip (138.6 KB, 230 views)
Reply With Quote
  #5 (permalink)  
Old 07-17-2005, 08:42 PM
jmaver's Avatar
Registered User
 
Join Date: Sep 2003
Location: North Andover, MA
Posts: 455
Re: Beyond TV SDK addition for developers

This is great. I started on something like this, but never cleaned it up. I scrapped mine and started using yours instead.
Thanks.
__________________
John Maver
Reply With Quote
  #6 (permalink)  
Old 07-21-2005, 02:18 PM
Registered User
 
Join Date: Jun 2005
Posts: 28
Re: Beyond TV SDK addition for developers

Glad to help out the community
Reply With Quote
  #7 (permalink)  
Old 07-23-2005, 12:04 AM
Problem solver
 
Join Date: Jan 2004
Location: Montreal, Qc
Posts: 4,913
Re: Beyond TV SDK addition for developers

Thanks, your library makes accessing the BTV server much less cumbersome than the SDK tutorial!
Reply With Quote
  #8 (permalink)  
Old 07-23-2005, 02:00 PM
Registered User
 
Join Date: Jun 2005
Posts: 28
Re: Beyond TV SDK addition for developers

I've made a minor update to the library. I added a GetPropertyNames function to the PropertyBagHelper to let you easily get a list of all the property names in the bag.
Attached Files
File Type: zip BeyondTVLibrary.zip (139.1 KB, 246 views)
Reply With Quote
  #9 (permalink)  
Old 08-13-2005, 10:21 AM
bshinkle's Avatar
Registered User
 
Join Date: Mar 2003
Location: Voorhees, NJ
Posts: 164
Re: Beyond TV SDK addition for developers

Nicely done! Much better than the setup from the tutorial..
Reply With Quote
  #10 (permalink)  
Old 08-19-2005, 07:00 AM
bshinkle's Avatar
Registered User
 
Join Date: Mar 2003
Location: Voorhees, NJ
Posts: 164
Re: Beyond TV SDK addition for developers

Does this have to be rebuilt when new releases of BTV come out? I am not seeing various methods listed in the API docs, like BTVGuideData.GetEpisodesByFilters, SearchByTitle2, and others.. Or are the API docs on code.snapstream.com just out of date?
Reply With Quote
  #11 (permalink)  
Old 08-19-2005, 09:45 AM
Registered User
 
Join Date: Jun 2005
Posts: 28
Re: Beyond TV SDK addition for developers

This library was built against BTV 3.5, so the new APIs from 3.7 aren't in there.
Reply With Quote
  #12 (permalink)  
Old 11-12-2005, 04:50 PM
Problem solver
 
Join Date: Jan 2004
Location: Montreal, Qc
Posts: 4,913
Re: Beyond TV SDK addition for developers

Quote:
Originally Posted by DaWanderer
This library was built against BTV 3.5, so the new APIs from 3.7 aren't in there.
Any chances of you rebuilding your great library for BTV 4.0?
__________________
BTV 4.9.2 | XP Pro SP2 (nLite'd)| PVR-250/500/Firewire | Videotron - Pace 551 HD | Hitachi 50V500 (DVI)


To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.
: BTV 4.9 SDK addition for developers.
To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.
: Conflict resolution/Guide updates/Searches/etc.
To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.
: External recordings, Firewire/clear QAM/DVB/R5000HD/etc.
To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.
: Record from a simple .GRF file.
To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.
: MainLobby integration.
Reply With Quote
  #13 (permalink)  
Old 11-12-2005, 04:53 PM
Registered User
 
Join Date: Jun 2005
Posts: 28
Re: Beyond TV SDK addition for developers

Well, I'd have to buy BTV 4 first Is it good enough to upgrade?
Reply With Quote
  #14 (permalink)  
Old 11-13-2005, 03:23 PM
Problem solver
 
Join Date: Jan 2004
Location: Montreal, Qc
Posts: 4,913
Re: Beyond TV SDK addition for developers

Quote:
Originally Posted by DaWanderer
Well, I'd have to buy BTV 4 first Is it good enough to upgrade?
Kind of a chicken and egg problem here... I have not upgraded to BTV 4.0 yet because of the bug fix that resulted in duplicate copies of the same show being recorded on different channels, rather then just recording the first showing. So I would want to work around their bug fix, yet I do not want to be stuck in version 4 if I cannot get a working solution...
__________________
BTV 4.9.2 | XP Pro SP2 (nLite'd)| PVR-250/500/Firewire | Videotron - Pace 551 HD | Hitachi 50V500 (DVI)


To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.
: BTV 4.9 SDK addition for developers.
To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.
: Conflict resolution/Guide updates/Searches/etc.
To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.
: External recordings, Firewire/clear QAM/DVB/R5000HD/etc.
To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.
: Record from a simple .GRF file.
To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.
: MainLobby integration.
Reply With Quote
  #15 (permalink)  
Old 02-17-2006, 07:58 PM
jmaver's Avatar
Registered User
 
Join Date: Sep 2003
Location: North Andover, MA
Posts: 455
Re: Beyond TV SDK addition for developers

Any updates to this? DaWanderer, did you ever update?
__________________
John Maver
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
The perfect addition to the extreme HTPC MarcP SnapStream Discussion 10 09-22-2006 09:37 AM
Beyond TV Web Admin should support Mozilla in addition to IE AncientPC Development Discussion 17 10-06-2004 04:27 PM
cannot record addition copy- new episodes Edgarmoon Beyond TV and Beyond TV Link User-to-User Troubleshooting & Support Forum 0 07-28-2004 09:49 PM
Nice addition Terminal Beyond TV and Beyond TV Link User-to-User Troubleshooting & Support Forum 2 10-09-2003 09:01 AM


All times are GMT -6. The time now is 02:19 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.0 RC1
©2004-2006 Snapstream Media
You Rated this Thread: