fixed tag reading in to_tag()

This commit is contained in:
MrDulfin 2023-12-11 00:39:02 -05:00
parent b683c45ec7
commit 4b55c2eaa8

View file

@ -202,8 +202,8 @@ fn to_tag(string: String) -> Tag {
"album artist" => Tag::AlbumArtist, "album artist" => Tag::AlbumArtist,
"genre" => Tag::Genre, "genre" => Tag::Genre,
"comment" => Tag::Comment, "comment" => Tag::Comment,
"track" => Tag::Track, "track number" => Tag::Track,
"disc" => Tag::Disk, "disc number" => Tag::Disk,
_ => Tag::Key(string), _ => Tag::Key(string),
} }
} }