mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07: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 @@ namespace NzbDrone.Core.MediaFiles
|
|||
|
||||
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…
Add table
Add a link
Reference in a new issue