aboutsummaryrefslogtreecommitdiff
path: root/lib/config.php
blob: c5bed0ca7deccc37cf61edb2101182529e763bd4 (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
<?php
date_default_timezone_set('Europe/Berlin');

// guessed automatically
// $GLOBALS['CONFIG']['baseurl'] = 'http://foo.com/bar/';

$GLOBALS['CONFIG']['SCHEDULE'] = 'http://fahrplan.mrmcd.net/schedule.xml';
$GLOBALS['CONFIG']['SCHEDULE_CACHE_TTL'] = 5;
$GLOBALS['CONFIG']['SCHEDULE_SCALE'] = 0.2; // float, px per second
$GLOBALS['CONFIG']['SCHEDULE_OFFSET'] = strtotime('2014-11-09T17:00:00+01:00') - strtotime('2014-09-05T17:00:00+02:00');


$GLOBALS['CONFIG']['ROOMS'] = array(
	'saal1' => 'Saal 1',
	'saal2' => 'Saal 2',
	'saalg' => 'Saal G',
	'saal6' => 'Saal 6',

	'lounge' => 'Lounge',
	'ambient' => 'Ambient',

	'sendezentrum' => 'Sendezentrum',
);

$GLOBALS['CONFIG']['FORMATS'] = array(
	'hd' => 'FullHD Video',
	'sd' => 'SD Video',
	'audio' => 'Audio',
	'slides' => 'Slide-Images',
);

$GLOBALS['CONFIG']['FORMAT_TEXT'] = array(
	'hd' =>   '1920x1080, h264+aac, 3 MBit/s',
	'sd' =>   '1024x576, h264+aac, 1 MBit/s',
	'webm' => '1024x576 vp8+vorbis in webm, 1 MBit/s',
	'mp3' =>  'MP3, 128 kBit/s',
	'opus' => 'Opus (RFC 6716), 96 kBit/s',
);

// various room-name nappings
$GLOBALS['CONFIG']['FAHRPLAN_ROOM_MAPPING'] = array(
	'Grossbaustelle BER' => 'saal1',
	'Tiefbaustelle S21' => 'saal2',
	'Hochbaustelle Elbphilharmonie' => 'saal6',
);