View Single Post
  #4 (permalink)  
Old 09-22-2008, 01:13 PM
Fonceur Fonceur is offline
Problem solver
 
Join Date: Jan 2004
Location: Montreal, Qc
Posts: 4,913
Thumbs up Re : Re: Beyond TV SDK addition for developers (BTV >= 4.8)

Quote:
Originally Posted by bitpusher View Post
R.E. prop bag that overwrites duplicate properties:

Hmmm... that sounds like a dictionary to me. The service calls return an untyped prop bag with possible duplicates.
Maybe Kilrsat can chime in, but I am not aware of any property bags with actual duplicates, instead the values would be comma delimited (i.e. Genre, Actors, etc.) As far as I know, they were simply an artificial construct of daWanderer for the developer's benefit... As noted, you can still use bagHelper.Add(PVSProperty) if you want to bypass this behavior...

Quote:
If you do not agree I will be branching BTVLibrary as I DO want to know EXACTLY what the service is returning.
You probably don't need to go through that much trouble, instead of using:

PropertyBagHelper bagHelper = new PropertyBagHelper(pvsBag);

just use:

PropertyBagHelper bagHelper = NewBagHelper(pvsBag);

with:

Code:
public PropertyBagHelper NewBagHelper(PVSPropertyBag pvsBag)
{
    PropertyBagHelper bagHelper = new PropertyBagHelper();

    Foreach (PVSProperty prop in pvsBag) bagHelper.Add(prop);

   Return BagHelper;
}
__________________
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