• Carlos Garnacho's avatar
    tracker-extract: Use tracker_resource_set_* with single-valued properties · 56eb8360
    Carlos Garnacho authored
    The tracker_resource_add_* API does not delete the previous property value,
    so may result in constraint errors if these values happen to change (some
    are more likely than others).
    
    This commit fixes this entire source of bugs en-masse, the affected
    properties were:
    
    - nmm:albumDiscAlbum
    - nfo:genre in GStreamer extractor
    - nie:license in HTML extractor
    - nco:publisher and nfo:equipment in JPEG extractor
    - nfo:equipment in RAW extractor
    56eb8360
tracker-extract-html.c 7.78 KB