Documentation ¶
Index ¶
- Constants
- Variables
- func AddonCheck(addonID string) (failures int)
- func AddonFailure(addonID string) (failures int)
- func AddonSettings(addonID string) (retVal string)
- func AddonSettingsOpened() bool
- func CloseAllDialogs() bool
- func ConvertLanguage(language string, format int) string
- func Dialog(title string, message string) bool
- func DialogConfirm(title string, message string) bool
- func DialogConfirmFocused(title string, message string) bool
- func DialogInsert() map[string]string
- func DialogProgressBGCleanup()
- func DialogText(title string, text string) bool
- func ExecuteAddon(addonID string, args ...interface{})
- func GetCurrentView() (viewMode string)
- func GetLanguage(format int) string
- func GetLanguageISO639_1() string
- func GetLocalizedString(id int) (retVal string)
- func GetSettingBool(id string) bool
- func GetSettingInt(id string) int
- func GetSettingString(id string) (retVal string)
- func GetWatchTimes() map[string]string
- func GetWindowProperty(key string) string
- func InfoLabel(label string) string
- func InfoLabels(labels ...string) map[string]string
- func InstallAddon(addonID string) (ret string)
- func IsAddonEnabled(addonID string) bool
- func IsAddonInstalled(addonID string) bool
- func Keyboard(args ...interface{}) string
- func ListDialog(title string, items ...string) int
- func ListDialogLarge(title string, subject string, items ...string) int
- func Log(args ...interface{})
- func Notify(header string, message string, image string)
- func OpenDirectory(path string)
- func PlayURL(url string)
- func PlayURLWithLabels(url string, listItem *ListItem)
- func PlayURLWithTimeout(url string)
- func PlayerGetActive() int
- func PlayerGetPlayingFile() string
- func PlayerGetSubtitles() (ret []string)
- func PlayerIsPaused() bool
- func PlayerIsPlaying() bool
- func PlayerSeek(position float64) (ret string)
- func PlayerSetSubtitles(urls []string)
- func PlaylistClear() (retVal int)
- func PlaylistLeft() (retVal int)
- func PlaylistSize() (retVal int)
- func Refresh() (retVal string)
- func ResetRPC() (retVal string)
- func SetAddonEnabled(addonID string, enabled bool) (retval string)
- func SetEpisodePlaycount(episodeID int, playcount int) (ret string)
- func SetEpisodeProgress(episodeID int, position int, total int) (ret string)
- func SetEpisodeProgressWithDate(episodeID int, position int, total int, dt time.Time) (ret string)
- func SetEpisodeWatched(episodeID int, playcount int, position int, total int) (ret string)
- func SetEpisodeWatchedWithDate(episodeID int, playcount int, position int, total int, dt time.Time) (ret string)
- func SetFileWatched(file string, position int, total int) (ret string)
- func SetMoviePlaycount(movieID int, playcount int) (ret string)
- func SetMovieProgress(movieID int, position int, total int) (ret string)
- func SetMovieProgressWithDate(movieID int, position int, total int, dt time.Time) (ret string)
- func SetMovieWatched(movieID int, playcount int, position int, total int) (ret string)
- func SetMovieWatchedWithDate(movieID int, playcount int, position int, total int, dt time.Time) (ret string)
- func SetResolvedURL(url string)
- func SetSetting(id string, value interface{})
- func SetShowWatched(showID int, playcount int) (ret string)
- func SetShowWatchedWithDate(showID int, playcount int, dt time.Time) (ret string)
- func SetWindowProperty(key string, value string)
- func SettingsGetSettingValue(setting string) string
- func TranslatePath(path string) (retVal string)
- func UpdateAddonRepos() (retVal string)
- func UpdateLocalAddons() (ret string)
- func UpdatePath(path string) (retVal string)
- func VideoLibraryClean() (retVal string)
- func VideoLibraryScan() (retVal string)
- func VideoLibraryScanDirectory(directory string, showDialogs bool) (retVal string)
- type ActivePlayers
- type Addon
- type AddonExtension
- type AddonImport
- type AddonInfo
- type AddonInfoDetails
- type AddonList
- type AddonRepositoryDataDir
- type AddonRepositoryInfo
- type AddonSkinResolution
- type AddonText
- type AddonsList
- type AdvancedSettings
- type Args
- type ContextMenuItem
- type DialogExpirationType
- type DialogProgress
- type DialogProgressBG
- type EventPlayer
- type FileSources
- type GUIIconOverlay
- type KodiTime
- type ListItem
- type ListItemArt
- type ListItemInfo
- type ListItems
- type LogBackend
- type Object
- type OverlayStatus
- type Platform
- type PlayerItemInfo
- type Resume
- type Setting
- type SettingValue
- type StreamInfo
- type StreamInfoEntry
- type UniqueIDs
- type VideoLibraryEpisode
- type VideoLibraryEpisodeItem
- type VideoLibraryEpisodes
- type VideoLibraryLimits
- type VideoLibraryMovieItem
- type VideoLibraryMovies
- type VideoLibrarySeason
- type VideoLibrarySeasonItem
- type VideoLibrarySeasons
- type VideoLibraryShowItem
- type VideoLibraryShows
- type View
Constants ¶
const ( // LogDebug ... LogDebug = iota // LogInfo ... LogInfo // LogNotice ... LogNotice // LogWarning ... LogWarning // LogError ... LogError // LogSevere ... LogSevere // LogFatal ... LogFatal // LogNone ... LogNone )
const ( // Iso639_1 ... Iso639_1 = iota // Iso639_2 ... Iso639_2 // EnglishName ... EnglishName )
Variables ¶
var ( // XBMCJSONRPCHosts ... XBMCJSONRPCHosts = []string{ net.JoinHostPort("127.0.0.1", "9090"), } // XBMCExJSONRPCHosts ... XBMCExJSONRPCHosts = []string{ net.JoinHostPort("127.0.0.1", "65221"), } )
var ( // KodiVersion saves Kodi platform KodiVersion = 0 // DialogAutoclose determines number of seconds to wait // until DialogConfirm should be automatically closed DialogAutoclose = 0 )
var ( // DialogExpiration sets time (in second) for autoclose setting DialogExpiration = DialogExpirationType{ Existing: 7, InTorrents: 7, } )
var Results map[string]chan interface{}
Results ...
Functions ¶
func DialogConfirmFocused ¶
DialogConfirmFocused ...
func ListDialogLarge ¶
ListDialogLarge ...
func PlayURLWithLabels ¶
PlayURLWithLabels ...
func SetAddonEnabled ¶
SetAddonEnabled ...
func SetEpisodePlaycount ¶
SetEpisodePlaycount ...
func SetEpisodeProgress ¶
SetEpisodeProgress ...
func SetEpisodeProgressWithDate ¶
SetEpisodeProgressWithDate ...
func SetEpisodeWatched ¶
SetEpisodeWatched ...
func SetEpisodeWatchedWithDate ¶
func SetEpisodeWatchedWithDate(episodeID int, playcount int, position int, total int, dt time.Time) (ret string)
SetEpisodeWatchedWithDate ...
func SetFileWatched ¶
SetFileWatched ...
func SetMoviePlaycount ¶
SetMoviePlaycount ...
func SetMovieProgress ¶
SetMovieProgress ...
func SetMovieProgressWithDate ¶
SetMovieProgressWithDate ...
func SetMovieWatched ¶
SetMovieWatched ...
func SetMovieWatchedWithDate ¶
func SetMovieWatchedWithDate(movieID int, playcount int, position int, total int, dt time.Time) (ret string)
SetMovieWatchedWithDate ...
func SetShowWatched ¶
SetShowWatched ...
func SetShowWatchedWithDate ¶
SetShowWatchedWithDate ...
func SettingsGetSettingValue ¶
SettingsGetSettingValue ...
func VideoLibraryScanDirectory ¶
VideoLibraryScanDirectory ...
Types ¶
type ActivePlayers ¶
ActivePlayers ...
func (ActivePlayers) MarshalMsg ¶
func (z ActivePlayers) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (ActivePlayers) Msgsize ¶
func (z ActivePlayers) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*ActivePlayers) UnmarshalMsg ¶
func (z *ActivePlayers) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type Addon ¶
type Addon struct { XMLName xml.Name `xml:"addon"` ID string `xml:"id,attr"` Name string `xml:"name,attr"` Version string `xml:"version,attr"` ProviderName string `xml:"provider-name,attr"` Requires []*AddonImport `xml:"requires>import,omitempty"` Extensions []*AddonExtension `xml:"extension"` }
Addon ...
type AddonExtension ¶
type AddonExtension struct { Point string `xml:"point,attr"` // xbmc.python.pluginsource // xbmc.service Library string `xml:"library,attr,omitempty"` // xbmc.python.pluginsource Provides string `xml:"provides,omitempty"` // xbmc.service Start string `xml:"start,attr,omitempty"` // xbmc.addon.metadata Language string `xml:"language,omitempty"` Platform string `xml:"platform,omitempty"` License string `xml:"license,omitempty"` Forum string `xml:"forum,omitempty"` Website string `xml:"website,omitempty"` Email string `xml:"email,omitempty"` Source string `xml:"source,omitempty"` Broken string `xml:"broken,omitempty"` Summaries []*AddonText `xml:"summary,omitempty"` Disclaimers []*AddonText `xml:"disclaimer,omitempty"` Descriptions []*AddonText `xml:"description,omitempty"` // xbmc.addon.repository Name string `xml:"name,attr,omitempty"` Info *AddonRepositoryInfo `xml:"info,omitempty"` Checksum string `xml:"checksum,omitempty"` Datadir *AddonRepositoryDataDir `xml:"datadir,omitempty"` // xbmc.gui.skin DefaultResolution string `xml:"defaultresolution,omitempty"` DefaultResolutionWide string `xml:"defaultresolutionwide,omitempty"` DefaultThemeName string `xml:"defaultthemename,omitempty"` EffectsSlowdown string `xml:"effectslowdown,omitempty"` Debugging string `xml:"debugging,omitempty"` Resolutions []*AddonSkinResolution `xml:"res,omitempty"` }
AddonExtension ...
type AddonImport ¶
type AddonImport struct { XMLName xml.Name `xml:"import"` Addon string `xml:"addon,attr"` Version string `xml:"version,attr"` Optional string `xml:"optional,attr,omitempty"` }
AddonImport ...
type AddonInfo ¶
type AddonInfo struct { Author string `xml:"id,attr"` Changelog string Description string Disclaimer string Fanart string Home string Icon string ID string Name string Path string Profile string TempPath string Stars string Summary string Type string Version string Xbmc string }
AddonInfo ...
type AddonInfoDetails ¶
type AddonInfoDetails struct { Addon struct { ID string `json:"addonid"` Type string `json:"type"` Name string `json:"name"` Version string `json:"version"` Enabled bool `json:"enabled"` Installed bool `json:"installed"` } `json:"addon"` }
AddonInfoDetails ...
type AddonRepositoryDataDir ¶
type AddonRepositoryDataDir struct { XMLName xml.Name `xml:"datadir"` Text string `xml:",chardata"` Zip bool `xml:"zip,attr"` }
AddonRepositoryDataDir ...
type AddonRepositoryInfo ¶
type AddonRepositoryInfo struct { XMLName xml.Name `xml:"info"` Text string `xml:",chardata"` Compressed bool `xml:"compressed,attr"` }
AddonRepositoryInfo ...
type AddonSkinResolution ¶
type AddonSkinResolution struct { XMLName xml.Name `xml:"res"` Width int `xml:"width,attr"` Height int `xml:"height,attr"` Aspect string `xml:"aspect,attr"` Default bool `xml:"default,attr"` Folder string `xml:"folder,attr"` }
AddonSkinResolution ...
type AddonsList ¶
type AddonsList struct { Addons []*struct { ID string `json:"addonid"` Type string `json:"type"` Name string `json:"name"` Version string `json:"version"` Enabled bool `json:"enabled"` } `json:"addons"` }
AddonsList ...
type AdvancedSettings ¶
type AdvancedSettings struct { LogLevel int `xml:"loglevel"` Cache struct { MemorySizeLegacy int `xml:"cachemembuffersize"` MemorySize int `xml:"memorysize"` BufferMode int `xml:"buffermode"` ReadFactor int `xml:"readfactor"` } `xml:"cache"` }
AdvancedSettings describes advancedsettings.xml
func (*AdvancedSettings) MarshalMsg ¶
func (z *AdvancedSettings) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*AdvancedSettings) Msgsize ¶
func (z *AdvancedSettings) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*AdvancedSettings) UnmarshalMsg ¶
func (z *AdvancedSettings) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type ContextMenuItem ¶
ContextMenuItem ...
func (ContextMenuItem) MarshalMsg ¶
func (z ContextMenuItem) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (ContextMenuItem) Msgsize ¶
func (z ContextMenuItem) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*ContextMenuItem) UnmarshalMsg ¶
func (z *ContextMenuItem) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type DialogExpirationType ¶
DialogExpirationType describes dialog autoclose types
type DialogProgress ¶
type DialogProgress struct {
// contains filtered or unexported fields
}
DialogProgress ...
func NewDialogProgress ¶
func NewDialogProgress(title, line1, line2, line3 string) *DialogProgress
NewDialogProgress ...
func (*DialogProgress) Update ¶
func (dp *DialogProgress) Update(percent int, line1, line2, line3 string)
Update ...
type DialogProgressBG ¶
type DialogProgressBG struct {
// contains filtered or unexported fields
}
DialogProgressBG ...
func NewDialogProgressBG ¶
func NewDialogProgressBG(title, message string, translations ...string) *DialogProgressBG
NewDialogProgressBG ...
type EventPlayer ¶
type EventPlayer struct {
// contains filtered or unexported fields
}
EventPlayer ...
type FileSources ¶
type FileSources struct { Sources []struct { FilePath string `json:"file"` Label string `json:"label"` } `json:"sources"` }
FileSources ...
func (*FileSources) MarshalMsg ¶
func (z *FileSources) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*FileSources) Msgsize ¶
func (z *FileSources) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*FileSources) UnmarshalMsg ¶
func (z *FileSources) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type GUIIconOverlay ¶
type GUIIconOverlay int
GUIIconOverlay ...
const ( // IconOverlayNone ... IconOverlayNone GUIIconOverlay = iota // IconOverlayRAR ... IconOverlayRAR // IconOverlayZip ... IconOverlayZip // IconOverlayLocked ... IconOverlayLocked // IconOverlayHasTrainer ... IconOverlayHasTrainer // IconOverlayTrained ... IconOverlayTrained // IconOverlayWatched ... IconOverlayWatched // IconOverlayHD ... IconOverlayHD )
func (GUIIconOverlay) MarshalMsg ¶
func (z GUIIconOverlay) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (GUIIconOverlay) Msgsize ¶
func (z GUIIconOverlay) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*GUIIconOverlay) UnmarshalMsg ¶
func (z *GUIIconOverlay) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type KodiTime ¶
KodiTime ...
func (KodiTime) MarshalMsg ¶
MarshalMsg implements msgp.Marshaler
func (KodiTime) Msgsize ¶
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*KodiTime) UnmarshalJSON ¶
UnmarshalJSON ...
type ListItem ¶
type ListItem struct { Label string `json:"label"` Label2 string `json:"label2"` Icon string `json:"icon"` Thumbnail string `json:"thumbnail"` IsPlayable bool `json:"is_playable"` Path string `json:"path"` Info *ListItemInfo `json:"info,omitempty"` Properties map[string]string `json:"properties,omitempty"` Art *ListItemArt `json:"art,omitempty"` StreamInfo *StreamInfo `json:"stream_info,omitempty"` ContextMenu [][]string `json:"context_menu,omitempty"` TraktAuth bool `json:"-"` }
ListItem ...
func (*ListItem) MarshalMsg ¶
MarshalMsg implements msgp.Marshaler
type ListItemArt ¶
type ListItemArt struct { Thumbnail string `json:"thumb,omitempty"` Poster string `json:"poster,omitempty"` TvShowPoster string `json:"tvshowposter,omitempty"` Banner string `json:"banner,omitempty"` FanArt string `json:"fanart,omitempty"` ClearArt string `json:"clearart,omitempty"` ClearLogo string `json:"clearlogo,omitempty"` Landscape string `json:"landscape,omitempty"` Icon string `json:"icon,omitempty"` }
ListItemArt ...
func (*ListItemArt) MarshalMsg ¶
func (z *ListItemArt) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*ListItemArt) Msgsize ¶
func (z *ListItemArt) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*ListItemArt) UnmarshalMsg ¶
func (z *ListItemArt) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type ListItemInfo ¶
type ListItemInfo struct { // General Values that apply to all types Count int `json:"count,omitempty"` Size int `json:"size,omitempty"` Date string `json:"date,omitempty"` // Video Values Genre string `json:"genre,omitempty"` Year int `json:"year,omitempty"` Episode int `json:"episode,omitempty"` Season int `json:"season,omitempty"` Top250 int `json:"top250,omitempty"` TrackNumber int `json:"tracknumber,omitempty"` Rating float32 `json:"rating,omitempty"` PlayCount int `json:"playcount,omitempty"` Overlay GUIIconOverlay `json:"overlay,omitempty"` Cast []string `json:"cast,omitempty"` CastAndRole [][]string `json:"castandrole,omitempty"` Director string `json:"director,omitempty"` MPAA string `json:"mpaa,omitempty"` Plot string `json:"plot,omitempty"` PlotOutline string `json:"plotoutline,omitempty"` Title string `json:"title,omitempty"` OriginalTitle string `json:"originaltitle,omitempty"` SortTitle string `json:"sorttitle,omitempty"` Duration int `json:"duration,omitempty"` Studio string `json:"studio,omitempty"` TagLine string `json:"tagline,omitempty"` Writer string `json:"writer,omitempty"` TVShowTitle string `json:"tvshowtitle,omitempty"` Premiered string `json:"premiered,omitempty"` Status string `json:"status,omitempty"` Code string `json:"code,omitempty"` Aired string `json:"aired,omitempty"` Credits string `json:"credits,omitempty"` LastPlayed string `json:"lastplayed,omitempty"` Album string `json:"album,omitempty"` Artist []string `json:"artist,omitempty"` Votes string `json:"votes,omitempty"` Trailer string `json:"trailer,omitempty"` DateAdded string `json:"dateadded,omitempty"` DBID int `json:"dbid,omitempty"` DBTYPE string `json:"dbtype,omitempty"` Mediatype string `json:"mediatype,omitempty"` IMDBNumber string `json:"imdbnumber,omitempty"` // Music Values Lyrics string `json:"lyrics,omitempty"` // Picture Values PicturePath string `json:"picturepath,omitempty"` Exif string `json:"exif,omitempty"` }
ListItemInfo ...
func (*ListItemInfo) MarshalMsg ¶
func (z *ListItemInfo) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*ListItemInfo) Msgsize ¶
func (z *ListItemInfo) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*ListItemInfo) UnmarshalMsg ¶
func (z *ListItemInfo) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type ListItems ¶
type ListItems []*ListItem
ListItems ...
func (ListItems) MarshalMsg ¶
MarshalMsg implements msgp.Marshaler
type LogBackend ¶
type LogBackend struct{}
LogBackend ...
func (*LogBackend) Log ¶
func (b *LogBackend) Log(level logging.Level, calldepth int, rec *logging.Record) error
Log ...
type OverlayStatus ¶
type OverlayStatus struct {
// contains filtered or unexported fields
}
OverlayStatus ...
func (*OverlayStatus) Update ¶
func (ov *OverlayStatus) Update(percent int, line1, line2, line3 string)
Update ...
type PlayerItemInfo ¶
type PlayerItemInfo struct { Info struct { ID int `json:"id"` Type string `json:"type"` } `json:"item"` }
PlayerItemInfo ...
func (*PlayerItemInfo) MarshalMsg ¶
func (z *PlayerItemInfo) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*PlayerItemInfo) Msgsize ¶
func (z *PlayerItemInfo) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*PlayerItemInfo) UnmarshalMsg ¶
func (z *PlayerItemInfo) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type Resume ¶
Resume ...
func (Resume) MarshalMsg ¶
MarshalMsg implements msgp.Marshaler
type Setting ¶
type Setting struct { Key string `json:"key"` Type string `json:"type"` Value string `json:"value"` Option string `json:"option"` }
Setting ...
type SettingValue ¶
type SettingValue struct {
Value string `json:"value"`
}
SettingValue ...
func (SettingValue) MarshalMsg ¶
func (z SettingValue) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (SettingValue) Msgsize ¶
func (z SettingValue) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*SettingValue) UnmarshalMsg ¶
func (z *SettingValue) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type StreamInfo ¶
type StreamInfo struct { Video *StreamInfoEntry `json:"video,omitempty"` Audio *StreamInfoEntry `json:"audio,omitempty"` Subtitle *StreamInfoEntry `json:"subtitle,omitempty"` }
StreamInfo ...
func (*StreamInfo) MarshalMsg ¶
func (z *StreamInfo) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*StreamInfo) Msgsize ¶
func (z *StreamInfo) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*StreamInfo) UnmarshalMsg ¶
func (z *StreamInfo) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type StreamInfoEntry ¶
type StreamInfoEntry struct { Codec string `json:"codec,omitempty"` Aspect float32 `json:"aspect,omitempty"` Width int `json:"width,omitempty"` Height int `json:"height,omitempty"` Duration int `json:"duration,omitempty"` Language string `json:"language,omitempty"` Channels int `json:"channels,omitempty"` }
StreamInfoEntry ...
func (*StreamInfoEntry) MarshalMsg ¶
func (z *StreamInfoEntry) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*StreamInfoEntry) Msgsize ¶
func (z *StreamInfoEntry) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*StreamInfoEntry) UnmarshalMsg ¶
func (z *StreamInfoEntry) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type UniqueIDs ¶
type UniqueIDs struct { Unknown string `json:"unknown"` TMDB string `json:"tmdb"` TVDB string `json:"tvdb"` IMDB string `json:"imdb"` TheMovieDB string `json:"themoviedb"` Trakt string `json:"trakt"` Kodi int // contains filtered or unexported fields }
UniqueIDs ...
func (*UniqueIDs) MarshalMsg ¶
MarshalMsg implements msgp.Marshaler
type VideoLibraryEpisode ¶
type VideoLibraryEpisode struct {
Episode *VideoLibraryEpisodeItem `json:"episodedetails"`
}
VideoLibraryEpisode ...
func (*VideoLibraryEpisode) MarshalMsg ¶
func (z *VideoLibraryEpisode) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*VideoLibraryEpisode) Msgsize ¶
func (z *VideoLibraryEpisode) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*VideoLibraryEpisode) UnmarshalMsg ¶
func (z *VideoLibraryEpisode) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type VideoLibraryEpisodeItem ¶
type VideoLibraryEpisodeItem struct { ID int `json:"episodeid"` Title string `json:"label"` Season int `json:"season"` Episode int `json:"episode"` TVShowID int `json:"tvshowid"` PlayCount int `json:"playcount"` File string `json:"file"` DateAdded KodiTime `json:"dateadded"` UniqueIDs UniqueIDs `json:"uniqueid"` Resume *Resume }
VideoLibraryEpisodeItem ...
func (*VideoLibraryEpisodeItem) MarshalMsg ¶
func (z *VideoLibraryEpisodeItem) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*VideoLibraryEpisodeItem) Msgsize ¶
func (z *VideoLibraryEpisodeItem) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*VideoLibraryEpisodeItem) UnmarshalMsg ¶
func (z *VideoLibraryEpisodeItem) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type VideoLibraryEpisodes ¶
type VideoLibraryEpisodes struct {
Episodes []*VideoLibraryEpisodeItem `json:"episodes"`
}
VideoLibraryEpisodes ...
func VideoLibraryGetAllEpisodes ¶
func VideoLibraryGetAllEpisodes(shows []int) (episodes *VideoLibraryEpisodes, err error)
VideoLibraryGetAllEpisodes ...
func VideoLibraryGetEpisodes ¶
func VideoLibraryGetEpisodes(tvshowID int) (episodes *VideoLibraryEpisodes, err error)
VideoLibraryGetEpisodes ...
func (*VideoLibraryEpisodes) MarshalMsg ¶
func (z *VideoLibraryEpisodes) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*VideoLibraryEpisodes) Msgsize ¶
func (z *VideoLibraryEpisodes) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*VideoLibraryEpisodes) UnmarshalMsg ¶
func (z *VideoLibraryEpisodes) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type VideoLibraryLimits ¶
type VideoLibraryLimits struct { End int `json:"end"` Start int `json:"start"` Total int `json:"total"` }
VideoLibraryLimits ...
func (VideoLibraryLimits) MarshalMsg ¶
func (z VideoLibraryLimits) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (VideoLibraryLimits) Msgsize ¶
func (z VideoLibraryLimits) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*VideoLibraryLimits) UnmarshalMsg ¶
func (z *VideoLibraryLimits) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type VideoLibraryMovieItem ¶
type VideoLibraryMovieItem struct { ID int `json:"movieid"` Title string `json:"label"` IMDBNumber string `json:"imdbnumber"` PlayCount int `json:"playcount"` File string `json:"file"` Year int `json:"year"` DateAdded KodiTime `json:"dateadded"` UniqueIDs UniqueIDs `json:"uniqueid"` Resume *Resume }
VideoLibraryMovieItem ...
func (*VideoLibraryMovieItem) MarshalMsg ¶
func (z *VideoLibraryMovieItem) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*VideoLibraryMovieItem) Msgsize ¶
func (z *VideoLibraryMovieItem) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*VideoLibraryMovieItem) UnmarshalMsg ¶
func (z *VideoLibraryMovieItem) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type VideoLibraryMovies ¶
type VideoLibraryMovies struct { Limits *VideoLibraryLimits `json:"limits"` Movies []*VideoLibraryMovieItem `json:"movies"` }
VideoLibraryMovies ...
func VideoLibraryGetMovies ¶
func VideoLibraryGetMovies() (movies *VideoLibraryMovies, err error)
VideoLibraryGetMovies ...
func VideoLibraryGetdaincMovies ¶
func VideoLibraryGetdaincMovies() (movies *VideoLibraryMovies, err error)
VideoLibraryGetdaincMovies ...
func (*VideoLibraryMovies) MarshalMsg ¶
func (z *VideoLibraryMovies) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*VideoLibraryMovies) Msgsize ¶
func (z *VideoLibraryMovies) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*VideoLibraryMovies) UnmarshalMsg ¶
func (z *VideoLibraryMovies) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type VideoLibrarySeason ¶
type VideoLibrarySeason struct {
Episode *VideoLibrarySeasonItem `json:"seasondetails"`
}
VideoLibrarySeason ...
func (*VideoLibrarySeason) MarshalMsg ¶
func (z *VideoLibrarySeason) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*VideoLibrarySeason) Msgsize ¶
func (z *VideoLibrarySeason) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*VideoLibrarySeason) UnmarshalMsg ¶
func (z *VideoLibrarySeason) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type VideoLibrarySeasonItem ¶
type VideoLibrarySeasonItem struct { ID int `json:"seasonid"` Title string `json:"label"` Season int `json:"season"` Episodes int `json:"episode"` TVShowID int `json:"tvshowid"` PlayCount int `json:"playcount"` UniqueIDs UniqueIDs `json:"uniqueid"` }
VideoLibrarySeasonItem ...
func (*VideoLibrarySeasonItem) MarshalMsg ¶
func (z *VideoLibrarySeasonItem) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*VideoLibrarySeasonItem) Msgsize ¶
func (z *VideoLibrarySeasonItem) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*VideoLibrarySeasonItem) UnmarshalMsg ¶
func (z *VideoLibrarySeasonItem) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type VideoLibrarySeasons ¶
type VideoLibrarySeasons struct {
Seasons []*VideoLibrarySeasonItem `json:"seasons"`
}
VideoLibrarySeasons ...
func VideoLibraryGetAllSeasons ¶
func VideoLibraryGetAllSeasons(shows []int) (seasons *VideoLibrarySeasons, err error)
VideoLibraryGetAllSeasons ...
func VideoLibraryGetSeasons ¶
func VideoLibraryGetSeasons(tvshowID int) (seasons *VideoLibrarySeasons, err error)
VideoLibraryGetSeasons ...
func (*VideoLibrarySeasons) MarshalMsg ¶
func (z *VideoLibrarySeasons) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*VideoLibrarySeasons) Msgsize ¶
func (z *VideoLibrarySeasons) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*VideoLibrarySeasons) UnmarshalMsg ¶
func (z *VideoLibrarySeasons) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type VideoLibraryShowItem ¶
type VideoLibraryShowItem struct { ID int `json:"tvshowid"` Title string `json:"label"` IMDBNumber string `json:"imdbnumber"` PlayCount int `json:"playcount"` Year int `json:"year"` Episodes int `json:"episode"` DateAdded KodiTime `json:"dateadded"` UniqueIDs UniqueIDs `json:"uniqueid"` }
VideoLibraryShowItem ...
func (*VideoLibraryShowItem) MarshalMsg ¶
func (z *VideoLibraryShowItem) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*VideoLibraryShowItem) Msgsize ¶
func (z *VideoLibraryShowItem) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*VideoLibraryShowItem) UnmarshalMsg ¶
func (z *VideoLibraryShowItem) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type VideoLibraryShows ¶
type VideoLibraryShows struct { Limits *VideoLibraryLimits `json:"limits"` Shows []*VideoLibraryShowItem `json:"tvshows"` }
VideoLibraryShows ...
func VideoLibraryGetShows ¶
func VideoLibraryGetShows() (shows *VideoLibraryShows, err error)
VideoLibraryGetShows ...
func VideoLibraryGetdaincShows ¶
func VideoLibraryGetdaincShows() (shows *VideoLibraryShows, err error)
VideoLibraryGetdaincShows returns shows added by dainc
func (*VideoLibraryShows) MarshalMsg ¶
func (z *VideoLibraryShows) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*VideoLibraryShows) Msgsize ¶
func (z *VideoLibraryShows) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*VideoLibraryShows) UnmarshalMsg ¶
func (z *VideoLibraryShows) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler