an application for automatically shuffling your mpd library
1.1K
Used for the HRadio-lab-playout
source: https://github.com/joshkunz/ashuffle
| Config via Env | |
|---|---|
| MPD_HOST | Hostname of mpd (defaults to mpd) |
| MPD_PORT | Port for mpd (defaults to 6600) |
| QUEUE_BUFFER | Specify to keep a buffer of n songs queued after the currently playing song. This is to support MPD features like crossfade that don't work if there are no more songs in the queue. (defaults to 10) |
FROM alpine
RUN apk -q update \
&& apk -q --no-progress add curl \
&& apk -q --no-progress add cmake \
&& apk -q --no-progress add libmpdclient \
&& apk -q --no-progress add gcc \
&& apk -q --no-progress add g++ \
&& apk -q --no-progress add libmpdclient-dev \
&& apk -q --no-progress add make \
&& apk -q --no-progress add git
ARG git_tag=v1.1.2
RUN git clone https://github.com/joshkunz/ashuffle --branch=${git_tag}
WORKDIR ashuffle
RUN make \
&& make install
RUN apk -q --no-progress del curl cmake gcc g++ libmpdclient-dev curl make git\
&& rm -rf /var/cache/apk/*
ENV QUEUE_BUFFER=10
ENV MPD_HOST=mpd
ENV MPD_PORT=6600
CMD ashuffle --queue_buffer $QUEUE_BUFFER
Content type
Image
Digest
Size
73.7 MB
Last updated
over 7 years ago
docker pull hradio/ashuffle