Documentation ¶
Index ¶
Constants ¶
View Source
const ( TypeMusic = "music" TypeVideo = "video" TypePodcast = "podcast" TypeStream = "stream" )
View Source
const (
ContentType = "application/json-patch+json"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Entry ¶
type Entry struct { Ref string `json:"$ref,omitempty"` Creator string `json:"creator,omitempty" spiff:"creator"` Album string `json:"album,omitempty" spiff:"album"` Title string `json:"title,omitempty" spiff:"title"` Image string `json:"image,omitempty" spiff:"image"` Location []string `json:"location,omitempty" spiff:"location"` Identifier []string `json:"identifier,omitempty" spiff:"identifier"` Size []int64 `json:"size,omitempty"` Date string `json:"date,omitempty" spiff:"date"` // "2005-01-08T17:10:47-05:00", }
type Playlist ¶
type Playlist struct { Spiff Spiff `json:"playlist"` Index int `json:"index"` Position float64 `json:"position"` Type string `json:"type"` }
func NewPlaylist ¶
Click to show internal directories.
Click to hide internal directories.