mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 20:47:35 +03:00
Fix read DISCNUMBER
as a DiscNumber tag in ffmpeg extractor
This commit is contained in:
parent
f373f5f83e
commit
26d2af17a3
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ func (m *ffmpegMetadata) BitRate() int { return m.parseInt("bitrate") }
|
|||
func (m *ffmpegMetadata) HasPicture() bool {
|
||||
return m.getTag("has_picture", "metadata_block_picture") != ""
|
||||
}
|
||||
func (m *ffmpegMetadata) DiscNumber() (int, int) { return m.parseTuple("tpa", "disc") }
|
||||
func (m *ffmpegMetadata) DiscNumber() (int, int) { return m.parseTuple("tpa", "disc", "discnumber") }
|
||||
|
||||
type ffmpegExtractor struct{}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue