pkgsrc/audio/mt-daapd/patches/patch-aa
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

49 lines
1,009 B
Text

$NetBSD: patch-aa,v 1.1.1.1 2006/10/20 20:28:28 adrianp Exp $
--- contrib/mt-daapd.conf.orig 2004-12-29 06:20:26.000000000 +0000
+++ contrib/mt-daapd.conf
@@ -23,7 +23,7 @@
# path is probably /usr/local/share/mt-daapd/admin-root.
#
-web_root /usr/share/mt-daapd/admin-root
+web_root @PREFIX@/share/mt-daapd/admin-root
#
# port (required)
@@ -51,7 +51,7 @@ admin_pw mt-daapd
# exists. If not, then YOU MUST CREATE THIS DIRECTORY!
#
-db_dir /var/cache/mt-daapd
+db_dir @VARBASE@/cache/mt-daapd
#
# mp3_dir (required)
@@ -83,7 +83,7 @@ servername mt-daapd
# as root or not.
#
-runas nobody
+runas @MTDAAPD_USER@
#
# playlist (optional)
@@ -98,7 +98,7 @@ runas nobody
# below.
#
-playlist /etc/mt-daapd.playlist
+playlist @PKG_SYSCONFDIR@/mt-daapd.playlist
#
# password (optional)
@@ -136,7 +136,7 @@ extensions .mp3,.m4a,.m4p
# will vary the amount of logging you get.
#
-#logfile /var/log/mt-daapd.log
+#logfile @VARBASE@/log/mt-daapd.log
#
# art_filename (optional)