Documentation ¶
Index ¶
- type Activity
- type ActivityMovies
- type ActivityReleases
- type ActivityTracks
- type Artist
- type Artists
- type BackdropFunc
- type Context
- type CoverFunc
- type Episode
- type EpisodeImageFunc
- type Genre
- type Home
- type Index
- type Keyword
- type Movie
- type Movies
- type Offset
- type Podcasts
- type Popular
- type PosterFunc
- type Profile
- type ProfileFunc
- type Progress
- type Radio
- type Release
- type Search
- type Series
- type SeriesImageFunc
- type Singles
- type TrackList
- type TracksFunc
- type WantList
- type Watch
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Activity ¶
type Activity struct { RecentMovies []activity.Movie RecentTracks []activity.Track RecentReleases []activity.Release }
swagger:model
func ActivityView ¶
type ActivityMovies ¶
swagger:model
func ActivityMoviesView ¶
func ActivityMoviesView(ctx Context, start, end time.Time) *ActivityMovies
type ActivityReleases ¶
swagger:model
func ActivityReleasesView ¶
func ActivityReleasesView(ctx Context, start, end time.Time) *ActivityReleases
type ActivityTracks ¶
swagger:model
func ActivityPopularTracksView ¶
func ActivityPopularTracksView(ctx Context, start, end time.Time) *ActivityTracks
func ActivityTracksView ¶
func ActivityTracksView(ctx Context, start, end time.Time) *ActivityTracks
type Artist ¶
type Artist struct { Artist music.Artist Image string Background string Releases []music.Release Similar []music.Artist CoverSmall CoverFunc `json:"-"` Deep TrackList `json:"-"` Popular TrackList `json:"-"` Radio TrackList `json:"-"` Shuffle TrackList `json:"-"` Singles TrackList `json:"-"` Tracks TrackList `json:"-"` }
swagger:model
type BackdropFunc ¶
type Episode ¶
type Episode struct { Episode podcast.Episode EpisodeImage EpisodeImageFunc `json:"-"` }
swagger:model
type EpisodeImageFunc ¶
type Genre ¶
type Genre struct { Name string Movies []video.Movie PosterSmall PosterFunc `json:"-"` Backdrop BackdropFunc `json:"-"` }
swagger:model
type Home ¶
type Home struct { AddedReleases []music.Release NewReleases []music.Release AddedMovies []video.Movie NewMovies []video.Movie RecommendMovies []video.Recommend NewEpisodes []podcast.Episode NewSeries []podcast.Series CoverSmall CoverFunc `json:"-"` PosterSmall PosterFunc `json:"-"` SeriesImage SeriesImageFunc `json:"-"` EpisodeImage EpisodeImageFunc `json:"-"` }
swagger:model
type Keyword ¶
type Keyword struct { Name string Movies []video.Movie PosterSmall PosterFunc `json:"-"` Backdrop BackdropFunc `json:"-"` }
swagger:model
func KeywordView ¶
type Movie ¶
type Movie struct { Movie video.Movie Location string Collection video.Collection Other []video.Movie Cast []video.Cast Crew []video.Crew Starring []video.Person Directing []video.Person Writing []video.Person Genres []string Keywords []string Vote int VoteCount int Poster PosterFunc `json:"-"` PosterSmall PosterFunc `json:"-"` Backdrop BackdropFunc `json:"-"` Profile ProfileFunc `json:"-"` }
swagger:model
type Movies ¶
type Movies struct { Movies []video.Movie PosterSmall PosterFunc `json:"-"` Backdrop BackdropFunc `json:"-"` }
swagger:model
func MoviesView ¶
type Podcasts ¶
type Podcasts struct { Series []podcast.Series SeriesImage SeriesImageFunc `json:"-"` }
swagger:model
func PodcastsView ¶
type PosterFunc ¶
type Profile ¶
type Profile struct { Person video.Person Starring []video.Movie Directing []video.Movie Writing []video.Movie PosterSmall PosterFunc `json:"-"` Backdrop BackdropFunc `json:"-"` Profile ProfileFunc `json:"-"` }
swagger:model
type ProfileFunc ¶
type Radio ¶
type Radio struct { Artist []music.Station Genre []music.Station Similar []music.Station Period []music.Station Series []music.Station Other []music.Station Stream []music.Station CoverSmall CoverFunc `json:"-"` }
swagger:model
type Release ¶
type Release struct { Artist music.Artist Release music.Release Image string Tracks []music.Track Singles []music.Track Popular []music.Track Similar []music.Release CoverSmall CoverFunc `json:"-"` }
swagger:model
type Search ¶
type Search struct { Artists []music.Artist Releases []music.Release Tracks []music.Track Movies []video.Movie Series []podcast.Series Episodes []podcast.Episode Query string Hits int CoverSmall CoverFunc `json:"-"` PosterSmall PosterFunc `json:"-"` }
swagger:model
func SearchView ¶
type Series ¶
type Series struct { Series podcast.Series Episodes []podcast.Episode SeriesImage SeriesImageFunc `json:"-"` EpisodeImage EpisodeImageFunc `json:"-"` }
swagger:model
type SeriesImageFunc ¶
type TrackList ¶
type TrackList struct { Title string Tracks TracksFunc }
type TracksFunc ¶
Click to show internal directories.
Click to hide internal directories.