summaryrefslogtreecommitdiff
path: root/iceplex.conf
blob: a80ceab79ebaceef39966ac1b7a6c0b973a0286b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# 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',
);