Giter Site home page Giter Site logo

resin-mopidy's Introduction

Resin Mopidy Music Server

This application installs and configures the Mopidy Music Server on a Resin Raspberry Pi. It exposes the Moped Web Client over HTTP on port 80, a MPD server on port 6600 and a Touchscreen UI in case you have the Adafruit PiTFT screen connected.

Songs are fetched from YouTube by default, but can configure your credentials for your Spotify or SoundCloud account for more sources. See below for more details.

How to use

To use this project, first create an account on resin.io and setup your first device. Instructions can be found here.

After you're done, git clone this project locally, add the resin remote for your application and git push resin master.

Configuration

You can configure this application using environment variables. Instructions on how to set them from your resin dashboard can be found here

The available configuration options with their defaults are:

  • MOPIDY_HTTP_HOSTNAME=:: The hostname where the web ui will listen
  • MOPIDY_HTTP_PORT=80 The port where the web ui will listen
  • MOPIDY_MPD_HOSTNAME=:: The hostname where the MPD server will listen
  • MOPIDY_MPD_PORT=6600 The port where the MPD server will listen
  • MOPIDY_SOUNDCLOUD_ENABLED=false Set to true to enable SoundCloud integration
  • MOPIDY_SOUNDCLOUD_AUTHTOKEN= Get your SoundCloud auth token here
  • MOPIDY_SPOTIFY_ENABLED=false Set to true to enable Spotify integration
  • MOPIDY_SPOTIFY_USERNAME= Your Spotify username.
  • MOPIDY_SPOTIFY_PASSWORD= Your Spotify password. Get yours here
  • MOPIDY_YOUTUBE_ENABLED=true Set to false to disable YouTube integration
  • MOPIDY_PITFT_ENABLED=false Set to true to enable the Touchscreen UI

Contribute

Support

If you're having any problem, please raise an issue on GitHub.

TODO

  • Support touch events when PiTFT is used

License

The project is licensed under the MIT license.

resin-mopidy's People

Contributors

petrosagg avatar shaunmulligan avatar

Stargazers

Melvin Loos avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.