1 # iceplex configuration file - /etc/iceplex.conf
7 #database connection info
8 $dsn = 'DBI:mysql:imedia';
12 #path to mp3 files on icecast servers
13 $mp3path = '/home/ivan/plexmp3';
18 #(optional) file number override query
19 # the first ? is replaced with the customer and second ? with the user
21 #$override_query = "SELECT filenumber FROM overrides ".
22 # "WHERE customer = ? AND user = ?";
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
28 #$fileno_query = "SELECT MAX(filenumber) FROM files ".
29 # "WHERE customer = ? AND user = ?";
31 #(if the normal query is not specified, file number defaults to '000')
37 #install fsh on both ends and uncomment this for better stream start latency
38 #$Net::SSH::ssh = 'fsh';
42 'pls' => 'audio/x-scpls',
43 'm3u' => 'audio/x-mpegurl',
44 #'m3u' => 'audio/mpegurl',