fix .ogg info update
[soepkiptng.git] / soepkiptng.conf.example
blob6dd47b857a159b32ebedb9da9460f59f8a7df03c
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 # automatically try to download lyrics from www.purelyrics.com and
82 # www.lyricsdomain.com (can be slow)
83 auto_download_lyrics=0
85 # perl func that determines if write access to database should be allowed
86 # FIXME
87 #write_access_func=
88 #       my $r = Apache->request;
89 #       my $c = $r->connection;
90 #       my $ip = $c->remote_ip;
91 #       $ip eq "127.0.0.1";
94 topwindow_title=
95 #topwindow_title=
96 #       <font size=+2>Titeltje</font><Br>
97 title=SoepkipTNG
98 frameheights=40%,*
99 framewidths=25%,25%,*
100 marginheight=2
101 marginwidth=5
102 #body=bgcolor="#ffffcc" vlink="#000000" link="#000000"
103 body=bgcolor="#e0f4ff" vlink="#000000" link="#000000"
104 refreshtime=120
105 refreshtime_kill=2
107 bframe_start=
108  <body bgcolor="#8cc4f7">
109   <center>
110    <img src="soepkiptng.gif">
111   </center>
112  </body>
114 th_left   = bgcolor="#cce8ff"
115 td_left   = bgcolor="#cce8ff"
116 th_artist = bgcolor="#cce8ff"
117 td_artist =
118 th_album  = bgcolor="#cce8ff"
119 td_album  = bgcolor="#cce8ff"
120 th_track  = bgcolor="#cce8ff"
121 td_track  = 
122 th_song   = bgcolor="#cce8ff"
123 td_song   = bgcolor="#cce8ff"
124 th_time   = bgcolor="#cce8ff" id=t
125 td_time   = id=t
126 th_enc    = bgcolor="#cce8ff"
127 td_enc    = bgcolor="#cce8ff"
128 th_edit   = 
129 td_edit   = 
131 addtext=add
132 addalltext=add&nbsp;all
133 deltext=del
134 delalltext=del&nbsp;all
135 uptext=up
136 downtext=dn
138 killtext=kill
140 plstyle=
141  #search { color: black;  }
142  #a      { color: blue; }
143  #az     { vertical-align: baseline; white-space: nowrap;
144            color: blue;
145          }
146  TH      { text-align: left; vertical-align: top;
147            color: black; font-style: bold; font-family: serif; }
148  TD      { text-align: left; vertical-align: top;
149            color: black; font-family: serif; }
150  #t      { text-align: right; vertical-align: top;
151            color: black; font-family: serif; }
153 artiststyle=
154  #hdr    { font-family: serif; font-size: large }
155  body    { color: black; font-family: serif; }
156  #a      { color: blue;}
157  TH      { text-align: left; vertical-align: top;
158            color: black; font-style: bold; font-family: serif; }
159  TD      { text-align: left; vertical-align: top;
160            color: black; font-family: serif; }
161  CAPTION { font-family: serif; font-size: large }
163 allstyle=
164  #hdr    { font-family: serif; font-size: large }
165  body    { color: black; font-family: serif; }
166  #a      { color: blue; }
167  TH      { text-align: left; vertical-align: top;
168            color: black; font-style: bold; font-family: serif; }
169  TD      { text-align: left; vertical-align: top;
170            color: black; font-family: serif; }
171  #t      { text-align: right; vertical-align: top;
172            color: black; font-family: serif; }
173  CAPTION { font-family: serif; font-size: large }
175 editstyle=
176  body    { color: black; font-family: serif; }
177  TH      { font-family: serif; }
178  TD      { font-family: serif; }
179  CAPTION { font-family: serif; font-size: large }
181 #searchformstyle=font-size: 50%; width: 40px; height: 18px
182 #searchformstyle=font-size: 50%; height: 18px
183 searchformstyle=
184 searchformsize=15