Add-on:Sonos

Introduction
The XBMC Sonos addon has only recently been released. Please note that features will be added over time, and some features are currently only in an "Example" format to show the sort of thing that will be coming in furture versions.

The Sonos addon currently only supports a single speaker - this is partly because I only have one speaker available to test any features.

Installation
The Sonos addon does not require any other programs installed. It will communicate directly with your Sonos speaker to perform operations.

The following settings are available:

Speaker

 * Search For Sonos Speakers...
 * Attempt to auto detect any Sonos speakers on the network
 * IP Address
 * The IP Address of your speaker

Controller

 * Refresh Interval (Seconds)
 * Sets how often the controller screen should refresh and check for changes of track being played

Notifications

 * Enable Notifications (Restart Required)
 * Enables or disables the popup notification of track change
 * Display Notification For (Seconds)
 * How long to display the track information on the screen
 * Notification Check Frequency (Seconds)
 * The frequency in which the service check which track is playing on the Sonos speaker
 * Do Not Display Notification If Video Is Playing
 * Prevents the popup notification displaying while a video file is playing
 * Use Default XBMC Notification Dialog
 * Uses the default XBMC popup dialog instead of the custom Sonos one

Plugin

 * Batch Size
 * The number of records to retrieve from Sonos in one chunk, looping to get all the records in this batch size. (Default = 100)

Advanced

 * Enable Debug logging
 * Enables Sonos debug logging into the XBMC log file
 * Use Test Data
 * Useful for testing if a Sonos speaker is not available (Also allows custom skinners that do not have a Sonos system to develop skins)

Notifications
Upon startup of XBMC, the Sonos addon will launch a service to monitor your Sonos speaker. It will then provide a popup each time the track being played on the Sonos speaker changes. This can be disabled via the settings menu if not required.

Main Script/Controller
The controller enables you to control your Sonos speaker. It suports commands like: In addition to this, the controller will display the currently playing track information and the Album Art
 * Play
 * Pause
 * Stop
 * Previous
 * Next
 * Mute
 * Change Volume
 * Seek to position in track

Plugin
The plugin allows users to view and select tracks that are available on the Sonos system. It has a root menu that contains It suports commands like:
 * Music Library - The list of locally stored tracks on your server
 * Radio Stations - The radio stations saved in "My Radio Stations"
 * Queue - The currently queued tracks to play on the Sonos system
 * Play now
 * Add to queue
 * Replace queue
 * Clear queue

To enable this feature just run the addon program in the normal way or add it to your XBMC Home Page and launch it from there.

Debugging
If reporting a problem, please also provide a debug log. To do this you need to enable BOTH: Please do not paste the log into the forum thread, just link to it.
 * XBMC logging from the main setting menu
 * Sonos debug from the Sonos addon settings menu