You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/Migration/InstallDeps.php
+17Lines changed: 17 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -93,6 +93,7 @@ public function run(IOutput $output): void {
93
93
$this->runTfjsGpuInstall($binaryPath);
94
94
$this->setNodeModulesPermissions();
95
95
$this->setNiceBinaryPath();
96
+
$this->setFfmpegBinaryPath();
96
97
} catch (\Throwable$e) {
97
98
$output->warning('Failed to automatically install dependencies for recognize. Check the recognize admin panel for potential problems.');
98
99
$this->logger->error('Failed to automatically install dependencies for recognize. Check the recognize admin panel for potential problems.', ['exception' => $e]);
@@ -235,6 +236,22 @@ protected function runFfmpegInstall(string $nodeBinary): void {
235
236
}
236
237
}
237
238
239
+
protectedfunctionsetFfmpegBinaryPath() : void {
240
+
/* use nice binary from settings if available */
241
+
if ($this->config->getAppValueString('ffmpeg_binary', '') !== '') {
Copy file name to clipboardExpand all lines: src/components/ViewAdmin.vue
+25-1Lines changed: 25 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -329,6 +329,23 @@
329
329
</p>
330
330
<p>{{ t('recognize', 'For Nextcloud Snap users, you need to adjust this path to point to the snap\'s "current" directory as the pre-configured path will change with each update. For example, set it to "/var/snap/nextcloud/current/nextcloud/extra-apps/recognize/bin/node" instead of "/var/snap/nextcloud/9337974/nextcloud/extra-apps/recognize/bin/node"') }}</p>
0 commit comments