Linux에서 iTunes media server 기능을 제공하는 패키지로,

mt-daapd (Firefly media server)와 forked-daapd가 있다.

최신 우분투 배포판에는 forked-daapd를 패키지로 제공한다.


ODROID-X에 forked-daapd를 설치해보자.

ODROID-X는 armhf 빌드 패키지를 사용한다.

우분투 repository 에 armhf용 빌드 패키지는 검색이 안된다.

(http://packages.ubuntu.com/precise/forked-daapd)

launchpad.net에서 패키지를 구함.

(https://launchpad.net/ubuntu/precise/armhf/forked-daapd/0.19-1ubuntu1)

링크에 필요한 패키지들이 나열되어 있다.


필요한 패키지들을 설치하지 않으면, 설치시 의존성 에러가 발생한다. (내 ODROID-X 경우...)

$ sudo dpkg -i forked-daapd_0.19-1ubuntu1_armhf.deb

Selecting previously unselected package forked-daapd.

(Reading database ... 180188 files and directories currently installed.)

Unpacking forked-daapd (from forked-daapd_0.19-1ubuntu1_armhf.deb) ...

dpkg: dependency problems prevent configuration of forked-daapd:

forked-daapd depends on libantlr3c-3.2-0 | libantlr3c-antlrdbg-3.2-0; however:

  Package libantlr3c-3.2-0 is not installed.

  Package libantlr3c-antlrdbg-3.2-0 is not installed.

forked-daapd depends on libavl1; however:

  Package libavl1 is not installed.

forked-daapd depends on libconfuse0 (>= 2.5); however:

  Package libconfuse0 is not installed.

forked-daapd depends on libevent-core-1.4-2 (>= 1.4.14b-stable); however:

  Package libevent-core-1.4-2 is not installed.

forked-daapd depends on libmxml1; however:

  Package libmxml1 is not installed.

forked-daapd depends on libtagc0 (>= 1.5); however:

  Package libtagc0 is not installed.

forked-daapd depends on libunistring0; however:

  Package libunistring0 is not installed.

dpkg: error processing forked-daapd (--install):

dependency problems - leaving unconfigured

Processing triggers for ureadahead ...

Processing triggers for man-db ...

locale: Cannot set LC_ALL to default locale: No such file or directory

Errors were encountered while processing:

forked-daapd


설치 안된 패키지는 apt-get install로 설치...

$ sudo apt-get install libantlr3c-3.2-0 libavl1 libconfuse0 libevent-core-1.4-2 libmxml1 libtagc0 libunistring0


/etc/forked-daapd.conf 설정파일을 수정.
-- 생략 --
library {
        # Name of the library as displayed by the clients
        # %h: hostname, %v: version
        name = "My Music on %h"
        # TCP port to listen on. Default port is 3689 (daap)
        port = 3689
        # Password for the library. Optional.
        password = "XXXX" # 패스워드 설정

        # Directories to index
        directories = { "/home/data/mp3" } # 미디어 위치
-- 생략 --

안드로이드 DAAP 어플로 동작 확인



+ Recent posts