From 352f9cca29af8e43b21fb8e519c878046e4b2ccb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20Mygind=20Pilgaard?= Date: Sun, 23 Feb 2025 19:13:04 +0100 Subject: [PATCH] Readme updated --- README.md | 4 ++++ settings.py | 3 +++ 2 files changed, 7 insertions(+) diff --git a/README.md b/README.md index 71e7945..f204c3c 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,10 @@ If you have a folder with multible files and folders below, and you want to rena Enter the prefix if needed, the numberpattern (a string of x n's) and if needed a postfix. The example above will name the first file "2023-F035-001.jpg", the next "2023-F035-002.jpg" etc. (jpg-files as example). Files with same name (ignoring filetype) will get the same name after renaming also. That way you make sure that original/editet filepairs having same name before standardizing filenames, will also have same name after renaming has taken place. +#### Integration to Adobe Lightroom Classic +If you are using Lightroom Classic on the same computer as Memory Mate, you can have Memory Mate automatically update the filenames in you Lightroom catalouge, when you are using the "Standardize Filenames"-functionality in Memory Mate. By default the feature is switched off but is easily switched on in Memory Mate Settings (click the settings-wheel in top right corner). Just check the "Activate Integration"-checkbox, and enter path to your lightroom catalouge-file (.lrcat) in field below, and the integration will work. +Notice, that Memory Mate utilizes an unofficial API for updating the filenames in the Lightroom Classic. Adobe does not offer an API for updating the catalouge. The integration has been tested with Lightroom Classic v. 13.5. The integration will most likely work with other versions, but there is no guarantee, so keep your lightroom catalouge backed up. + #### Automatic backup running in background Memory Mate updates image-files when you change logical tag values. Some backup-solutions lock files when doing automatic backup. If an image is locked, Memory Mate will not be able to update the metadata. It is therefore recommended that you pause your backup-program while using Memory Mate to update metadata. diff --git a/settings.py b/settings.py index 6c4cf46..3d26228 100644 --- a/settings.py +++ b/settings.py @@ -31,6 +31,8 @@ def patchDefaultValues(): settings["lr_db_path"] = '' if settings.get("file_types") is None: settings["file_types"] = ["jpg", "jpeg", "png", "bmp", "cr3", "cr2", "dng", "arw", "nef", "heic", "tif", "tiff", "gif","mp4", "m4v", "mov", "avi", "m2t", "m2ts","mts"] + if settings.get("raw_file_types") is None: + settings["raw_file_types"] = ["cr3", "cr2", "dng", "arw", "nef"] if settings.get("sidecar_tag_groups") is None: settings["sidecar_tag_groups"] = {"JSON": {"file_name_pattern": "..json"} } if settings.get("logical_tags") is None: @@ -699,6 +701,7 @@ def writeSettingsFile(): # Set all variables from data in settings-file and defaultdata version = settings.get("version") # Actually this is the version already assigned in top of settings file_types = settings.get("file_types") +raw_file_types = settings.get("raw_file_types") sidecar_tag_groups=settings.get("sidecar_tag_groups") languages = settings.get("languages") language = settings.get("language")