• If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!


Sonos-Twitter Rewriting

Page history last edited by Duane Bronson 14 years, 3 months ago

Improved Sonos Twitter





Sonos introduced a Twitter interface in its controllers in October 2009.  The interface is very minimalist and requires the user to type in artist/album/track/links by hand.  While a customer has no access to hack the device itself, it's quite simple (given intimate knowledge of the protocol) to add a new Social Messaging interface that rewrites the tweets before posting them.


Artist, album, and track metadata are conveniently supplied to the Sonos-Twitter service, but they are currently being ignored by the official service.  This hack takes advantage of the metadata and adds the following rewrite rules which can be shortened in many convenient ways (i.e., ~art, ~alb, ~la, ~lg, ~linkg, ~lgoo).

  • ~album : <album name>
  • ~artist : <artist name>
  • ~track : <track name>
  • ~linkgoogle : <a link to google to search for artist/album/track>
  • ~linkamazon : <a link to amazon to search for artist/album/track>


Links are created using the tinyurl.com service.  If no ~link is given and space is available, an amazon link is added at the end.


And to add some advertising for music hack day, the #musichackday text is added at the end of all tweeks if space is available.


Example Tweets:








Tools, Platforms and APIs Used

LAP (LAMP sans M)






Comments (0)

You don't have permission to comment on this page.