From e2bfdaeb8888d70a87ae5c02cb247cf03940791b Mon Sep 17 00:00:00 2001 From: Umputun Date: Tue, 2 Jan 2024 11:24:14 -0600 Subject: [PATCH] Remove year tag from mp3 metadata The year tag has been removed from the ID3 tags in the proc_mp3.go file. This was done to reduce unnecessary information in the mp3 metadata, simplifying the tag structure. --- publisher/app/cmd/proc_mp3.go | 1 - 1 file changed, 1 deletion(-) diff --git a/publisher/app/cmd/proc_mp3.go b/publisher/app/cmd/proc_mp3.go index b72e1d1c..ab81179b 100644 --- a/publisher/app/cmd/proc_mp3.go +++ b/publisher/app/cmd/proc_mp3.go @@ -126,7 +126,6 @@ func (p *Proc) setMp3Tags(mp3file string, episodeNum int, chapters []chapter) er // add other tags tag.AddFrame("TLEN", id3v2.TextFrame{Encoding: id3v2.EncodingUTF8, Text: strconv.FormatInt(duration.Milliseconds(), 10)}) - tag.AddFrame("TYER", id3v2.TextFrame{Encoding: id3v2.EncodingUTF8, Text: fmt.Sprintf("%d", time.Now().Year())}) tag.AddFrame("TENC", id3v2.TextFrame{Encoding: id3v2.EncodingUTF8, Text: "Publisher"}) tag.AddTextFrame(tag.CommonID("TRCK"), id3v2.EncodingUTF8, strconv.Itoa(episodeNum))