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