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.
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
.
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 listenMOPIDY_HTTP_PORT=80
The port where the web ui will listenMOPIDY_MPD_HOSTNAME=::
The hostname where the MPD server will listenMOPIDY_MPD_PORT=6600
The port where the MPD server will listenMOPIDY_SOUNDCLOUD_ENABLED=false
Set totrue
to enable SoundCloud integrationMOPIDY_SOUNDCLOUD_AUTHTOKEN=
Get your SoundCloud auth token hereMOPIDY_SPOTIFY_ENABLED=false
Set totrue
to enable Spotify integrationMOPIDY_SPOTIFY_USERNAME=
Your Spotify username.MOPIDY_SPOTIFY_PASSWORD=
Your Spotify password. Get yours hereMOPIDY_YOUTUBE_ENABLED=true
Set tofalse
to disable YouTube integrationMOPIDY_PITFT_ENABLED=false
Set totrue
to enable the Touchscreen UI
- Issue Tracker: github.com/petrosagg/resin-mopidy/issues
- Source Code: github.com/petrosagg/resin-mopidy
If you're having any problem, please raise an issue on GitHub.
- Support touch events when PiTFT is used
The project is licensed under the MIT license.