Documentation ¶
Index ¶
- Variables
- func Boolp(b bool) *bool
- func Int16p(i int16) *int16
- func Int32p(i int32) *int32
- func Int64p(i int64) *int64
- func Int8p(i int8) *int8
- func Intp(i int) *int
- func Stringp(s string) *string
- func Timep(t time.Time) *time.Time
- func Uint16p(i uint16) *uint16
- func Uint32p(i uint32) *uint32
- func Uint64p(i uint64) *uint64
- func Uint8p(i uint8) *uint8
- func Uintp(i uint) *uint
- type BaseLoader
- type Library
- func (lib *Library) GetApplicationVersion() string
- func (lib *Library) GetDate() time.Time
- func (lib *Library) GetFeatures() int
- func (lib *Library) GetFileName() string
- func (lib *Library) GetMajorVersion() int
- func (lib *Library) GetMinorVersion() int
- func (lib *Library) GetMusicFolder() string
- func (lib *Library) GetPersistentID() uint64
- func (lib *Library) GetPlaylists() int
- func (lib *Library) GetShowContentRatings() bool
- func (lib *Library) GetTracks() int
- type Loader
- type Playlist
- func (pl *Playlist) GetAllItems() bool
- func (pl *Playlist) GetAudiobooks() bool
- func (pl *Playlist) GetDistinguishedKind() int
- func (pl *Playlist) GetFolder() bool
- func (pl *Playlist) GetGeniusTrackID() uint64
- func (pl *Playlist) GetMaster() bool
- func (pl *Playlist) GetMovies() bool
- func (pl *Playlist) GetMusic() bool
- func (pl *Playlist) GetName() string
- func (pl *Playlist) GetParentPersistentID() uint64
- func (pl *Playlist) GetPersistentID() uint64
- func (pl *Playlist) GetPlaylistID() int
- func (pl *Playlist) GetPodcasts() bool
- func (pl *Playlist) GetPurchasedMusic() bool
- func (pl *Playlist) GetTVShows() bool
- func (pl *Playlist) GetVisible() bool
- func (p *Playlist) IsSmart() bool
- type Track
- func (tr *Track) Clone() *Track
- func (tr *Track) GetAlbum() string
- func (tr *Track) GetAlbumArtist() string
- func (tr *Track) GetAlbumRating() uint8
- func (tr *Track) GetAlbumRatingComputed() bool
- func (tr *Track) GetArtist() string
- func (tr *Track) GetArtworkCount() int
- func (tr *Track) GetBPM() uint16
- func (tr *Track) GetBitRate() uint
- func (tr *Track) GetClean() bool
- func (tr *Track) GetComments() string
- func (tr *Track) GetCompilation() bool
- func (tr *Track) GetComposer() string
- func (tr *Track) GetContentRating() string
- func (tr *Track) GetDateAdded() time.Time
- func (tr *Track) GetDateModified() time.Time
- func (tr *Track) GetDisabled() bool
- func (tr *Track) GetDiscCount() uint8
- func (tr *Track) GetDiscNumber() uint8
- func (tr *Track) GetEpisode() string
- func (tr *Track) GetEpisodeOrder() int
- func (tr *Track) GetExplicit() bool
- func (tr *Track) GetFileFolderCount() int
- func (tr *Track) GetFileType() int
- func (tr *Track) GetGenre() string
- func (tr *Track) GetGrouping() string
- func (tr *Track) GetHasVideo() bool
- func (tr *Track) GetKind() string
- func (tr *Track) GetLibraryFolderCount() int
- func (tr *Track) GetLocation() string
- func (tr *Track) GetLoved() bool
- func (tr *Track) GetMaster() bool
- func (tr *Track) GetMovementCount() int
- func (tr *Track) GetMovementName() string
- func (tr *Track) GetMovementNumber() int
- func (tr *Track) GetMovie() bool
- func (tr *Track) GetMusicVideo() bool
- func (tr *Track) GetName() string
- func (tr *Track) GetPartOfGaplessAlbum() bool
- func (tr *Track) GetPersistentID() uint64
- func (tr *Track) GetPlayCount() uint
- func (tr *Track) GetPlayDate() time.Time
- func (tr *Track) GetPlayDateGarbage() int
- func (tr *Track) GetPodcast() bool
- func (tr *Track) GetProtected() bool
- func (tr *Track) GetPurchaseDate() time.Time
- func (tr *Track) GetPurchased() bool
- func (tr *Track) GetRating() uint8
- func (tr *Track) GetRatingComputed() bool
- func (tr *Track) GetReleaseDate() time.Time
- func (tr *Track) GetSampleRate() uint
- func (tr *Track) GetSeason() int
- func (tr *Track) GetSeries() string
- func (tr *Track) GetSize() uint64
- func (tr *Track) GetSkipCount() uint
- func (tr *Track) GetSkipDate() time.Time
- func (tr *Track) GetSortAlbum() string
- func (tr *Track) GetSortAlbumArtist() string
- func (tr *Track) GetSortArtist() string
- func (tr *Track) GetSortComposer() string
- func (tr *Track) GetSortName() string
- func (tr *Track) GetSortSeries() string
- func (tr *Track) GetStopTime() int
- func (tr *Track) GetTVShow() bool
- func (tr *Track) GetTotalTime() uint
- func (tr *Track) GetTrackCount() uint8
- func (tr *Track) GetTrackID() int
- func (tr *Track) GetTrackNumber() uint8
- func (tr *Track) GetTrackType() string
- func (tr *Track) GetUnplayed() bool
- func (tr *Track) GetVolumeAdjustment() uint8
- func (tr *Track) GetWork() string
- func (tr *Track) GetYear() int
Constants ¶
This section is empty.
Variables ¶
View Source
var AbortError = errors.New("abort")
Functions ¶
Types ¶
type BaseLoader ¶ added in v0.1.0
type BaseLoader struct {
// contains filtered or unexported fields
}
func NewBaseLoader ¶ added in v0.1.0
func NewBaseLoader() *BaseLoader
func (*BaseLoader) Abort ¶ added in v0.1.0
func (l *BaseLoader) Abort()
func (*BaseLoader) GetChan ¶ added in v0.1.0
func (l *BaseLoader) GetChan() chan interface{}
func (*BaseLoader) GetQuitChan ¶ added in v0.1.0
func (l *BaseLoader) GetQuitChan() chan bool
func (*BaseLoader) Shutdown ¶ added in v0.1.0
func (l *BaseLoader) Shutdown(err error)
type Library ¶
type Library struct { FileName *string MajorVersion *int MinorVersion *int ApplicationVersion *string Date *time.Time Features *int ShowContentRatings *bool PersistentID *uint64 `plist:"Library Persistent ID"` MusicFolder *string Tracks *int Playlists *int }
func (*Library) GetApplicationVersion ¶
func (*Library) GetFeatures ¶
func (*Library) GetFileName ¶
func (*Library) GetMajorVersion ¶
func (*Library) GetMinorVersion ¶
func (*Library) GetMusicFolder ¶
func (*Library) GetPersistentID ¶
func (*Library) GetPlaylists ¶
func (*Library) GetShowContentRatings ¶
type Loader ¶
type Loader interface { LoadFile(fn string) Load(f io.ReadCloser) Shutdown(err error) GetChan() chan interface{} Abort() }
type Playlist ¶
type Playlist struct { AllItems *bool Audiobooks *bool DistinguishedKind *int Folder *bool GeniusTrackID *uint64 Master *bool Movies *bool Music *bool Name *string ParentPersistentID *uint64 PlaylistID *int PersistentID *uint64 `plist:"Playlist Persistent ID"` Podcasts *bool PurchasedMusic *bool SmartCriteria []byte SmartInfo []byte TVShows *bool TrackIDs []uint64 Visible *bool DateAdded *time.Time DateModified *time.Time }
func NewPlaylist ¶
func NewPlaylist() *Playlist
func (*Playlist) GetAllItems ¶
func (*Playlist) GetAudiobooks ¶
func (*Playlist) GetDistinguishedKind ¶
func (*Playlist) GetGeniusTrackID ¶
func (*Playlist) GetParentPersistentID ¶
func (*Playlist) GetPersistentID ¶
func (*Playlist) GetPlaylistID ¶
func (*Playlist) GetPodcasts ¶
func (*Playlist) GetPurchasedMusic ¶
func (*Playlist) GetTVShows ¶
func (*Playlist) GetVisible ¶
type Track ¶
type Track struct { Album *string AlbumArtist *string AlbumRating *uint8 AlbumRatingComputed *bool Artist *string ArtworkCount *int BPM *uint16 BitRate *uint Clean *bool Comments *string Compilation *bool Composer *string ContentRating *string DateAdded *time.Time DateModified *time.Time Disabled *bool DiscCount *uint8 DiscNumber *uint8 Episode *string EpisodeOrder *int Explicit *bool FileFolderCount *int FileType *int Genre *string Grouping *string HasVideo *bool Kind *string LibraryFolderCount *int Location *string Loved *bool Master *bool MovementCount *int MovementName *string MovementNumber *int Movie *bool MusicVideo *bool Name *string PartOfGaplessAlbum *bool PersistentID *uint64 PlayCount *uint PlayDateGarbage *int `plist:"Play Date"` PlayDate *time.Time `plist:"Play Date UTC"` Podcast *bool Protected *bool PurchaseDate *time.Time Purchased *bool Rating *uint8 RatingComputed *bool ReleaseDate *time.Time SampleRate *uint Season *int Series *string Size *uint64 SkipCount *uint SkipDate *time.Time SortAlbum *string SortAlbumArtist *string SortArtist *string SortComposer *string SortName *string SortSeries *string StartTime *int StopTime *int TVShow *bool TotalTime *uint TrackCount *uint8 TrackID *int TrackNumber *uint8 TrackType *string Unplayed *bool VolumeAdjustment *uint8 Work *string Year *int }
func (*Track) GetAlbumArtist ¶
func (*Track) GetAlbumRating ¶
func (*Track) GetAlbumRatingComputed ¶
func (*Track) GetArtworkCount ¶
func (*Track) GetBitRate ¶
func (*Track) GetComments ¶
func (*Track) GetCompilation ¶
func (*Track) GetComposer ¶
func (*Track) GetContentRating ¶
func (*Track) GetDateAdded ¶
func (*Track) GetDateModified ¶
func (*Track) GetDisabled ¶
func (*Track) GetDiscCount ¶
func (*Track) GetDiscNumber ¶
func (*Track) GetEpisode ¶
func (*Track) GetEpisodeOrder ¶
func (*Track) GetExplicit ¶
func (*Track) GetFileFolderCount ¶
func (*Track) GetFileType ¶
func (*Track) GetGrouping ¶
func (*Track) GetHasVideo ¶
func (*Track) GetLibraryFolderCount ¶
func (*Track) GetLocation ¶
func (*Track) GetMovementCount ¶
func (*Track) GetMovementName ¶
func (*Track) GetMovementNumber ¶
func (*Track) GetMusicVideo ¶
func (*Track) GetPartOfGaplessAlbum ¶
func (*Track) GetPersistentID ¶
func (*Track) GetPlayCount ¶
func (*Track) GetPlayDate ¶
func (*Track) GetPlayDateGarbage ¶
func (*Track) GetPodcast ¶
func (*Track) GetProtected ¶
func (*Track) GetPurchaseDate ¶
func (*Track) GetPurchased ¶
func (*Track) GetRatingComputed ¶
func (*Track) GetReleaseDate ¶
func (*Track) GetSampleRate ¶
func (*Track) GetSkipCount ¶
func (*Track) GetSkipDate ¶
func (*Track) GetSortAlbum ¶
func (*Track) GetSortAlbumArtist ¶
func (*Track) GetSortArtist ¶
func (*Track) GetSortComposer ¶
func (*Track) GetSortName ¶
func (*Track) GetSortSeries ¶
func (*Track) GetStopTime ¶
func (*Track) GetTotalTime ¶
func (*Track) GetTrackCount ¶
func (*Track) GetTrackID ¶
func (*Track) GetTrackNumber ¶
func (*Track) GetTrackType ¶
func (*Track) GetUnplayed ¶
func (*Track) GetVolumeAdjustment ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.