Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAudio ¶
IsAudio reports whether the path is a supported audio file (including archive entries).
func OpenArchiveRoot ¶
OpenArchiveRoot returns an archive URI for the root of the archive if the path is a supported archive file.
Types ¶
type Metadata ¶
type Metadata struct {
Artist string
Title string
Album string
AlbumArtist string
Composer string
Genre string
Year int
Comment string
Lyrics string
Duration time.Duration
Picture *Picture
}
Metadata captures audio tags for display.
func ReadMetadataBasic ¶
ReadMetadataBasic reads basic audio tags (artist/title/album).
func ReadMetadataExtended ¶
ReadMetadataExtended reads all supported audio tags (including artwork).
Click to show internal directories.
Click to hide internal directories.