Browse Source

added locat ext. and volume default

Toastie 1 year ago
parent
commit
76d730b6a2
2 changed files with 10 additions and 1 deletions
  1. 2 1
      mopidy/Dockerfile
  2. 8 0
      mopidy/data/mopidy/.config/mopidy/mopidy.conf

+ 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