Skip to content

g0-07/SonosOneDriveServer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OneDrive Sonos Service Build Status

After building the NPR One Service for Sonos, I recently found myself looking for a way to play my music stored on OneDrive. Seeing that OneDrive provides an easy to user API, I built this service.

Most people probably just want to use the hosted version to add it to your Sonos, but you can also run it yourself.

Issues and pull-requests welcome.

How do I add OneDrive to my Sonos?

See instructions at https://michaeldick.me/sonos-onedrive/

How do I run the service myself?

Prerequisites

Run the service locally

  • Clone this repo
  • Import into Eclipse as Maven project
  • Create new Maven build configuration with environment variables:
  • GRAPH_CLIENT_ID
  • Generate the ssl key once through Maven: keytool:generateKeyPair
  • Run Maven target: tomcat7:run-war

Run service on Heroku

  • Create new Heroku app
  • Set environment variables (see above)
  • Git push to Heroku. It will use the included procfile

About

OneDrive Service for Sonos using the Sonos Music API (SMAPI)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%