diff options
Diffstat (limited to 'iceplex.conf')
| -rw-r--r-- | iceplex.conf | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/iceplex.conf b/iceplex.conf new file mode 100644 index 0000000..9018c84 --- /dev/null +++ b/iceplex.conf @@ -0,0 +1,47 @@ +# iceplex configuration file - /etc/iceplex.conf + +### +# normal configuration +### + +#database connection info +$dsn = 'DBI:mysql:imedia'; +$user = 'imedia'; +$pass = 'imedia'; + +#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', +); + + |
