Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Album ¶ added in v0.0.3
type Album struct {
XMLName xml.Name `xml:"album"`
Title string `xml:"title,omitempty"`
Rating int64 `xml:"rating,omitempty"`
UserRating int64 `xml:"userrating,omitempty"`
Genre string `xml:"genre,omitempty"`
Style string `xml:"style,omitempty"`
Mood string `xml:"mood,omitempty"`
Theme string `xml:"theme,omitempty"`
Compilation bool `xml:"compilation,omitempty"`
Year string `xml:"year,omitempty"`
ReleaseDate string `xml:"releasedate,omitempty"`
Review string `xml:"review,omitempty"`
Type string `xml:"type,omitempty"`
Label string `xml:"label,omitempty"`
AlbumArtistCredits struct {
MusicBrainzArtistID string `xml:"musicBrainzArtistID,omitempty"`
Artist string `xml:"artist,omitempty"`
} `xml:"albumArtistCredits,omitempty"`
}
type Artist ¶ added in v0.0.3
type Artist struct {
XMLName xml.Name `xml:"Artist"`
Name string `xml:"name,omitempty"`
SortName string `xml:"sortname,omitempty"`
Type string `xml:"type,omitempty"`
Gender string `xml:"gender,omitempty"`
Disambiguation string `xml:"disambiguation,omitempty"`
Genre string `xml:"genre,omitempty"`
Style string `xml:"style,omitempty"`
Mood string `xml:"mood,omitempty"`
YearsActive string `xml:"yearsactive,omitempty"`
Born string `xml:"born,omitempty"`
Formed string `xml:"formed,omitempty"`
Biography string `xml:"biography,omitempty"`
Died string `xml:"died,omitempty"`
Disbanded string `xml:"disbanded,omitempty"`
}
type Episode ¶
type Episode struct {
XMLName xml.Name `xml:"episodedetails"`
Title string `xml:"title,omitempty"`
ShowTitle string `xml:"showtitle,omitempty"`
Ratings struct {
Rating []Rating `xml:"rating,omitempty"`
} `xml:"ratings"`
UserRating float64 `xml:"userrating,omitempty"`
Top250 int64 `xml:"top250,omitempty"`
Season int64 `xml:"season,omitempty"`
Episode int64 `xml:"episode,omitempty"`
DisplaySeason int64 `xml:"displayseason,omitempty"`
DisplayEpisode int64 `xml:"displayepisode,omitempty"`
Outline string `xml:"outline,omitempty"`
Plot string `xml:"plot,omitempty"`
Tagline string `xml:"tagline,omitempty"`
Runtime int64 `xml:"runtime,omitempty"`
Thumb []Thumb `xml:"thumb,omitempty"`
MPAA string `xml:"mpaa,omitempty"`
Playcount int64 `xml:"playcount,omitempty"`
Lastplayed string `xml:"lastplayed,omitempty"`
Id string `xml:"id,omitempty"`
Uniqueid []UniqueId `xml:"uniqueid,omitempty"`
Genre []string `xml:"genre,omitempty"`
Credits string `xml:"credits,omitempty"`
Director string `xml:"director,omitempty"`
Premiered string `xml:"premiered,omitempty"`
Year string `xml:"year,omitempty"`
Status string `xml:"status,omitempty"`
Code string `xml:"code,omitempty"`
Aired string `xml:"aired,omitempty"`
Studio string `xml:"studio,omitempty"`
Trailer string `xml:"trailer,omitempty"`
FileInfo struct {
StreamDetails struct {
Video []StreamVideo `xml:"video,omitempty"`
Audio []StreamAudio `xml:"audio,omitempty"`
Subtitle []StreamSubtitle `xml:"subtitle,omitempty"`
} `xml:"streamdetails,omitempty"`
} `xml:"fileinfo,omitempty"`
Actor []Actor `xml:"actor,omitempty"`
Resume struct {
Position float64 `xml:"position,omitempty"`
Total float64 `xml:"total,omitempty"`
} `xml:"resume,omitempty"`
DateAdded string `xml:"dateadded,omitempty"`
}
type Movie ¶
type Movie struct {
XMLName xml.Name `xml:"movie"`
Title string `xml:"title,omitempty"`
OriginalTitle string `xml:"originaltitle,omitempty"`
SortTitle string `xml:"sorttitle,omitempty"`
Ratings struct {
Rating []Rating `xml:"rating,omitempty"`
} `xml:"ratings"`
UserRating float64 `xml:"userrating,omitempty"`
Top250 int64 `xml:"top250,omitempty"`
Outline string `xml:"outline,omitempty"`
Plot string `xml:"plot,omitempty"`
Tagline string `xml:"tagline,omitempty"`
Runtime int64 `xml:"runtime,omitempty"`
Thumb []Thumb `xml:"thumb,omitempty"`
Fanart *Fanart `xml:"fanart,omitempty"`
MPAA string `xml:"mpaa,omitempty"`
Playcount int64 `xml:"playcount,omitempty"`
Lastplayed string `xml:"lastplayed,omitempty"`
Id string `xml:"id,omitempty"`
Uniqueid []UniqueId `xml:"uniqueid,omitempty"`
Genre []string `xml:"genre,omitempty"`
Tag []string `xml:"tag,omitempty"`
Set struct {
Name string `xml:"name,omitempty"`
Overview string `xml:"overview,omitempty"`
} `xml:"set,omitempty"`
Country string `xml:"country,omitempty"`
Credits string `xml:"credits,omitempty"`
Director string `xml:"director,omitempty"`
Premiered string `xml:"premiered,omitempty"`
Year string `xml:"year,omitempty"`
Status string `xml:"status,omitempty"`
Code string `xml:"code,omitempty"`
Aired string `xml:"aired,omitempty"`
Studio string `xml:"studio,omitempty"`
Trailer string `xml:"trailer,omitempty"`
FileInfo struct {
StreamDetails struct {
Video []StreamVideo `xml:"video,omitempty"`
Audio []StreamAudio `xml:"audio,omitempty"`
Subtitle []StreamSubtitle `xml:"subtitle,omitempty"`
} `xml:"streamdetails,omitempty"`
} `xml:"fileinfo,omitempty"`
Actor []Actor `xml:"actor,omitempty"`
Resume struct {
Position float64 `xml:"position,omitempty"`
Total float64 `xml:"total,omitempty"`
} `xml:"resume,omitempty"`
DateAdded string `xml:"dateadded,omitempty"`
}
type StreamAudio ¶
type StreamSubtitle ¶
type StreamSubtitle struct {
Language string `xml:"language,omitempty"`
}
type StreamVideo ¶
type TVShow ¶
type TVShow struct {
XMLName xml.Name `xml:"tvshow"`
Title string `xml:"title,omitempty"`
OriginalTitle string `xml:"originaltitle,omitempty"`
ShowTitle string `xml:"showtitle,omitempty"`
Ratings struct {
Rating []Rating `xml:"rating,omitempty"`
} `xml:"ratings"`
UserRating int64 `xml:"userrating,omitempty"`
Top250 int64 `xml:"top250,omitempty"`
Season int64 `xml:"season,omitempty"`
Episode int64 `xml:"episode,omitempty"`
DisplaySeason int64 `xml:"displayseason,omitempty"`
DisplayEpisode int64 `xml:"displayepisode,omitempty"`
Outline string `xml:"outline,omitempty"`
Plot string `xml:"plot,omitempty"`
Tagline string `xml:"tagline,omitempty"`
Runtime int64 `xml:"runtime,omitempty"`
Thumb []Thumb `xml:"thumb,omitempty"`
Fanart *Fanart `xml:"fanart,omitempty"`
MPAA string `xml:"mpaa,omitempty"`
Playcount int64 `xml:"playcount,omitempty"`
Lastplayed string `xml:"lastplayed,omitempty"`
Id int64 `xml:"id,omitempty"`
Uniqueid []UniqueId `xml:"uniqueid,omitempty"`
Genre []string `xml:"genre,omitempty"`
Premiered string `xml:"premiered,omitempty"`
Year string `xml:"year,omitempty"`
Status string `xml:"status,omitempty"`
Code string `xml:"code,omitempty"`
Aired string `xml:"aired,omitempty"`
Studio string `xml:"studio,omitempty"`
Actor []Actor `xml:"actor,omitempty"`
NamedSeason struct {
Number int64 `xml:"number,omitempty,attr"`
Name string `xml:",chardata"`
} `xml:"namedseason,omitempty"`
Resume struct {
Position float64 `xml:"position,omitempty"`
Total float64 `xml:"total,omitempty"`
} `xml:"resume,omitempty"`
DateAdded string `xml:"dateadded,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.