diff options
author | TheTroll <trolldev@gmail.com> | 2010-03-29 13:13:13 +0200 |
---|---|---|
committer | TheTroll <trolldev@gmail.com> | 2010-03-29 13:13:13 +0200 |
commit | 9b4870ed3581b5469ae06e4900bd1de0b96353d0 (patch) | |
tree | 224ed5fa34a152bf9285e699a40ffb1bc11825b7 /bin/files.php | |
parent | 89962dd7b02d576e8ca9fb3e948031489cb7c868 (diff) | |
download | istreamdev-9b4870ed3581b5469ae06e4900bd1de0b96353d0.tar.gz istreamdev-9b4870ed3581b5469ae06e4900bd1de0b96353d0.tar.bz2 |
Forcing to 2 the number of audio channels
Diffstat (limited to 'bin/files.php')
-rwxr-xr-x | bin/files.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/bin/files.php b/bin/files.php index 5224096..0674ff1 100755 --- a/bin/files.php +++ b/bin/files.php @@ -152,14 +152,18 @@ function generatelogo($type, $name, $dest) $logopath = "../logos/" .$channoslash .".png"; if (!file_exists($logopath)) $logopath = "../logos/nologoTV.png"; - exec("cp \"" .$logopath ."\" " .$dest); + $cmd = "cp \"" .$logopath ."\" " .$dest; + addlog("Executing generation cmd: " .$cmd); + exec($cmd); break; case 'rec': $channoslash = preg_replace("$/$", " ", $name); $logopath = "../logos/" .$channoslash .".png"; if (!file_exists($logopath)) $logopath = "../logos/nologoREC.png"; - exec("cp \"" .$logopath ."\" " .$dest); + $cmd = "cp \"" .$logopath ."\" " .$dest; + addlog("Executing generation cmd: " .$cmd); + exec($cmd); break; case 'vid': // Generate TB |