#
# edna.conf -- configuration file for edna.py
#
# port=后面的内容是http的服务端口,默认8080
[server]
port = 8080
#设置点歌网页的显示模版目录和文件,网页的界面根据模版进行显示,默认为default.ezt
# template-dir = templates
# template = default.ezt
# 如果需要显示mp3文件的id3 tags, 使用 default_complex.ezt,取消掉#注释标记即可
# template = default_complex.ezt
# 显示关于mp3文件的相关信息,一般比较耗时,缺省禁止
# fileinfo=1
# 设置用户使用本机的哪个IP及域名进行访问,适用于多网卡、多域名的主机
# binding-hostname = dummy-host.example.com
# binding-hostname = 123.123.123.123
# 设置是否进行记录服务端信息,如果在标准输出(显示)上输出,只要标记-,否则给出
# 文件名,若不记录,则直接用#注释掉本行
log = -
#访问控制列表,允许哪些IP的机器访问,并且可以设置用户和密码
[acl]
#allow = host1, host2, host3/24, 123.123.123.123, 2.2.2.2/11
#auth = aUser1:aPass1, aUser2:aPass2
# 给目录层次小于auth_level的目录加上访问控制
# 0 Only check ’/’
# 1 Check all levels (default)
# auth_level=0
[sources]
#
# List each source directory (top of the tree). The lines should be of the
# form:
# dirNNN = DIRECTORY = DISPLAY_NAME
#
# WARNING: the DISPLAY-NAME part may *not* have a slash ("/") in it!
# WARNING: each DIRECTORY must exist when edna is started
#
# The NNN part will determine the sort order in the top-level listing.
#
# 设置服务端的音乐放置位置(windows范例)
dir1 = E:\Amuse\MUSIC = MP3s
#dir2 = f:\bobsmp3 = Bob
#dir3 = g:\MP3’s = Bob CD
# 设置服务端的音乐放置位置(Unix范例)
#dir1 = /mnt/cdrom = MP3 CDROM
#dir2 = /mp3/all-albums = Jukebox
[extra]
# 可选选项
#
# You don’t need to change this, but maybe you need more output or want to enable some special features
# 如果需要更多本程序的调试信息,设置为1
debug_level = 0
# 给上传时间少于days_new的音乐文件标注最新
days_new = 30