Ignore "Cover (front)" tag when using ffmpeg extractor
This commit is contained in:
@@ -22,6 +22,13 @@ func (m *ffmpegMetadata) HasPicture() bool {
|
||||
return m.getTag("has_picture", "metadata_block_picture") != ""
|
||||
}
|
||||
func (m *ffmpegMetadata) DiscNumber() (int, int) { return m.parseTuple("tpa", "disc", "discnumber") }
|
||||
func (m *ffmpegMetadata) Comment() string {
|
||||
comment := m.baseMetadata.Comment()
|
||||
if comment == "Cover (front)" {
|
||||
return ""
|
||||
}
|
||||
return comment
|
||||
}
|
||||
|
||||
type ffmpegExtractor struct{}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user