summaryrefslogtreecommitdiff
path: root/audio/mserv/patches/patch-af
blob: 695db1f88900f446841854f792de7ddf8bf9c8f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
$NetBSD: patch-af,v 1.7 2003/09/03 19:55:28 abs Exp $

--- mserv/defconf.c.orig	2003-08-04 20:25:36.000000000 +0200
+++ mserv/defconf.c	2003-09-03 13:44:02.000000000 +0200
@@ -1,54 +1,53 @@
 #include "defines.h"
 
-const char defconf_file[] = "# Mserv configuration file for 0.33 and later\n\
-\n\
-# File locations, / at start is absolute, otherwise relative to mserv root\n\
-path_acl=acl\n\
-path_webacl=webacl\n\
-path_logfile=log\n\
-path_tracks=tracks\n\
-path_trackinfo=trackinfo\n\
-path_playout=player.out\n\
-path_idea=idea\n\
-path_mixer=/dev/mixer\n\
-path_language=" DATADIR "/english.lang\n\
-\n\
-# Define player invokation methods\n\
-# mservplay is our special wrapper, the first parameter is a 'nice' level\n\
-# play is part of sox\n\
-prog_mpg123=/usr/local/bin/mpg123 -b 1024\n\
-prog_freeamp=/usr/local/bin/freeamp -ui mpg123\n\
-prog_mservplay=/usr/local/bin/mservplay 0 mpg123 -b 1024\n\
-prog_play=/usr/local/bin/play\n\
-prog_ogg123=/usr/local/bin/ogg123\n\
-\n\
-# Set players for each file extension we want to support, unknown extensions\n\
-# are ignored by mserv\n\
-player_mp3=prog_mpg123\n\
-player_wav=prog_play\n\
-player_au=prog_play\n\
-player_ogg=prog_ogg\n\
-\n\
-# Set default random mode, either on or off.  You must still tell mserv to\n\
-# start playing (PLAY).\n\
-random=off\n\
-\n\
-# Set whether or not you would like play to start as soon as mserv has loaded.\n\
-play=off\n\
-\n\
-# Set default random factor, 0.5 is completely random, 0.6 is less random\n\
-# and takes into account your ratings, 0.4 plays your worst tunes. 0.99 max.\n\
-factor=0.60\n\
-\n\
-# Set default filter, leave blank for off.  Example: \"!classical\" to\n\
-# not play classical genre, or \"year>=1980&year<1990\" to only play\n\
-# 80's songs.\n\
-filter=\n\
-\n\
-# Set gap between songs, in seconds.  0 to start the next song as quick as\n\
-# possible.\n\
-gap=1\n\
-\n\
-";
+const char defconf_file[] = "# Mserv configuration file for 0.33 and later\n"
+"\n"
+"# File locations, / at start is absolute, otherwise relative to mserv root\n"
+"path_acl=acl\n"
+"path_webacl=webacl\n"
+"path_logfile=log\n"
+"path_tracks=tracks\n"
+"path_trackinfo=trackinfo\n"
+"path_playout=player.out\n"
+"path_idea=idea\n"
+"path_mixer=/dev/mixer\n"
+"path_language=" DATADIR "/english.lang\n"
+"\n"
+"# Define player invokation methods\n"
+"# mservplay is our special wrapper, the first parameter is a 'nice' level\n"
+"# play is part of sox\n"
+"prog_mpg123=" PATH_MPG123 " -b 1024\n"
+"prog_freeamp=/usr/local/bin/freeamp -ui " PATH_MPG123 "\n"
+"prog_mservplay=/usr/local/bin/mservplay 0 " PATH_MPG123 " -b 1024\n"
+"prog_play=/usr/local/bin/play\n"
+"prog_ogg123=/usr/local/bin/ogg123\n"
+"\n"
+"# Set players for each file extension we want to support, unknown extensions\n"
+"# are ignored by mserv\n"
+"player_mp3=prog_mpg123\n"
+"player_wav=prog_play\n"
+"player_au=prog_play\n"
+"player_ogg=prog_ogg123\n"
+"\n"
+"# Set default random mode, either on or off.  You must still tell mserv to\n"
+"# start playing (PLAY).\n"
+"random=off\n"
+"\n"
+"# Set whether or not you would like play to start as soon as mserv has loaded.\n"
+"play=off\n"
+"\n"
+"# Set default random factor, 0.5 is completely random, 0.6 is less random\n"
+"# and takes into account your ratings, 0.4 plays your worst tunes. 0.99 max.\n"
+"factor=0.60\n"
+"\n"
+"# Set default filter, leave blank for off.  Example: \"!classical\" to\n"
+"# not play classical genre, or \"year>=1980&year<1990\" to only play\n"
+"# 80's songs.\n"
+"filter=\n"
+"\n"
+"# Set gap between songs, in seconds.  0 to start the next song as quick as\n"
+"# possible.\n"
+"gap=1\n"
+"\n";
 
 unsigned int defconf_size = sizeof(defconf_file)-1;