mirror of
https://github.com/linuxserver/docker-daapd.git
synced 2026-02-11 13:00:10 +08:00
Merge pull request #6 from sparklyballs/master
Add chromecast support, new readme style, bump dependencies.
This commit is contained in:
commit
9d2d616a1b
15
Dockerfile
15
Dockerfile
@ -2,14 +2,16 @@ FROM linuxserver/baseimage
|
||||
MAINTAINER sparklyballs <sparklyballs@linuxserver.io>
|
||||
|
||||
ENV APTLIST="avahi-daemon libavahi-client3 libav-tools libantlr3c-3.2-0 \
|
||||
libconfuse0 libgcrypt20 libmp3lame0 libmxml1 libplist1 libunistring0"
|
||||
libconfuse0 libgcrypt20 libgnutls28 libjson0 libmp3lame0 libprotobuf-c0 \
|
||||
libmxml1 libplist1 libunistring0"
|
||||
|
||||
ENV BUILD_APTLIST="antlr3 autoconf autotools-dev build-essential cmake gawk gettext git-core gperf libasound2-dev libantlr3c-dev \
|
||||
libavahi-client-dev libavcodec-dev libavfilter-dev libavformat-dev libavutil-dev libconfuse-dev \
|
||||
libgcrypt11-dev libplist-dev libtool libunistring-dev libswscale-dev libmxml-dev zlib1g-dev"
|
||||
ENV BUILD_APTLIST="antlr3 autoconf autotools-dev automake build-essential cmake gawk gettext git-core gperf \
|
||||
libasound2-dev libantlr3c-dev libavahi-client-dev libavcodec-dev libavfilter-dev libavformat-dev \
|
||||
libavutil-dev libconfuse-dev libgcrypt11-dev libgnutls28-dev libjson0-dev libplist-dev libprotobuf-c0-dev \
|
||||
libreadline-dev libtool libunistring-dev libswscale-dev libmxml-dev zlib1g-dev"
|
||||
|
||||
# set source versions
|
||||
ENV CURL_VER="7.45.0" LIBEVENT_VER="2.1.5-beta" TAGLIB_VER="1.9.1" SQLITE_VER="autoconf-3090200"
|
||||
ENV CURL_VER="7.47.1" LIBEVENT_VER="2.1.5-beta" TAGLIB_VER="1.9.1" SQLITE_VER="autoconf-3110000"
|
||||
|
||||
# add excludes file
|
||||
ADD defaults/excludes /etc/dpkg/dpkg.cfg.d/excludes
|
||||
@ -24,7 +26,7 @@ mkdir -p /tmp/curl /tmp/taglib /tmp/libevent /tmp/sqlite /tmp/spotify && \
|
||||
curl -o /tmp/curl.tar.gz -L http://curl.haxx.se/download/curl-$CURL_VER.tar.gz && \
|
||||
curl -o /tmp/taglib.tar.gz -L http://taglib.github.io/releases/taglib-$TAGLIB_VER.tar.gz && \
|
||||
curl -o /tmp/libevent.tar.gz -L https://qa.debian.org/watch/sf.php/levent/libevent-$LIBEVENT_VER.tar.gz && \
|
||||
curl -o /tmp/sqlite.tar.gz -L https://www.sqlite.org/2015/sqlite-$SQLITE_VER.tar.gz && \
|
||||
curl -o /tmp/sqlite.tar.gz -L https://www.sqlite.org/2016/sqlite-$SQLITE_VER.tar.gz && \
|
||||
curl -o /tmp/spotify_tar.gz -L https://developer.spotify.com/download/libspotify/libspotify-12.1.51-Linux-x86_64-release.tar.gz && \
|
||||
tar xvf /tmp/curl.tar.gz -C /tmp/curl --strip-components=1 && \
|
||||
tar xvf /tmp/taglib.tar.gz -C /tmp/taglib --strip-components=1 && \
|
||||
@ -75,6 +77,7 @@ autoreconf -i && \
|
||||
--enable-mpd \
|
||||
--enable-lastfm \
|
||||
--enable-spotify \
|
||||
--enable-chromecast \
|
||||
--prefix=/app \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var && \
|
||||
|
||||
32
README.md
32
README.md
@ -1,21 +1,27 @@
|
||||

