-
Notifications
You must be signed in to change notification settings - Fork 1
/
configuration-dist.php
61 lines (49 loc) · 1.88 KB
/
configuration-dist.php
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
50
51
52
53
54
55
56
57
58
59
60
61
<?php
define('RDIO_CLIENT_ID', '');
define('RDIO_CLIENT_SECRET', '');
define('RDIO_CLIENT_REDIRECT_URI', '');
class Config {
var $sitename = "rrrrradio";
var $app_domain = "rrrrradio.com";
var $app_dir = "/";
var $rdio_callback_url = "";
var $rdio_oembed_url = "http://www.rdio.com/api/oembed/";
var $rdio_activeplaylist_url = "http://rd.io/x/QVvMyzNeAas";
var $rdio_collection_userkey = "<rdiouserkey>";
var $admin_email = "[email protected]";
var $lastfm_conskey = "";
var $lastfm_conssec = "";
var $lastfm_api_url = "http://ws.audioscrobbler.com/2.0/";
var $db_host = "localhost";
var $db_username = "";
var $db_password = "";
var $db_database = "";
var $song_buffer = 3;
var $theme = "cramppbo";
var $affiliate_link_subscribe = "http://click.linksynergy.com/fs-bin/click?id=Y5hfCBRENkU&offerid=221756&type=3&subid=0";
var $affiliate_link_prefix = "http://click.linksynergy.com/fs-bin/click?id=Y5hfCBRENkU&subid=&offerid=221756.1&type=10&tmpid=7950&RD_PARM1=";
var $ga_tag = "";
var $free_if_queue_less_than = 7;
var $requests_per_hour = 5;
var $requests_per_artist_per_hour = 3;
var $requests_per_album_per_hour = 2;
// HOURS BEFORE REPEATING RANDOMLY QUEUED TRACKS
var $random_rotation = 5;
// MAXIMUM LENGTH (IN SECONDS) FOR RANDOMLY QUEUED TRACKS
var $random_max_length = 300;
// NUMBER OF REQUESTS REQUIRED TO BOOST A LONGER TRACK INTO RANDOM ROTATION
var $random_requests_required = 4;
var $autoplay = true;
var $previews = false;
var $refresh_interval = 15;
var $debug = true;
var $smtp_host = "";
var $smtp_port = 465;
var $smtp_username = "";
var $smtp_password = "";
function __construct() {
$this->app_domain = $_SERVER['HTTP_HOST'];
$this->rdio_callback_url = "http://".$this->app_domain.$this->app_dir;
}
}
?>