Source posting

36 views
Skip to first unread message

JeremyLaurenson

unread,
Mar 1, 2005, 11:38:47 AM3/1/05
to So...@googlegroups.com
Hey guys,

I am still waiting for my MS Dev kit to arrive, but in the mean time I
thought I woulad ask if any of you are comfortable with posting your
basic projects so the rest of us dont have to recreate the wheel?

Thanks

J

Steve Eisner

unread,
Mar 1, 2005, 2:37:52 PM3/1/05
to So...@googlegroups.com
Definitely! I'm going to post the full source for mine soon. I've
just been adding a few things and the code got messy, so I wanted to
clean a bit before posting. I should have it out within a day or two,
when I finally get some time to finish up...

Here's what I'll be including:
* UPNP service invocation, discovery, event subscription
* ZonePlayer wrappers so you can ignore UPNP stuff ;)
* Extensible ZonePlayer command "macros" - drop-in DLLs
* ZoneCommander UI for running & debugging commands

A friend offered to help me set up a sourceforge project, so maybe
eventually I'll get this stuff in there...?

Steve

Arnold Serrano

unread,
Mar 1, 2005, 5:25:39 PM3/1/05
to So...@googlegroups.com
I'll post the source code as soon as I clean it up and document it
some. Its pretty ugly right now.

crum...@gmail.com

unread,
Mar 7, 2005, 1:51:34 PM3/7/05
to So...@googlegroups.com
Any update on this? I've been trawling through sonosutil's but I think
I could do with a little more. How's yours, Arnold?

Steve Eisner

unread,
Mar 7, 2005, 2:02:53 PM3/7/05
to So...@googlegroups.com
Sorry, I got a little time to play with it this weekend and spent it
all chasing a bug in Intel's UPNP code.

The problem is that after swapping out my own UPNP code for Intel's,
I'm now dependent on their UPNP event notification code. But at some
point either the ZonePlayer or the UPNP library itself just drops out
and stops processing event notifications. It usually happens when
lots of actions get called at around the same time - for instance,
pressing the play/pause button many times very quickly.

This happens even with DeviceSpy subscriptions so I know it's not my
own code. I just can't figure out what's going on - as far as I can
tell it's some form of threading problem that happens when you take
too much time to process a notification, blocking the next
notification from coming in?

I'll try to post my code anyway tonight when I get home...

Steve

Arnold Serrano

unread,
Mar 7, 2005, 8:20:54 PM3/7/05
to So...@googlegroups.com
I got a couple of bugs to fix and am currently adding the playlist
feature. It will probably take me the rest of the week. I can post
just my C# class that handles most of the SONOS functions. You can
get the wrapper C# classes using the Inter UPNP device builder tool.

regards
Arnold

Steve Eisner

unread,
Mar 7, 2005, 8:36:57 PM3/7/05
to So...@googlegroups.com
Arnold - do you have the eventing model incorporated? (ie Subscribe
to services) If so are you seeing the same problem I am?

Steve

Arnold Serrano

unread,
Mar 8, 2005, 12:19:15 AM3/8/05
to So...@googlegroups.com
No, I don't have any subscribe events incorporated. I'm really trying
to keep this simple for now and do basic functionalities. The only
events I'm subscribed to is the discovery.

Arnold

steve...@gmail.com

unread,
Mar 8, 2005, 2:43:38 PM3/8/05
to So...@googlegroups.com
OK, thanks. I've just posted my source so if you need some eventing
code, it's there... but this bug is still occasionally happening. I'm
gonna spend some more time with it later to figure out whether I can
fix it from outside the UPNP library or whether it requires a new DLL
from Intel :(

Reply all
Reply to author
Forward
0 new messages