Skip to content

svrooij/sonos-net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Control sonos speakers from dotnet

Follow on Twitter Star on Github Support me on Github Check my blog

Always wanted to control sonos speakers right from your dotnet application? I've created this library for you to do just that.

Warning This library is far from complete at the moment, it's just an experiment for now.

Developer

A lot in this library is generated by the sonos generator. You can use the following script to regenerate the pre-generated models.

# Install the generator (once)
npm install -g @svrooij/sonos-docs

# Combine the different sources to one simple file (once, unless service definition changed)
sonos-docs combine

# Generate library (windows)
sonos-docs generate .\src\sonos-net-template\ .\src\

# Generate library (linux/mac)
sonos-docs generate ./src/sonos-net-template/ ./src/

# Fix formatting
# dotnet tool install -g dotnet-format
dotnet-format