Documentation ¶
Index ¶
- Constants
- type ARTW
- type ArtworkDB
- func (db *ArtworkDB) Close() error
- func (db *ArtworkDB) GetArtworkFile(id pid.PersistentID) (string, error)
- func (db *ArtworkDB) GetArtworkItem(id pid.PersistentID) (*ArtworkItem, error)
- func (db *ArtworkDB) GetArtworkURL(id pid.PersistentID) (string, error)
- func (db *ArtworkDB) GetJPEG(id pid.PersistentID) ([]byte, error)
- type ArtworkItem
- type ArtworkSource
- type Format
- type FrameHeader
- type ITC
- type ITCH
- type Item
- type ItunesSource
Constants ¶
View Source
const ( MethodLocal = "locl" MethodDownload = "down" FormatPNG = "PNGf" FormatJPEG = "JPEG" FormatARGB = "ARGb" Itunes9 = 208 ItunesOld = 216 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ARTW ¶
type ARTW struct { Header *FrameHeader Unknown1 []byte }
type ArtworkDB ¶
type ArtworkDB struct {
// contains filtered or unexported fields
}
func NewArtworkDB ¶
func (*ArtworkDB) GetArtworkFile ¶
func (*ArtworkDB) GetArtworkItem ¶
func (db *ArtworkDB) GetArtworkItem(id pid.PersistentID) (*ArtworkItem, error)
func (*ArtworkDB) GetArtworkURL ¶ added in v0.2.1
type ArtworkItem ¶
type ArtworkSource ¶
func NewArtworkSource ¶
func NewArtworkSource(homedir string, libid pid.PersistentID) (ArtworkSource, error)
type FrameHeader ¶
type ITCH ¶
type ITCH struct { Header *FrameHeader Unknown1 []byte Subframe interface{} }
type Item ¶
type ItunesSource ¶
type ItunesSource struct {
// contains filtered or unexported fields
}
func NewItunesSource ¶
func NewItunesSource(homedir string, libid pid.PersistentID) (*ItunesSource, error)
func (*ItunesSource) Close ¶ added in v0.2.7
func (src *ItunesSource) Close() error
func (*ItunesSource) GetJPEG ¶
func (src *ItunesSource) GetJPEG(id pid.PersistentID) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.