Compare commits

...

7 Commits

Author SHA1 Message Date
Nick Stokoe
b389297213 root/defaults/mopidy.conf - update jellyfin hostname 2021-12-03 17:26:28 +00:00
Nick Stokoe
3aa890f6a9 root/defaults/mopidy.conf - add stub logging section 2021-03-30 12:03:28 +01:00
Nick Stokoe
8ca497c83b root/defaults/mopidy.conf - don't exclude m4a 2021-03-30 12:02:55 +01:00
Nick Stokoe
1769ab8c92 Dockerfile - fixup the packages
Include support for bash, sudo, and codecs for AAC/M4A/AVI
2021-03-01 11:17:09 +00:00
Nick Stokoe
3aea015bb1 fixup add jellyfin 2021-02-19 15:55:55 +00:00
Nick Stokoe
f85b032bb7 Dockerfile - clean up more after build
Rust isn't needed after building. Various other packages and caches
can be deleted.

setuptools needed to avoid error like:

     ModuleNotFoundError: No module named 'pkg_resources'
2021-02-19 14:47:38 +00:00
Nick Stokoe
225f3ed4c2 Dockerfile / mopidy.conf - add jellyfin plug-in 2021-02-19 14:47:12 +00:00
2 changed files with 35 additions and 4 deletions

View File

@@ -30,12 +30,13 @@ RUN \
libffi-dev \ libffi-dev \
openssl-dev \ openssl-dev \
python3-dev \ python3-dev \
py3-setuptools \
py3-pip \ py3-pip \
py3-wheel \
libcdio \ libcdio \
libcaca \ libcaca \
libvpx \ libvpx \
v4l-utils-libs \ v4l-utils-libs \
py3-requests \
py3-crypto \ py3-crypto \
py3-gst \ py3-gst \
py3-gobject3 \ py3-gobject3 \
@@ -45,8 +46,12 @@ RUN \
gstreamer-tools \ gstreamer-tools \
gst-plugins-base \ gst-plugins-base \
gst-plugins-good \ gst-plugins-good \
gst-plugins-bad \
gst-plugins-ugly \ gst-plugins-ugly \
gst-libav \
alsa-utils \ alsa-utils \
bash \
sudo \
&& pip3 install -U \ && pip3 install -U \
pyopenssl \ pyopenssl \
youtube-dl \ youtube-dl \
@@ -61,11 +66,24 @@ RUN \
Mopidy-Iris \ Mopidy-Iris \
Mopidy-Local \ Mopidy-Local \
Mopidy-MPD \ Mopidy-MPD \
Mopidy-Jellyfin \
Mopidy-Spotify-Web \ Mopidy-Spotify-Web \
Mopidy-SoundCloud \ Mopidy-SoundCloud \
&& echo "* Cleaning up" \ && echo "* Cleaning up" \
&& rm -rf /var/cache/apk/* \ && rm -rf /var/cache/apk/* \
&& rm -rf /tmp/* && rm -rf /root/.cache /root/.cargo \
&& rm -rf /tmp/* \
&& apk del \
build-base \
rust \
cargo \
libxml2-dev \
libxslt-dev \
libffi-dev \
openssl-dev \
python3-dev \
py3-pip
# Do this in a separate layer, because building the last is slooow # Do this in a separate layer, because building the last is slooow
# This allows us to alter these parameters without rebuilding the last. # This allows us to alter these parameters without rebuilding the last.

View File

@@ -15,7 +15,6 @@ excluded_file_extensions =
.png .png
.gif .gif
.bmp .bmp
.m4a
.itdb .itdb
.itl .itl
@@ -35,7 +34,6 @@ excluded_file_extensions =
.png .png
.gif .gif
.bmp .bmp
.m4a
.itdb .itdb
.itl .itl
@@ -45,9 +43,15 @@ image_dir = /data/.images
[http] [http]
hostname = 0.0.0.0 hostname = 0.0.0.0
port = 6680
[mpd] [mpd]
enabled = true
# Useful if you want to control this instance from a remote MPD client
hostname = 0.0.0.0 hostname = 0.0.0.0
port = 6600
# This will help avoid timeout errors for artists or folders with large amounts of files
connection_timeout = 300
[iris] [iris]
country = GB country = GB
@@ -76,3 +80,12 @@ auth_token =
[scrobbler] [scrobbler]
username = username =
password = password =
[jellyfin]
hostname = jellyfin:8096
username = mopidy
password = 66Hky1XQL1oTg
libraries = Music
[logging]
#verbosity = 1