Compare commits

...

6 Commits

Author SHA1 Message Date
Nick Stokoe
33dd1e288a root/defaults/mopidy.conf - update jellyfin hostname 2023-04-04 12:05:40 +01:00
Nick Stokoe
b593b8a59b root/defaults/mopidy.conf - add stub logging section 2023-04-04 12:05:40 +01:00
Nick Stokoe
bab61ed6ac root/defaults/mopidy.conf - don't exclude m4a 2023-04-04 12:05:40 +01:00
Nick Stokoe
aadba6e38c Dockerfile - fixup the packages
Include support for bash, sudo, and codecs for AAC/M4A/AVI
2023-04-04 12:05:40 +01:00
Nick Stokoe
d259232037 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'
2023-04-04 12:05:40 +01:00
Nick Stokoe
faed23014d Dockerfile / mopidy.conf - add jellyfin plug-in 2023-04-04 12:05:40 +01: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