Documentation ¶
Index ¶
Constants ¶
View Source
const NullID int = -1
View Source
const NullPosition int = -1
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Song ¶
type Song struct { ID int Position int Time int Tags Taglist StringTags StringTaglist SortTags StringTaglist }
Song represents a combined view of a song from both MPD and PMS' perspectives.
func (*Song) FillSortTags ¶
func (s *Song) FillSortTags()
FillSortTags post-processes tags, and saves them as strings for sorting purposes later on.
func (*Song) HasOneOfTags ¶
HasOneOfTags returns true if the song contains at least one of the tags mentioned.
func (*Song) NullPosition ¶
NullPosition returns true if the song's osition is not present.
type StringTaglist ¶
Click to show internal directories.
Click to hide internal directories.