video-setup: don't overwrite manually configured transcoder (#224)
parent
f7749c6ba2
commit
6c74fdf340
|
@ -88,7 +88,9 @@ class VideoSetup extends Command
|
||||||
|
|
||||||
// Check go-vod binary
|
// Check go-vod binary
|
||||||
$output->writeln('Checking for go-vod binary');
|
$output->writeln('Checking for go-vod binary');
|
||||||
|
$goVodPath = $this->config->getSystemValue('memories.transcoder', false);
|
||||||
|
|
||||||
|
if (false === $goVodPath) {
|
||||||
// Detect architecture
|
// Detect architecture
|
||||||
$arch = \OCA\Memories\Util::getArch();
|
$arch = \OCA\Memories\Util::getArch();
|
||||||
|
|
||||||
|
@ -100,6 +102,8 @@ class VideoSetup extends Command
|
||||||
}
|
}
|
||||||
|
|
||||||
$goVodPath = realpath(__DIR__."/../../exiftool-bin/go-vod-{$arch}");
|
$goVodPath = realpath(__DIR__."/../../exiftool-bin/go-vod-{$arch}");
|
||||||
|
}
|
||||||
|
|
||||||
$output->writeln("Trying go-vod from {$goVodPath}");
|
$output->writeln("Trying go-vod from {$goVodPath}");
|
||||||
chmod($goVodPath, 0755);
|
chmod($goVodPath, 0755);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue