我正在使用 ubuntu 服务器 11.10,我已经安装了 forked-daapd,这是它的配置文件:
general {
# Username
uid = "musica"
logfile = "/var/log/forked-daapd.log"
# Database location
db_path = "/var/cache/forked-daapd/songs3.db"
# Available levels: fatal, log, warning, info, debug, spam
loglevel = spam
# Admin password for the non-existent web interface
admin_password = "unused"
# Enable/disable IPv6
ipv6 = no
}
# Library configuration
library {
# Name of the library as displayed by the clients
# %h: hostname, %v: version
name = "Musica %h"
# TCP port to listen on. Default port is 3689 (daap)
port = 3689
# Password for the library. Optional.
# password = ""
# Directories to index
directories = { "/media/musica/" }
# Directories containing compilations
# Matches anywhere in the path (not a regexp, though)
# compilations = { "/compilations/" }
# Should iTunes metadata override ours?
# itunes_overrides = true
# Formats: mp4a, mp4v, mpeg, alac, flac, mpc, ogg, wma, wmal, wmav, aif, wav
# Formats that should never be transcoded
# no_transcode = { "alac", "mp4a" }
# Formats that should always be transcoded
force_transcode = { "ogg", "flac" }
}
# Local audio output
audio {
# AirTunes name - used in the speaker list in Remote
nickname = "Computer"
# Audio device name for local audio output
# card = "default"
# Mixer channel to use for volume control - ALSA/Linux only
# If not set, PCM will be used if available, otherwise Master.
# mixer = ""
}
# Airport Express device
#apex "ApEx" {
# AirTunes password
# password = "s1kr3t"
#}
当我启动 forked-daapd 时,输出如下:
root@petra:/media/video# service forked-daapd restart
Restarting RSP and DAAP media server: main: Forked Media Server Version
0.19 taking off main: Initialized with gcrypt 1.5.0
forked-daapd.
这是日志文件:
[2012-01-03 17:18:29] main: Forked Media Server Version 0.19 taking off
[2012-01-03 17:18:29] main: Initialized with gcrypt 1.5.0
[2012-01-03 17:18:29] main: PID: 12319
[2012-01-03 17:18:29] main: mDNS init
[2012-01-03 17:18:29] mdns: Initializing Avahi mDNS
问题是 banshee 和 rhythmbox 看不到 daap 服务器,如果我手动添加 daap 共享,什么也不会发生!
我能做什么?我已经更改了日志级别 = spam,但 forked-daapd 没有在日志文件中显示任何其他信息