Go Back   Sonos Forums > The Unsupported Area

Reply
 
Thread Tools Display Modes
  #21  
Old Nov 8th, 2009, 02:15 PM
henkelis henkelis is offline
Member
 
Join Date: Aug 2009
Posts: 125
Default

Quote:
Originally Posted by Majik View Post
IMO it would be easier to hack something like Mediagate, for which the source code is available. This is something I've been meaning to look at when I'm not stupid-busy on other stuff.

It would even be possible to use DAAP to access 3rd party iTunes sharing servers like firefly.

(Note I say "3rd-party" because Apple have hacked recent iTunes to prevent non-Apple clients from working with them. It's a real shame because it prevents products like Sonos from properly integrating with them.)

Cheers,

Keith
I'm not familiar with Mediagate, let me know if you do get to spend some time looking at it.

As for iTunes and the like, hopefully others will become interested enough to look at extending what I have.
Reply With Quote
  #22  
Old Nov 8th, 2009, 02:19 PM
henkelis henkelis is offline
Member
 
Join Date: Aug 2009
Posts: 125
Default

Quote:
Originally Posted by Avee View Post
I think that's pretty cool! Would be a nice combination with Asset upnp, will try that when I have some time (probably never )
I've just checked Asset vs Twonky for playing a full album. Twonky works as it sends a res element in the XML for the container, whereas Asset doesn't - I'll drop Spoon a line an ask whether that's by design or not (it seems to be the same whether served direct from Asset or via Sonos served Asset).

I could easily add items from a container to the queue one by one, but the app already supports sending a container URI.
Reply With Quote
  #23  
Old Nov 10th, 2009, 01:44 PM
henkelis henkelis is offline
Member
 
Join Date: Aug 2009
Posts: 125
Default

Quote:
Originally Posted by henkelis View Post
I guess it would be possible for my app to wrap Twonky and present it as WMP (I'd need to change my app to act as a server), then in theory it could be presented to Sonos as a third party media server as Asset and WMP can be (and under the same constraints such as single track play). Kind of a UPnP proxy.
Step one complete - I've managed to wrap Twonky with a proxy running in my controller (it ought to be able to wrap any UPnP server, I guess it could work with non-UPnP devices too with some work).

Now the harder part - I need to make my proxy spoof WMP.
Reply With Quote
  #24  
Old Nov 10th, 2009, 03:01 PM
crichardso crichardso is offline
Member
 
Join Date: Aug 2008
Posts: 40
Default

when you get ready for testers let me know i would be more than happy to give it a try

my email is crichar@gmail.com
Reply With Quote
  #25  
Old Nov 11th, 2009, 05:29 PM
henkelis henkelis is offline
Member
 
Join Date: Aug 2009
Posts: 125
Default

Quote:
Originally Posted by henkelis View Post
Step one complete - I've managed to wrap Twonky with a proxy running in my controller (it ought to be able to wrap any UPnP server, I guess it could work with non-UPnP devices too with some work).

Now the harder part - I need to make my proxy spoof WMP.
OK, so step two partially complete. I've managed to get my Proxy to appear on the Sonos controller. I can browse Twonky via the controller (via the Proxy), but at the moment it won't play the tracks. I suspect that's because I haven't fully spoofed WMP. More investigations to follow.
Reply With Quote
  #26  
Old Nov 23rd, 2009, 04:59 PM
henkelis henkelis is offline
Member
 
Join Date: Aug 2009
Posts: 125
Default

Quote:
Originally Posted by henkelis View Post
OK, so step two partially complete. I've managed to get my Proxy to appear on the Sonos controller. I can browse Twonky via the controller (via the Proxy), but at the moment it won't play the tracks. I suspect that's because I haven't fully spoofed WMP. More investigations to follow.
I'm almost there. I can browse Twonky on the CR100 and select tracks. The zoneplayer will pull the track from Twonky and attempt to play it - I just need to make the proxy report the file/chunk size correctly so that the zoneplayer doesn't think the file is corrupt (it isn't as I can see it in wireshark).

I've wrapped Twonky as both WMP and Rhapsody - currently I'm using Rhapsody so I don't need to worry about the MS media receiver registrar.

Anyone who understands WSGI and proxies is welcome to lend a hand - I'm currently trying to get paste/webob to talk to circuits.web so I'm having to do some translation between them (I could use paste throughout if I have to).
Reply With Quote
  #27  
Old Nov 24th, 2009, 01:30 AM
Avee's Avatar
Avee Avee is offline
Moderator
 
Join Date: Oct 2005
Posts: 5,186
Default

Quote:
Originally Posted by henkelis View Post
I've wrapped Twonky as both WMP and Rhapsody - currently I'm using Rhapsody so I don't need to worry about the MS media receiver registrar.
Some report that the Rhapsody upnp no longer works on the CR200. WMP might be more future-proof.
__________________
All opinions expressed here are my personal views.
I don't work for Sonos, I'm just another satisfied customer.
Reply With Quote
  #28  
Old Nov 24th, 2009, 04:57 PM
henkelis henkelis is offline
Member
 
Join Date: Aug 2009
Posts: 125
Default

Quote:
Originally Posted by Avee View Post
Some report that the Rhapsody upnp no longer works on the CR200. WMP might be more future-proof.
Oops, looks like I'll need a guinea pig with a CR200 then. I'm guessing v3.1 of the desktop controller doesn't have that restriction?

I've got Twonky working - I can select a track from Twonky on the CR100 and play it on a ZP. I do need to make it so it doesn't pull back the full file before playing it, but that shouldn't be too hard. I've eliminated the need for Paste and webob by extending the BRisa webserver.

Twonky works proxied as Rhapsody, I'll now attempt to configure the proxy as WMP.
Reply With Quote
  #29  
Old Nov 25th, 2009, 07:30 AM
crichardso crichardso is offline
Member
 
Join Date: Aug 2008
Posts: 40
Default

were you able to figure out how to add more than one thing to the queue at a time? like adding a whole cd just wondering? thanks so much for all your work it is much aprecated
Reply With Quote
  #30  
Old Nov 25th, 2009, 04:46 PM
henkelis henkelis is offline
Member
 
Join Date: Aug 2009
Posts: 125
Default

Quote:
Originally Posted by crichardso View Post
were you able to figure out how to add more than one thing to the queue at a time? like adding a whole cd just wondering? thanks so much for all your work it is much aprecated
When Twonky is browsed via my controller, you can add an album/container at a time. It doesn't work quite the same via the proxy, but I'll try and work out why (probably something to do with the way I'm browsing).

I could add a full album/container by automatically adding all tracks within it, but that's a last resort.
Reply With Quote
Reply

Thread Tools
Display Modes

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 Off
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 11:53 PM.