Upgrade to Mopidy 3
This commit is contained in:
18
README.md
18
README.md
@@ -1,23 +1,17 @@
|
||||
# Mopidy Docker image
|
||||
Image for running [Mopidy](https://www.mopidy.com/) in Docker.
|
||||
Image for running [Mopidy](https://www.mopidy.com/) in Docker.
|
||||
Uses Pulseaudio for audio output.
|
||||
|
||||
## Contents
|
||||
### Frontend extensions
|
||||
* [Iris](https://github.com/jaedb/Iris)
|
||||
* [Mopidy Musicbox Webclient](https://github.com/pimusicbox/mopidy-musicbox-webclient)
|
||||
* [Mopidy Party](https://github.com/Lesterpig/mopidy-party)
|
||||
* [Mopidy Simple webclient](https://github.com/xolox/mopidy-simple-webclient)
|
||||
* [API explorer](https://github.com/dz0ny/mopidy-api-explorer)
|
||||
* [Local images](https://github.com/tkem/mopidy-local-images)
|
||||
|
||||
### Backend extensions
|
||||
* Spotify
|
||||
* Spotify tunigo
|
||||
* Soundcloud
|
||||
* Scrobbler
|
||||
* Tunein
|
||||
* Local SQLite
|
||||
|
||||
## How to use
|
||||
```bash
|
||||
@@ -46,6 +40,10 @@ To add Spotify, Last.FM etc. accounts, use the `/mopidy.conf` file. Example:
|
||||
enabled = true
|
||||
username =
|
||||
password =
|
||||
client_id =
|
||||
client_secret =
|
||||
# To authenticate go to:
|
||||
# https://mopidy.com/ext/spotify/#authentication
|
||||
|
||||
[scrobbler]
|
||||
enabled = true
|
||||
@@ -65,14 +63,14 @@ enable = true
|
||||
The complete default config can be found in the file [mopidy.conf](./mopidy.conf)
|
||||
|
||||
## Local media
|
||||
To play local media files, mount `/media`. All meta data will be stored using Mopidy-Local-SQLite. To scan for new media files, run `docker exec -it mopidy localscan`.
|
||||
To play local media files, mount `/media`. To scan for new media files, run `docker exec -it mopidy localscan`.
|
||||
|
||||
## Adding extensions
|
||||
To add extensions, I advice to override this image by creating your own Dockerfile.
|
||||
In the example below, the material webclient is added. To add packages, we switch to the root user, run `pip` to add everything we need and switch back to the `mopidy` user.
|
||||
In the example below, a package is installed with pip. To add packages, we switch to the root user, run `pip` to add everything we need and switch back to the `mopidy` user.
|
||||
```Dockerfile
|
||||
FROM whhoesj/mopidy:latest
|
||||
USER root
|
||||
RUN pip install
|
||||
RUN python3 -m pip install <your-package>
|
||||
USER mopidy
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user