4 Commits b40540a2a2 ... 83164add8a

Author SHA1 Message Date
  Toastie 83164add8a Merge branch 'master' of https://git.in-ulm.de/ulpeters/dudelbox 4 years ago
  Toastie d961911bd4 added .gitignore 4 years ago
  Toastie 76d730b6a2 added locat ext. and volume default 4 years ago
  Toastie 0344b233c0 initial 4 years ago
4 changed files with 12 additions and 1 deletions
  1. 1 0
      minio/.gitignore
  2. 1 0
      minio/README.md
  3. 2 1
      mopidy/Dockerfile
  4. 8 0
      mopidy/data/mopidy/.config/mopidy/mopidy.conf

+ 1 - 0
minio/.gitignore

@@ -0,0 +1 @@
+mc

+ 1 - 0
minio/README.md

@@ -0,0 +1 @@
+https://dl.minio.io/client/mc/release/linux-arm/mc

+ 2 - 1
mopidy/Dockerfile

@@ -8,7 +8,8 @@ RUN apk add --no-cache py-pip mopidy gstreamer gst-plugins-bad sudo python3-dev
 
 RUN python3 -m pip install Mopidy-Iris \
  && python3 -m pip install Mopidy-MPD \
- && python3 -m pip install Mopidy-Youtube
+ && python3 -m pip install Mopidy-Youtube \
+ && python3 -m pip install Mopidy-Local
 
 ADD ./data/mopidy/.config/mopidy/mopidy.conf /var/lib/mopidy/.config/mopidy/mopidy.conf
 ADD ./data/etc/asound.conf /etc/asound.conf

+ 8 - 0
mopidy/data/mopidy/.config/mopidy/mopidy.conf

@@ -7,6 +7,7 @@ hostname = ::
 [audio]
 mixer = software
 output = alsasink
+mixer_volume = 25
 
 [youtube]
 threads_max = 2 
@@ -16,3 +17,10 @@ playlist_max_videos = 20
 [file]
 excluded_file_extensions =
   .lastplay
+
+[local]
+media_dir = ~/music
+data_dir = ~/.local
+playlists_dir = ~/.local/share/mopidy/m3u
+excluded_file_extensions =
+  .lastplay