summaryrefslogtreecommitdiff
path: root/audio/mt-daapd/files
diff options
context:
space:
mode:
authoradrianp <adrianp>2006-10-20 20:28:28 +0000
committeradrianp <adrianp>2006-10-20 20:28:28 +0000
commitb06beaaf1fcac9de1f906336da4a54b447901111 (patch)
tree5bf1967de106fed6446f0abcd74b85478899a300 /audio/mt-daapd/files
parentf6d528c1083cce982d9399a03cb139749d6eb6eb (diff)
downloadpkgsrc-b06beaaf1fcac9de1f906336da4a54b447901111.tar.gz
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
Diffstat (limited to 'audio/mt-daapd/files')
-rw-r--r--audio/mt-daapd/files/mtdaapd.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/audio/mt-daapd/files/mtdaapd.sh b/audio/mt-daapd/files/mtdaapd.sh
new file mode 100644
index 00000000000..4cf618b1285
--- /dev/null
+++ b/audio/mt-daapd/files/mtdaapd.sh
@@ -0,0 +1,18 @@
+#!@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"