-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.example.php
40 lines (28 loc) · 1.58 KB
/
config.example.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
<?php
namespace GBoudreau\HDHomeRun\Scheduler;
$CONFIG = new \stdClass;
// Text file that contains the recording schedules; if you specify a relative path, it should be relative to this config file
$CONFIG->SCHEDULES_FILE = './schedules.txt';
// IP address of your HDHomeRun device
// Find it on your router admin page. or using: `hdhomerun_config discover`
$CONFIG->HDHOMERUN_IP_ADDRESS = '192.168.0.100';
// Path that will be used to temporarily save recorded streams, until they end
// If not specified, then a .grab folder inside the save_to folder will be used
$CONFIG->TEMP_PATH = '/path/to/temp/folder';
// Path used when you don't specify a 'save to' row in a Record block
$CONFIG->DEFAULT_SAVE_TO_PATH = '/path/to/recordings/';
// Make sure the user running the script can create this file; if you specify a relative path, it should be relative to this config file
$CONFIG->LOG_FILE = './hdhomerun-plain-scheduler.log';
// If you have access to XMLTV data, we can use this to simplify scheduling new recordings on the web
// Look for zap2xml or mc2xml if you're unsure how to obtain XMLTV data for your region.
$CONFIG->XMLTV_FILE = '/path/to/epg/data/xmltv.xml';
// If defined, only keep a subset of the channels from the XMLTV data
//$CONFIG->XMLTV_CHANNELS = [2.1, 6.1, 10.1, 12.1, 15.1, 17.1, 29.1];
// Path to PHP binary
//$CONFIG->PHP_BIN = 'php';
// Current working directory (installation path)
//$CONFIG->CWD = dirname(__FILE__);
// Channel ID format, depends on XMLTV file
//$CONFIG->CHANNEL_FORMAT = "%.1f";
// If true, display categories filter
//$CONFIG->XMLTV_WITH_CATEGORIES = TRUE;