From f7f0b8d17a1b4240ee40a318d8e8b01a1eda3b16 Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Sun, 21 Feb 2021 17:54:26 +0100 Subject: [PATCH] Metadata: Add unwanted descriptions --- internal/meta/sanitize.go | 56 ++++++++++++++++++++------------------- 1 file changed, 29 insertions(+), 27 deletions(-) diff --git a/internal/meta/sanitize.go b/internal/meta/sanitize.go index 80877cbd8..5bb438641 100644 --- a/internal/meta/sanitize.go +++ b/internal/meta/sanitize.go @@ -10,33 +10,35 @@ import ( ) var UnwantedDescriptions = map[string]bool{ - "OLYMPUS DIGITAL CAMERA": true, // Olympus - "SAMSUNG": true, // Samsung - "SAMSUNG CAMERA PICTURES": true, - "rhdr": true, // Huawei - "hdrpl": true, - "oznorWO": true, - "frontbhdp": true, - "fbt": true, - "mon": true, - "nor": true, - "dav": true, - "mde": true, - "mde_soft": true, - "edf": true, - "btfmdn": true, - "btf": true, - "btfhdr": true, - "frem": true, - "oznor": true, - "rpt": true, - "burst": true, - "sdr_HDRB": true, - "cof": true, - "qrf": true, - "binary comment": true, - "default": true, - "Exif_JPEG_PICTURE": true, + "OLYMPUS DIGITAL CAMERA": true, // Olympus + "SAMSUNG": true, // Samsung + "SAMSUNG CAMERA PICTURES": true, + "rhdr": true, // Huawei + "hdrpl": true, + "oznorWO": true, + "frontbhdp": true, + "fbt": true, + "mon": true, + "nor": true, + "dav": true, + "mde": true, + "mde_soft": true, + "edf": true, + "btfmdn": true, + "btf": true, + "btfhdr": true, + "frem": true, + "oznor": true, + "rpt": true, + "burst": true, + "sdr_HDRB": true, + "cof": true, + "qrf": true, + "binary comment": true, + "default": true, + "Exif_JPEG_PICTURE": true, + "": true, + "DVC 10.1 HDMI": true, } var LowerCaseRegexp = regexp.MustCompile("[a-z0-9_\\-]+")