Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 507 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 507 Bytes

Sonos-API C#

Sonos API for controlling a Sonos device that's running within the same network.

PlaySonos()

Starts playing the current track on the Sonos.

PauseSonos()

Pauses the Sonos.

NextSong()

Play the next song.

PreviousSong()

Play previous song.

GetSonosFavorites()

Get Sonos favorites.

SetVolume(int volume)

Set volume from 0-100.

GetCurrentTrackInfo()

Get metadata from the currently playing song.

PlayRadioStation(String uri)

play radiostation based on Uri.