Add comment tag, still missing multiline comments

This commit is contained in:
Deluan
2020-01-21 10:05:00 -05:00
parent 22a0b7e170
commit 3a44f37622
2 changed files with 57 additions and 3 deletions
+1
View File
@@ -33,6 +33,7 @@ func (m *Metadata) Year() int { return m.parseInt("year") }
func (m *Metadata) TrackNumber() (int, int) { return m.parseTuple("trackNum") }
func (m *Metadata) DiscNumber() (int, int) { return m.parseTuple("discNum") }
func (m *Metadata) HasPicture() bool { return m.tags["hasPicture"] == "Video" }
func (m *Metadata) Comment() string { return m.tags["comment"] }
func (m *Metadata) Compilation() bool { return m.parseBool("compilation") }
func (m *Metadata) Duration() int { return m.parseDuration("duration") }
func (m *Metadata) BitRate() int { return m.parseInt("bitrate") }