Documentation
¶
Index ¶
Constants ¶
View Source
const ( ItemTypeBook ItemType = "book" ItemTypeFilm = "film" ItemTypeTvserie = "tvserie" ItemTypeUnkown = "unknown" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Experiences ¶
type Experiences struct {
List []ExperiencesEntry
Page int
Pages int
Query string
}
func (Experiences) NextPage ¶
func (e Experiences) NextPage() int
func (Experiences) PrevPage ¶
func (e Experiences) PrevPage() int
type ExperiencesEntry ¶
func (ExperiencesEntry) FormatDatetime ¶
func (e ExperiencesEntry) FormatDatetime(strings i18n.Translation) string
type ItemInfo ¶
type ItemInfo struct {
Cover string
Status string
Title string
YearStart int
YearEnd int
BasedOn string
Genres string
Runtime int
Collection int
Part int
Episodes int
}
func (ItemInfo) IsUnreleased ¶
type TvQueueEntry ¶
type TvQueueEntry struct {
ItemInfo
Id string
HasPrevious bool
WatchedEpisodes int
SkippedEpisodes int
}
func (TvQueueEntry) CalculateProgress ¶
func (e TvQueueEntry) CalculateProgress() int
func (TvQueueEntry) GetYears ¶
func (e TvQueueEntry) GetYears() string
type ValueError ¶
type ValueError struct {
Message string
}
func (ValueError) Error ¶
func (e ValueError) Error() string
type Watchlist ¶
type WatchlistEntry ¶
Click to show internal directories.
Click to hide internal directories.