pkgsrc/audio/mt-daapd/files/mtdaapd.sh
adrianp e122ded917 mt-daapd is a program which acts as an iTunes (DAAP) server for Linux
and other POSIX unixes. It may eventually support Win32 as well.

Some random features that it supports:
Supports the Roku SoundBridge (query/browse/index support)
Supports periodic rescans of the database
Can advertise shoutcast streams
Supports password-protected shares
Is web-configurable and managable
Support dynamic playlists, like iTunes "Smart playlists"
Probably other things I've forgotten

All is not perfect, however. Currently, there are several drawbacks to it:
database is indexed by inode, so all music must be on one filesystem
browse by artist is slow on Roku, times out (with large databases ~10K songs)
Probably other things I've forgotten
2006-10-20 20:28:28 +00:00

18 lines
347 B
Bash

#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: mtdaapd.sh,v 1.1.1.1 2006/10/20 20:28:28 adrianp Exp $
#
# PROVIDE: mtdaapd
# REQUIRE: DAEMON LOGIN
. /etc/rc.subr
name="mtdaapd"
rcvar=$name
command="@PREFIX@/sbin/mt-daapd"
required_files="@PKG_SYSCONFDIR@/mt-daapd.conf"
command_args="</dev/null >/dev/null 2>&1 &"
load_rc_config $name
run_rc_command "$1"