commiting recent changes
[iceplex.git] / iceplex.conf
1 # iceplex configuration file - /etc/iceplex.conf
2
3 ###
4 # normal configuration
5 ###
6
7 #database connection info
8 $dsn = 'DBI:mysql:imedia';
9 $user = 'ivan';
10 $pass = '';
11
12 #path to mp3 files on icecast servers
13 $mp3path = '/home/ivan/plexmp3';
14
15 #icecast port number
16 $port = 8000;
17
18 #(optional) file number override query
19 # the first ? is replaced with the customer and second ? with the user
20 #
21 #$override_query = "SELECT filenumber FROM overrides ".
22 #                  "WHERE customer = ? AND user = ?";
23
24 #normal file number query
25 # (used if the override query is not specified or does not return a value)
26 # the first ? is replaced with the customer and second ? with the user
27 #
28 #$fileno_query = "SELECT MAX(filenumber) FROM files ".
29 #                "WHERE customer = ? AND user = ?";
30
31 #(if the normal query is not specified, file number defaults to '000')
32
33 ###
34 # advanced options
35 ###
36
37 #install fsh on both ends and uncomment this for better stream start latency
38 #$Net::SSH::ssh = 'fsh';
39
40 #mime types
41 %extension2type = (
42   'pls' => 'audio/x-scpls',
43   'm3u' => 'audio/x-mpegurl',
44   #'m3u' => 'audio/mpegurl',
45 );
46
47