Skip to content

Commit

Permalink
Remove year tag from mp3 metadata
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
umputun committed Jan 2, 2024
1 parent bca2593 commit e2bfdae
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion publisher/app/cmd/proc_mp3.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit e2bfdae

Please sign in to comment.