in artistlist, show "[%d more...]" (like in albums_row in alllist)
[soepkiptng.git] / soepkiptng.conf.example
blob5f2f01c8a203eeaa81eed198b671ba93635f4604
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=cdrplay -D /dev/dsp -wb2000
20 min_random_time=286400
22 # probability that a recently added song will be played
23 # (note: these songs are still subject to 'min_random_time')
24 recent_prob=0.25
25 # a recently added song is one that was added at most this number of days ago
26 recent_age=7
28 # ancient technology support (CD discs)
29 cdda_prog=soepkiptng_cdda
30 #cdda_prog=rsh othermachine soepkiptng_cdda -d /dev/scd1
32 ####### add_songs ###########################################################
34 mp3dirs=/disk1/mp3
35         /disk2/mp3
37 jingledir=/tmp/jingle
38         
39 description_files=/home/eric/albums/albums /home/eric/albums/albums.new
41 ####### web interface #######################################################
43 httpd_errfile=/var/local/soepkiptng/soepkiptng_httpd.err
44 httpd_port=8888
45 httpd_instances=5
46 httpd_lifetime=100
48 artistlistcmd=artistlist
49 #artistlistcmd=alllist
51 # show which user requested which song
52 show_user=1
54 # use greyed-out buttons (doesn't work with old netscape)
55 disabled_buttons=1
57 # if the albumlist above a songlist exceeds this #chars,
58 # the longest entries are cut off and something like "[10 more...]" is shown
59 albumlist_length_threshold=500
61 # limit #entries in alllist
62 alllist_limit=500
64 # show song info in browser's title bar (IE/Opera only)
65 title_song=1
67 # use _blank for new window (comment out for bottom frame)
68 edit_target=_blank
70 # global enable/disable of "Delete Song" button
71 allow_delete=0
73 # perl func that determines if write access to database should be allowed
74 # FIXME
75 #write_access_func=
76 #       my $r = Apache->request;
77 #       my $c = $r->connection;
78 #       my $ip = $c->remote_ip;
79 #       $ip eq "127.0.0.1";
82 topwindow_title=
83 #topwindow_title=
84 #       <font size=+2>Titeltje</font><Br>
85 title=SoepkipTNG
86 frameheights=40%,*
87 framewidths=25%,25%,*
88 marginheight=2
89 #body=bgcolor="#ffffcc" vlink="#000000" link="#000000"
90 body=bgcolor="#e0f4ff" vlink="#000000" link="#000000"
91 refreshtime=120
92 refreshtime_kill=2
94 bframe_start=
95  <body bgcolor="#8cc4f7">
96   <center>
97    <img src="soepkiptng.gif">
98   </center>
99  </body>
101 th_left   = bgcolor="#cce8ff"
102 td_left   = bgcolor="#cce8ff"
103 th_artist = bgcolor="#cce8ff"
104 td_artist =
105 th_album  = bgcolor="#cce8ff"
106 td_album  = bgcolor="#cce8ff"
107 th_track  = bgcolor="#cce8ff"
108 td_track  = 
109 th_song   = bgcolor="#cce8ff"
110 td_song   = bgcolor="#cce8ff"
111 th_time   = bgcolor="#cce8ff" id=t
112 td_time   = id=t
113 th_enc    = bgcolor="#cce8ff"
114 td_enc    = bgcolor="#cce8ff"
115 th_edit   = 
116 td_edit   = 
118 addtext=add
119 addalltext=add&nbsp;all
120 deltext=del
121 delalltext=del&nbsp;all
122 uptext=up
124 killtext=kill
126 plstyle=
127  #search { color: black;  }
128  #a      { color: blue; }
129  #az     { vertical-align: baseline; white-space: nowrap;
130            color: blue;
131          }
132  TH      { text-align: left; vertical-align: top;
133            color: black; font-style: bold; font-family: serif; }
134  TD      { text-align: left; vertical-align: top;
135            color: black; font-family: serif; }
136  #t      { text-align: right; vertical-align: top;
137            color: black; font-family: serif; }
139 artiststyle=
140  #hdr    { font-family: serif; font-size: large }
141  body    { color: black; font-family: serif; }
142  #a      { color: blue;}
143  TH      { text-align: left; vertical-align: top;
144            color: black; font-style: bold; font-family: serif; }
145  TD      { text-align: left; vertical-align: top;
146            color: black; font-family: serif; }
147  CAPTION { font-family: serif; font-size: large }
149 allstyle=
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  #t      { text-align: right; vertical-align: top;
158            color: black; font-family: serif; }
159  CAPTION { font-family: serif; font-size: large }
161 editstyle=
162  body    { color: black; font-family: serif; }
163  TH      { font-family: serif; }
164  TD      { font-family: serif; }
165  CAPTION { font-family: serif; font-size: large }
167 #searchformstyle=font-size: 50%; width: 40px; height: 18px
168 #searchformstyle=font-size: 50%; height: 18px
169 searchformstyle=
170 searchformsize=15