mirror of
https://github.com/Lidarr/Lidarr
synced 2026-01-09 09:03:35 +01: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