admin: show expected go-vod version
Signed-off-by: Varun Patil <radialapps@gmail.com>pull/877/head
parent
5e10d60123
commit
080bf1358d
|
@ -155,10 +155,11 @@ class AdminController extends GenericApiController
|
|||
$extGoVod = Util::getSystemConfig('memories.vod.external');
|
||||
$status['govod'] = $this->getExecutableStatus(
|
||||
static fn () => BinExt::getGoVodBin(),
|
||||
static fn ($p) => BinExt::testStartGoVod(),
|
||||
static fn () => BinExt::testStartGoVod(),
|
||||
!$extGoVod,
|
||||
!$extGoVod,
|
||||
);
|
||||
$status['govod_want'] = BinExt::GOVOD_VER;
|
||||
|
||||
// Check for VA-API device
|
||||
$devPath = '/dev/dri/renderD128';
|
||||
|
|
|
@ -57,6 +57,7 @@ export type ISystemStatus = {
|
|||
ffmpeg: IBinaryStatus;
|
||||
ffprobe: IBinaryStatus;
|
||||
govod: IBinaryStatus;
|
||||
govod_want: string;
|
||||
vaapi_dev: 'ok' | 'not_found' | 'not_readable';
|
||||
|
||||
action_token: string;
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
@update:checked="update('memories.vod.external')"
|
||||
type="switch"
|
||||
>
|
||||
{{ t('memories', 'Enable external transcoder (go-vod)') }}
|
||||
{{ t('memories', 'Enable external transcoder (go-vod {version})', { version: status?.govod_want }) }}
|
||||
</NcCheckboxRadioSwitch>
|
||||
|
||||
<NcTextField
|
||||
|
|
Loading…
Reference in New Issue