add shntool, fix copy of config.ini

This commit is contained in:
smdion 2015-11-13 09:48:15 -06:00
parent 3f18b44c66
commit a7aa4aa20d
4 changed files with 7 additions and 6 deletions

View file

@ -1,7 +1,8 @@
FROM linuxserver/baseimage.python
MAINTAINER smdion <me@seandion.com>
ENV PYTHONIOENCODING="UTF-8" APTLIST="ffmpeg mc"
ENV PYTHONIOENCODING="UTF-8"
ENV APTLIST="ffmpeg mc shntool"
# Install Dependencies
RUN add-apt-repository ppa:mc3man/trusty-media && \

View file

@ -43,7 +43,7 @@ mirror = musicbrainz.org
api_enabled = 0
correct_metadata = 0
customuser = ""
cue_split_shntool_path = ""
cue_split_shntool_path = "/usr/bin/shntool"
lastfm_username = ""
autowant_upcoming = 1
config_version = 5

View file

@ -2,6 +2,7 @@
if [ ! -f /config/config.ini ]; then
/sbin/setuser abc cp -v /defaults/config.ini /config/config.ini
cp /defaults/config.ini /config/config.ini
chown abc:abc /config/config.ini
fi

View file

@ -1,4 +1,3 @@
#!/bin/bash
umask 0002
exec /sbin/setuser abc python /app/headphones/Headphones.py -p 8181 --datadir=/config --nolaunch
exec /sbin/setuser abc python /app/headphones/Headphones.py -p 8181 --datadir=/config