summaryrefslogtreecommitdiff
path: root/config.php
diff options
context:
space:
mode:
Diffstat (limited to 'config.php')
-rwxr-xr-xconfig.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/config.php b/config.php
index 5a63032..d479ba4 100755
--- a/config.php
+++ b/config.php
@@ -1,5 +1,6 @@
<?php
- global $user, $pass, $vdrchannels, $vdrstreamdev, $quality, $httppath, $svdrpip, $svdrpport, $ffmpegpath;
+ global $user, $pass, $vdrchannels, $vdrstreamdev, $quality, $httppath;
+ global $svdrpip, $svdrpport, $ffmpegpath, $videotypes, $audiotypes, $mediainfopath;
// Http configuration
$user = 'istreamdev'; // Login
@@ -14,7 +15,10 @@
$vdrrecpath='/video/';
// Media configuration
+ $mediainfopath='/usr/bin/mediainfo';
$mediapath='/mnt/Storage/';
+ $videotypes='avi mkv ts mov mp4 wmv flv mpg mpeg mpeg2 mpv';
+ $audiotypes='mp3 wav aac flac';
// Encoding
// Name Video Audio Audio channels Resolution
@@ -22,6 +26,8 @@
'3g' => '350k 64k 1 408x272',
'Wifi' => '512k 128k 2 480x320'
);
+
+ // Misc
$ffmpegpath = '/usr/bin/ffmpeg';
// Version