Go Back   Sonos Forums > Sonos Labs Partners and Developers Forum

Reply
 
Thread Tools Display Modes
  #1  
Old Jan 27th, 2012, 08:22 AM
crispibits crispibits is offline
Member
 
Join Date: May 2011
Posts: 3
Default Home developers using Sonos Labs?

Is there any way for home/open source developers to use the Sonos Labs API? It would be a great way to stimulate interest in the Sonos in a whole new arena?
__________________
Kit: ZP90, ZP120, S5, Archos A43 Android controller, Linux.
Reply With Quote
  #2  
Old Jan 28th, 2012, 06:51 AM
Ron - Sonos Ron - Sonos is offline
Sonos Product Development Administrator
 
Join Date: Feb 2007
Posts: 2
Default

Absolutely! Any developer can register on the musicservices.sonos.com site and use the API. Have you registered there yet?
Reply With Quote
  #3  
Old Jan 28th, 2012, 08:21 AM
ianmacd's Avatar
ianmacd ianmacd is offline
Member
 
Join Date: Apr 2007
Location: Amsterdam, The Netherlands
Posts: 506
Default

Quote:
Originally Posted by Ron - Sonos View Post
Absolutely! Any developer can register on the musicservices.sonos.com site and use the API. Have you registered there yet?
I registered there a while back, but received no response. I was expecting a link to the docs, etc.
__________________
Ian Macdonald
10 zones: 6 x ZP100, 1 x ZP120, 1 x ZP90, 2 x S5,
4 x CR100 and 2 x CR200
(+ 2 x ACR & pre-3.7 PC DCR on Linux WINE)

To view links or images in signatures your post count must be 4 or greater. You currently have 0 posts.
Reply With Quote
  #4  
Old Jan 29th, 2012, 04:31 AM
ianmacd's Avatar
ianmacd ianmacd is offline
Member
 
Join Date: Apr 2007
Location: Amsterdam, The Netherlands
Posts: 506
Default

Quote:
Originally Posted by ianmacd View Post
I registered there a while back, but received no response. I was expecting a link to the docs, etc.
It turns out that my SMTP server rejects the messages that the registration system sends. That's because the return address given at SMTP time isn't one that can receive a reply:

apache@domU-12-31-39-00-7C-58.compute-1.internal

As you can see, it doesn't even feature a valid domain. This flags it as spam on my system and the message is rejected.

I temporarily reconfigured the system in order to receive the one e-mail I needed, but you should be aware that others may get caught in similar traps.
__________________
Ian Macdonald
10 zones: 6 x ZP100, 1 x ZP120, 1 x ZP90, 2 x S5,
4 x CR100 and 2 x CR200
(+ 2 x ACR & pre-3.7 PC DCR on Linux WINE)

To view links or images in signatures your post count must be 4 or greater. You currently have 0 posts.
Reply With Quote
  #5  
Old Jan 29th, 2012, 06:02 PM
BarryM BarryM is offline
Member
 
Join Date: Aug 2009
Location: Australia
Posts: 754
Default

Quote:
Originally Posted by Ron - Sonos View Post
Absolutely! Any developer can register on the musicservices.sonos.com site and use the API. Have you registered there yet?
Thanks Ron. I am pleasantly surprised. .... Why surprised?

The site doesn't seem to invite open source nor hobby community programmers to apply.

It is all about Music Service vendors wanting to obtain a global market. There is a FAQ link on the Welcome page, but you cannot gain access to it without an account (?)

If one applies for an account you have mandatory questions which only relate to vendor of such a service ("what codec and bit rate does your service use, etc). Nowhere does it indicate that community programmers can apply, ie. people who may only be offering a local music service coming from the customer's own music tracks.

Do you think that it is worth clarifying this on your Welcome Page?

Also the url is (http://musicpartners.sonos.com/ by the way, not site name in your post).
__________________
A how-to document showing the use of MediaMonkey for improved desktop browsing of your local Sonos library, including Sonos playcounts.

To view links or images in signatures your post count must be 4 or greater. You currently have 0 posts.
Reply With Quote
  #6  
Old Jan 30th, 2012, 06:27 AM
ianmacd's Avatar
ianmacd ianmacd is offline
Member
 
Join Date: Apr 2007
Location: Amsterdam, The Netherlands
Posts: 506
Default

Quote:
Originally Posted by BarryM View Post
Why surprised?

The site doesn't seem to invite open source nor hobby community programmers to apply.
An excellent point, Barry. It's not obvious that the API is a general interest API for anyone looking to bolt extra functionality onto the Sonos. And yet, the API is as well-suited to local streaming servers as it is to remote ones.

The area where the API falls down, IMHO, is codec support. If you're content with WMA and MP3, you're OK, but FLAC, high quality AAC and Ogg Vorbis are all missing.

This means that it's currently not possible to write code that enables local lossless streaming from a server.

I don't know whether this is a technical limitation, or whether it's simply the case that Sonos didn't enable it, because no remote streaming service has the bandwidth to stream lossless data. The fact that the Sonos can natively play FLAC files gives me hope.

Anyway, please consider enabling more codecs, Sonos; particularly FLAC.
__________________
Ian Macdonald
10 zones: 6 x ZP100, 1 x ZP120, 1 x ZP90, 2 x S5,
4 x CR100 and 2 x CR200
(+ 2 x ACR & pre-3.7 PC DCR on Linux WINE)

To view links or images in signatures your post count must be 4 or greater. You currently have 0 posts.
Reply With Quote
  #7  
Old Jan 30th, 2012, 06:34 AM
Ron - Sonos Ron - Sonos is offline
Sonos Product Development Administrator
 
Join Date: Feb 2007
Posts: 2
Default

Thanks for the excellent feedback!

Ian - Someone should be contacting you today to help resolve your email issue if it's still a problem. We are aware that some of these emails are getting caught by spam filters and are working with our provider to help resolve the issue.

Barry - Good points about the language used in these questions. I'm sure we can make some changes to ensure that we are as friendly to open-source types as we intend to be.

Ian - Re. support for those other codecs via our API, point taken. We'll add these to our list of possible future enhancements.
Reply With Quote
  #8  
Old Jan 31st, 2012, 12:59 AM
crispibits crispibits is offline
Member
 
Join Date: May 2011
Posts: 3
Default Cool!

Thanks, I'll have to make sure I'm allowed to use the API (I work for a software company, but also play with software in my own time), and then will have a crack at it. Glad to see my query raised a few other voices as well :-)
__________________
Kit: ZP90, ZP120, S5, Archos A43 Android controller, Linux.
Reply With Quote
  #9  
Old Feb 1st, 2012, 06:48 AM
Ron - Sonos Ron - Sonos is offline
Sonos Product Development Administrator
 
Join Date: Feb 2007
Posts: 2
Default

Quote:
Originally Posted by ianmacd View Post
The area where the API falls down, IMHO, is codec support. If you're content with WMA and MP3, you're OK, but FLAC, high quality AAC and Ogg Vorbis are all missing.
I forgot to mention that we now support AAC+ aka HE-AAC. This was added with the firmware update back in the fall.
Reply With Quote
  #10  
Old Feb 23rd, 2012, 09:03 AM
Sebastien Sebastien is offline
Member
 
Join Date: Dec 2011
Posts: 7
Talking Cool !

Thanks for opening the API !

I was looking for a better podcasts support
I've created an application on Red Hat Openshift express thanks to the Java API exemple and ... tadaaaa ... it works great !

My Rss podcasts are now parsed on demand and always updated

I'll do a post on it if you want.
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 On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:55 AM.