Documentation ¶
Index ¶
Constants ¶
View Source
const ( FallbackAlbum = "Unknown Album" FallbackArtist = "Unknown Artist" FallbackGenre = "Unknown Genre" )
Variables ¶
View Source
var ErrUnsupported = errors.New("filetype unsupported")
Functions ¶
func MustAlbumArtist ¶
func MustAlbumArtists ¶
func MustArtist ¶
func MustArtists ¶
func MustGenres ¶
Types ¶
type ChainReader ¶
type ChainReader []Reader
func (ChainReader) CanRead ¶
func (cr ChainReader) CanRead(absPath string) bool
type Info ¶
type Info interface { Title() string BrainzID() string // musicbrainz recording ID Artist() string Artists() []string Album() string AlbumArtist() string AlbumArtists() []string AlbumBrainzID() string Genre() string Genres() []string TrackNumber() int DiscNumber() int Year() int ReplayGainTrackGain() float32 ReplayGainTrackPeak() float32 ReplayGainAlbumGain() float32 ReplayGainAlbumPeak() float32 Length() int Bitrate() int }
Click to show internal directories.
Click to hide internal directories.