Match uppercased tag names

This commit is contained in:
Théophile Bastian 2022-07-05 11:39:35 +02:00
parent 4c0766b2c1
commit 0744c4403c
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ def edit_flac(args):
def reverse_tag(vorbis_tag):
"""Reverses a Vorbis tag to an argument name"""
for tag in VORBIS_ARG_NAME:
if VORBIS_ARG_NAME[tag] == vorbis_tag:
if VORBIS_ARG_NAME[tag].upper() == vorbis_tag.upper():
return tag
raise NoSuchTag(vorbis_tag)