daemon that reads keystrokes from /dev/input/event* and acts on the "multimedia keys"
[soepkiptng.git] / soepkiptng.conf.example
blob01c1b1eeb00051ee941fea50dc94ad011d826ab4
1 # $Id$
3 ####### general ##############################################################
5 statusfile=/var/local/soepkiptng/soepkiptng.status
6 logfile=/var/local/soepkiptng/soepkiptng.log
7 errfile=/var/local/soepkiptng/soepkiptng.err
9 ####### database ############################################################
11 db_type=mysql
12 db_host=ally
13 db_name=soepkiptng
14 db_user=soepkiptng
15 db_pass=soepkiptng
17 ####### daemon ############################################################
19 playercmd=soepkiptng_play -b1000 -D/dev/dsp0
21 # don't select random songs that have been played within the last
22 # 'min_random_time' seconds (this time is adjusted automatically when
23 # all songs fail this test)
24 min_random_time=86400
26 # probability that a recently added song will be played
27 # (note: these songs are still subject to 'min_random_time')
28 recent_prob=0.25
29 # a recently added song is one that was added at most this number of days ago
30 recent_age=7
32 # ancient technology support (CD discs)
33 cdda_prog=soepkiptng_cdda
34 #cdda_prog=rsh othermachine soepkiptng_cdda -d /dev/scd1
36 ####### add_songs ###########################################################
38 mp3dirs=/disk1/mp3
39         /disk2/mp3
41 jingledir=/tmp/jingle
42         
43 description_files=/home/eric/albums/albums /home/eric/albums/albums.new
45 ####### web interface #######################################################
47 httpd_errfile=/var/local/soepkiptng/soepkiptng_httpd.err
48 httpd_port=8888
49 httpd_instances=5
50 httpd_lifetime=100
52 # http proxy for lyrics search
53 #http_proxy=http://proxy.example.com:8000/
54 #no_proxy=www.example.com
56 artistlistcmd=artistlist
57 #artistlistcmd=alllist
59 # show which user requested which song
60 show_user=1
62 # use greyed-out buttons (doesn't work with old netscape)
63 disabled_buttons=1
65 # if the albumlist above a songlist exceeds this #chars,
66 # the longest entries are cut off and something like "[10 more...]" is shown
67 albumlist_length_threshold=500
69 # limit #entries in alllist
70 alllist_limit=500
72 # show song info in browser's title bar (IE/Opera only)
73 title_song=1
75 # use _blank for new window (comment out for bottom frame)
76 edit_target=_blank
78 # global enable/disable of "Delete Song" button
79 allow_delete=0
81 # perl func that determines if write access to database should be allowed
82 # FIXME
83 #write_access_func=
84 #       my $r = Apache->request;
85 #       my $c = $r->connection;
86 #       my $ip = $c->remote_ip;
87 #       $ip eq "127.0.0.1";
90 topwindow_title=
91 #topwindow_title=
92 #       <font size=+2>Titeltje</font><Br>
93 title=SoepkipTNG
94 frameheights=40%,*
95 framewidths=25%,25%,*
96 marginheight=2
97 marginwidth=5
98 #body=bgcolor="#ffffcc" vlink="#000000" link="#000000"
99 body=bgcolor="#e0f4ff" vlink="#000000" link="#000000"
100 refreshtime=120
101 refreshtime_kill=2
103 bframe_start=
104  <body bgcolor="#8cc4f7">
105   <center>
106    <img src="soepkiptng.gif">
107   </center>
108  </body>
110 th_left   = bgcolor="#cce8ff"
111 td_left   = bgcolor="#cce8ff"
112 th_artist = bgcolor="#cce8ff"
113 td_artist =
114 th_album  = bgcolor="#cce8ff"
115 td_album  = bgcolor="#cce8ff"
116 th_track  = bgcolor="#cce8ff"
117 td_track  = 
118 th_song   = bgcolor="#cce8ff"
119 td_song   = bgcolor="#cce8ff"
120 th_time   = bgcolor="#cce8ff" id=t
121 td_time   = id=t
122 th_enc    = bgcolor="#cce8ff"
123 td_enc    = bgcolor="#cce8ff"
124 th_edit   = 
125 td_edit   = 
127 addtext=add
128 addalltext=add&nbsp;all
129 deltext=del
130 delalltext=del&nbsp;all
131 uptext=up
132 downtext=dn
134 killtext=kill
136 plstyle=
137  #search { color: black;  }
138  #a      { color: blue; }
139  #az     { vertical-align: baseline; white-space: nowrap;
140            color: blue;
141          }
142  TH      { text-align: left; vertical-align: top;
143            color: black; font-style: bold; font-family: serif; }
144  TD      { text-align: left; vertical-align: top;
145            color: black; font-family: serif; }
146  #t      { text-align: right; vertical-align: top;
147            color: black; font-family: serif; }
149 artiststyle=
150  #hdr    { font-family: serif; font-size: large }
151  body    { color: black; font-family: serif; }
152  #a      { color: blue;}
153  TH      { text-align: left; vertical-align: top;
154            color: black; font-style: bold; font-family: serif; }
155  TD      { text-align: left; vertical-align: top;
156            color: black; font-family: serif; }
157  CAPTION { font-family: serif; font-size: large }
159 allstyle=
160  #hdr    { font-family: serif; font-size: large }
161  body    { color: black; font-family: serif; }
162  #a      { color: blue; }
163  TH      { text-align: left; vertical-align: top;
164            color: black; font-style: bold; font-family: serif; }
165  TD      { text-align: left; vertical-align: top;
166            color: black; font-family: serif; }
167  #t      { text-align: right; vertical-align: top;
168            color: black; font-family: serif; }
169  CAPTION { font-family: serif; font-size: large }
171 editstyle=
172  body    { color: black; font-family: serif; }
173  TH      { font-family: serif; }
174  TD      { font-family: serif; }
175  CAPTION { font-family: serif; font-size: large }
177 #searchformstyle=font-size: 50%; width: 40px; height: 18px
178 #searchformstyle=font-size: 50%; height: 18px
179 searchformstyle=
180 searchformsize=15