Documentation ¶
Overview ¶
Package spiff provides the model for all playlists used within TakeoutFM. A spiff is a container for one or more media tracks with basic media metadata. TakeoutFM also uses json patch to manipulate spiffs for remote playlist management.
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", }
Click to show internal directories.
Click to hide internal directories.