1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2025-02-24 15:00:54 +00:00

Fixed: Write ID3v2 genres as text, not a number

This commit is contained in:
ta264 2021-11-30 19:43:14 +00:00
parent e413f8d72f
commit feee1881b2

View file

@ -362,6 +362,7 @@ public void Write(string path)
if (file.TagTypes.HasFlag(TagTypes.Id3v2))
{
TagLib.Id3v2.Tag.UseNumericGenres = false;
var id3tag = (TagLib.Id3v2.Tag)file.GetTag(TagTypes.Id3v2);
id3tag.SetTextFrame("TMED", Media);
WriteId3Date(id3tag, "TDRC", "TYER", "TDAT", Date);