# iceplex configuration file - /etc/iceplex.conf ### # normal configuration ### #database connection info $dsn = 'DBI:mysql:imedia'; $user = 'ivan'; $pass = ''; #path to mp3 files on icecast servers $mp3path = '/home/ivan/plexmp3'; #icecast port number $port = 8000; #(optional) file number override query # the first ? is replaced with the customer and second ? with the user # #$override_query = "SELECT filenumber FROM overrides ". # "WHERE customer = ? AND user = ?"; #normal file number query # (used if the override query is not specified or does not return a value) # the first ? is replaced with the customer and second ? with the user # #$fileno_query = "SELECT MAX(filenumber) FROM files ". # "WHERE customer = ? AND user = ?"; #(if the normal query is not specified, file number defaults to '000') ### # advanced options ### #install fsh on both ends and uncomment this for better stream start latency #$Net::SSH::ssh = 'fsh'; #mime types %extension2type = ( 'pls' => 'audio/x-scpls', 'm3u' => 'audio/x-mpegurl', #'m3u' => 'audio/mpegurl', );