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:
parent
e413f8d72f
commit
feee1881b2
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue