Widget button that allows a radio station to be played or paused on a Sonos device with a single keypress. On setting up the widget the user will select which Sonos zone to use and then which radio station. The list of radio stations is loaded from the user's My Radio Stations list from Sonos.
There are two widgets to choose from. The small widget consists of a play/pause toggle button. The large widget consists of the play/pause toggle button and another button displaying the name of radio station to play. Pressing the radio station button will then allow the user to change the radio station.
Note Wi-fi will automatically be turned on if it is off when play/stop is pressed.
Future enhancements coming soon:Dynamically update play/pause button depending on whether radio station is currently playingMake it pretty.