From 265aa074aa7356aca9ccea23fdc0a95851ef4214 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Sun, 13 Oct 2024 18:36:25 -0500 Subject: [PATCH] r/nextcloud: Configure Memories app The [Memories] app for Nextcloud provides a better user interface and more features than the built-in Photos app. The latter seems to be somewhat broken recently (timeline stops in June 2024, even though there are more recent photos available), so we're trying out Memories (and Recognize for facial recognition). [Memories]: https://memories.gallery --- roles/nextcloud/templates/config.php.j2 | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/roles/nextcloud/templates/config.php.j2 b/roles/nextcloud/templates/config.php.j2 index 094002f..df9d3d3 100644 --- a/roles/nextcloud/templates/config.php.j2 +++ b/roles/nextcloud/templates/config.php.j2 @@ -61,9 +61,19 @@ $CONFIG = array ( 'memcache.distributed' => '\\OC\\Memcache\\Redis', 'memcache.locking' => '\\OC\\Memcache\\Redis', 'redis' => - array ( + array ( 'host' => 'localhost', 'port' => 6379, 'timeout' => 0.0, ), + 'memories.db.triggers.fcu' => true, + 'memories.exiftool_no_local' => true, + 'memories.vod.path' => '/var/lib/nextcloud/apps/memories/bin-ext/go-vod-amd64', + 'memories.vod.ffmpeg' => '/usr/bin/ffmpeg', + 'memories.vod.ffprobe' => '/usr/bin/ffprobe', + 'enabledPreviewProviders' => + array ( + 0 => 'OC\\Preview\\Image', + 1 => 'OC\\Preview\\Movie', + ), );