|
||||
|
||||
The [LinuxServer.io](https://www.linuxserver.io/) team brings you another quality container, easy user mapping and community support. Be sure to checkout our [forums](https://forum.linuxserver.io/index.php) or for real-time support our [IRC](https://www.linuxserver.io/index.php/irc/) on freenode at `#linuxserver.io`.
|
||||
The [LinuxServer.io](https://linuxserver.io) team brings you another container release featuring easy user mapping and community support. Find us for support at:
|
||||
* [forum.linuxserver.io](https://forum.linuxserver.io)
|
||||
* [IRC](https://www.linuxserver.io/index.php/irc/) on freenode at `#linuxserver.io`
|
||||
* [Podcast](https://www.linuxserver.io/index.php/category/podcast/) covers everything to do with getting the most from your Linux Server plus a focus on all things Docker and containerisation!
|
||||
|
||||
# lsiodev/daapd
|
||||
DAAP (iTunes) media server with support for AirPlay devices, Apple Remote (and compatibles), MPD and internet radio. [Forked-daapd](https://ejurgensen.github.io/forked-daapd/)
|
||||

|
||||
|
||||
DAAP (iTunes) media server with support for AirPlay devices, Apple Remote (and compatibles), Spotify, Chromecast, MPD and internet radio. [Forked-daapd](https://ejurgensen.github.io/forked-daapd/)
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```
|
||||
docker create --name=daapd -v /etc/localtime:/etc/localtime:ro -v <path to data>:/config -v <path to music>:/music -e PGID=<gid> -e PUID=<uid> --net=host lsiodev/daapd
|
||||
docker create --name=daapd -v <path to data>:/config \
|
||||
-v <path to music>:/music -e PGID=<gid> -e PUID=<uid> \
|
||||
--net=host lsiodev/daapd
|
||||
```
|
||||
|
||||
**Parameters**
|
||||
|
||||
* `--net=host` - must be run in host mode
|
||||
* `-v /etc/localtime` for timesync - *optional*
|
||||
* `-v /config` - Where daapd server stores its config and dbase files.
|
||||
* `-v /music` - map to your music folder
|
||||
* `-e PGID` for GroupID - see below for explanation
|
||||
@ -25,23 +31,27 @@ It is based on phusion-baseimage with ssh removed, for shell access whilst the c
|
||||
|
||||
### User / Group Identifiers
|
||||
|
||||
**TL;DR** - The `PGID` and `PUID` values set the user / group you'd like your container to 'run as' to the host OS. This can be a user you've created or even root (not recommended).
|
||||
Sometimes when using data volumes (`-v` flags) permissions issues can arise between the host OS and the container. We avoid this issue by allowing you to specify the user `PUID` and group `PGID`. Ensure the data volume directory on the host is owned by the same user you specify and it will "just work" ™.
|
||||
|
||||
Part of what makes our containers work so well is by allowing you to specify your own `PUID` and `PGID`. This avoids nasty permissions errors with relation to data volumes (`-v` flags). When an application is installed on the host OS it is normally added to the common group called users, Docker apps due to the nature of the technology can't be added to this group. So we added this feature to let you easily choose when running your containers.
|
||||
In this instance `PUID=1001` and `PGID=1001`. To find yours use `id user` as below:
|
||||
|
||||
```
|
||||
$ id <dockeruser>
|
||||
uid=1001(dockeruser) gid=1001(dockergroup) groups=1001(dockergroup)
|
||||
```
|
||||
|
||||
## Setting up the application
|
||||
|
||||
Map your music folder, open up itunes on the same LAN to see your music there.
|
||||
For further setup options of remotes etc, check out the daapd website, link above.
|
||||
|
||||
|
||||
## Logs
|
||||
For further setup options of remotes etc, check out the daapd website, [Forked-daapd](https://ejurgensen.github.io/forked-daapd/).
|
||||
|
||||
## Logs and shell
|
||||
* To monitor the logs of the container in realtime `docker logs -f daapd`.
|
||||
|
||||
* Shell access whilst the container is running: `docker exec -it daapd /bin/bash`
|
||||
|
||||
|
||||
## Versions
|
||||
+ **28.02.2016:** Add chromecast support, bump dependency versions.
|
||||
+ **04.01.2016:** Disable ipv6 by default because in v23.4 it doesn't work in unraid with it set.
|
||||
+ **17.12.2015:** Add in spotify support.
|
||||
+ **25.11.2015:** Initial Release.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user