This repository was archived by the owner on Dec 23, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathconfig.php
More file actions
49 lines (41 loc) · 2.29 KB
/
config.php
File metadata and controls
49 lines (41 loc) · 2.29 KB
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
48
49
<?php
//IceCast API Config
$config = array(
'icecast_server_hostname' => 'radio.example.com', //icecast2 server hostname or IP
'icecast_server_port' => 80,
'icecast_admin_username' => 'admin', //admin username
'icecast_admin_password' => 'hackme', //admin password
//unused
'icecast_listener_auth_header_title' => 'icecast-auth-user',
'icecast_listener_auth_header_value' => '1',
'icecast_listener_auth_header_reject_reason' => 'Rejected',
//If you have an event based mounts(e.g. for live broadcasting),
//you should configure fallback map below according to your icecast2 config file.
//Read the docs for more info.
'icecast_mount_fallback_map' => array('live' => 'nonstop', // from => to
'trance' => 'trance.nonstop',
'house' => 'house.nonstop'),
'playlist_logfile' => '/var/log/icecast2/playlist.log', // must be available for reading
'fix_non_utf8_encoding' => true, //if set to true, the system will try to convert all non-UTF characters into proper string.
'mp3_title_charset' => 'cp1251', //If you have any songs metadata which contains non-UTF symbols(like cyrillic titles, etc) set this to your local charset value (cp1251 for cyrillic).
'use_memcached' => false, // Enable memcached support: true | false
'use_db' => false, // Enable db support: true | false (unused atm)
'memcached' => array('host' => '127.0.0.1',
'port' => 11211,
'lifetime' => 5, // lifetime of the cache in seconds
'compressed' => 0), // compress data stored with memcached? 1 or 0. Requires zlib.
'db' => array('host' => '127.0.0.1',
'port' => 3306,
'user' => 'dbuser',
'password' => 'dbpassword'),
'max_amount_of_history' => '20', // max limit of requested items of playback history
'xmlrootnode' => 'response', // Root node name for the response using XML.
'album_art_folder' => getcwd().'/storage/albums/', // cache folder for albums art images. With trailing slash. Normally, u shouldnt change this.
'artist_art_folder' => getcwd().'/storage/artists/',
'gracenote' => array('clientID' => '',
'clientTag' => '',
'userID' => '',
),
'default_storage_folder' => getcwd().'/storage/default/',
);
?>