sane-tag-music: fix so i can load titles from PNG files

This commit is contained in:
2024-07-09 19:58:49 +00:00
parent 549fa8e5cd
commit c2185f44b1

View File

@@ -498,7 +498,7 @@ class ImageFile(MediaFile):
else: else:
return [] return []
def get_tag(name: str) -> list: def get_tag(name: str) -> list:
return get_tag_(name) + get_tag_(f"EXIF:{name}") + get_tag_(f"XMP:{name}") return get_tag_(name) + get_tag_(f"EXIF:{name}") + get_tag_(f"PNG:{name}") + get_tag_(f"XMP:{name}")
return Tags( return Tags(
artist=get_tag("Photographer"), artist=get_tag("Photographer"),