[tracker-miners: 1/2] Avoid non-existing nfo:language on libav extractor




commit da7b90b266b0b4e1849ec0c638f3c8eacc6e2447
Author: Pekka Vuorela <pekka vuorela jolla com>
Date:   Thu Jul 7 17:46:05 2022 +0300

    Avoid non-existing nfo:language on libav extractor
    
    Suppose this should have been dc:language but since to my knowledge
    this has never worked, and the other audio/video extractor don't
    use such a property, let's just remove this here.

 src/tracker-extract/tracker-extract-libav.c | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-libav.c b/src/tracker-extract/tracker-extract-libav.c
index d2d4baf6d..87fe6e026 100644
--- a/src/tracker-extract/tracker-extract-libav.c
+++ b/src/tracker-extract/tracker-extract-libav.c
@@ -251,10 +251,6 @@ tracker_extract_get_metadata (TrackerExtractInfo  *info,
                tracker_resource_set_string (metadata, "nfo:genre", tag->value);
        }
 
-       if ((tag = av_dict_get (format->metadata, "language", NULL, 0))) {
-               tracker_resource_set_string (metadata, "nfo:language", tag->value);
-       }
-
        if ((tag = av_dict_get (format->metadata, "title", NULL, 0))) {
                title = tag->value;
        }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]