Documentation ¶
Index ¶
- Variables
- func AddMovie(ctx *gin.Context)
- func AddMovieToCollection(ctx *gin.Context)
- func AddMovieToWatchlist(ctx *gin.Context)
- func AddMoviesList(ctx *gin.Context)
- func AddShow(ctx *gin.Context)
- func AddShowToCollection(ctx *gin.Context)
- func AddShowToWatchlist(ctx *gin.Context)
- func AddShowsList(ctx *gin.Context)
- func AddToTorrentsMap(tmdbID string, torrent *bittorrent.TorrentFile)
- func AddTorrent(s *bittorrent.Service) gin.HandlerFunc
- func AuthorizeTrakt(ctx *gin.Context)
- func AutoscrapedMovies(ctx *gin.Context)
- func CalendarMovies(ctx *gin.Context)
- func CalendarShows(ctx *gin.Context)
- func Changelog(ctx *gin.Context)
- func ClearCache(ctx *gin.Context)
- func ClearCacheTMDB(ctx *gin.Context)
- func ClearCacheTrakt(ctx *gin.Context)
- func ClearDatabase(ctx *gin.Context)
- func ClearDatabaseMovies(ctx *gin.Context)
- func ClearDatabaseSearchHistory(ctx *gin.Context)
- func ClearDatabaseShows(ctx *gin.Context)
- func ClearDatabaseTorrentHistory(ctx *gin.Context)
- func ClearPageCache(ctx *gin.Context)
- func ClearTmdbCache(ctx *gin.Context)
- func ClearTraktCache(ctx *gin.Context)
- func CollectionMovies(ctx *gin.Context)
- func CollectionShows(ctx *gin.Context)
- func ContextPlaySelector(s *bittorrent.Service) gin.HandlerFunc
- func Donate(ctx *gin.Context)
- func Download(s *bittorrent.Service) gin.HandlerFunc
- func DownloadAllTorrent(s *bittorrent.Service) gin.HandlerFunc
- func GetCachedTorrents(tmdbID string) ([]*bittorrent.TorrentFile, error)
- func GetEpisodeLabels(showID, seasonNumber, episodeNumber int) (item *xbmc.ListItem, err error)
- func GetMovieLabels(tmdbID string) (item *xbmc.ListItem, err error)
- func GetSearchLabels(s *bittorrent.Service, tmdbID string) (item *xbmc.ListItem, err error)
- func GetTorrentFromParam(s *bittorrent.Service, param string) (*bittorrent.Torrent, error)
- func History(ctx *gin.Context)
- func HistoryClear(ctx *gin.Context)
- func HistoryRemove(ctx *gin.Context)
- func IMDBTop250(ctx *gin.Context)
- func InTorrentsHistory(infohash string) *bittorrent.TorrentFile
- func InTorrentsMap(tmdbID string) *bittorrent.TorrentFile
- func Index(s *bittorrent.Service) gin.HandlerFunc
- func InfoLabelsEpisode(s *bittorrent.Service) gin.HandlerFunc
- func InfoLabelsMovie(s *bittorrent.Service) gin.HandlerFunc
- func InfoLabelsSearch(s *bittorrent.Service) gin.HandlerFunc
- func InfoLabelsStored(s *bittorrent.Service) gin.HandlerFunc
- func ListTorrents(s *bittorrent.Service) gin.HandlerFunc
- func ListTorrentsWeb(s *bittorrent.Service) gin.HandlerFunc
- func MenuAdd(ctx *gin.Context)
- func MenuRemove(ctx *gin.Context)
- func MoveTorrent(s *bittorrent.Service) gin.HandlerFunc
- func MovieCountries(ctx *gin.Context)
- func MovieGenres(ctx *gin.Context)
- func MovieLanguages(ctx *gin.Context)
- func MovieLibrary(ctx *gin.Context)
- func MovieLinks(action string, s *bittorrent.Service) gin.HandlerFunc
- func MovieRun(action string, s *bittorrent.Service) gin.HandlerFunc
- func MoviesIndex(ctx *gin.Context)
- func MoviesMostVoted(ctx *gin.Context)
- func MoviesTraktLists(ctx *gin.Context)
- func OpenCustomPath(ctx *gin.Context)
- func Pastebin(ctx *gin.Context)
- func PauseSession(s *bittorrent.Service) gin.HandlerFunc
- func PauseTorrent(s *bittorrent.Service) gin.HandlerFunc
- func Play(s *bittorrent.Service) gin.HandlerFunc
- func PlayMovie(s *bittorrent.Service) gin.HandlerFunc
- func PlayShow(s *bittorrent.Service) gin.HandlerFunc
- func PlayTorrent(ctx *gin.Context)
- func PlayURI(s *bittorrent.Service) gin.HandlerFunc
- func PopularMovies(ctx *gin.Context)
- func PopularShows(ctx *gin.Context)
- func ProviderCheck(ctx *gin.Context)
- func ProviderDisable(ctx *gin.Context)
- func ProviderEnable(ctx *gin.Context)
- func ProviderFailure(ctx *gin.Context)
- func ProviderGetEpisode(ctx *gin.Context)
- func ProviderGetMovie(ctx *gin.Context)
- func ProviderList(ctx *gin.Context)
- func ProviderSettings(ctx *gin.Context)
- func ProvidersDisableAll(ctx *gin.Context)
- func ProvidersEnableAll(ctx *gin.Context)
- func RecentEpisodes(ctx *gin.Context)
- func RecentMovies(ctx *gin.Context)
- func RecentShows(ctx *gin.Context)
- func RemoveMovie(ctx *gin.Context)
- func RemoveMovieFromCollection(ctx *gin.Context)
- func RemoveMovieFromWatchlist(ctx *gin.Context)
- func RemoveShow(ctx *gin.Context)
- func RemoveShowFromCollection(ctx *gin.Context)
- func RemoveShowFromWatchlist(ctx *gin.Context)
- func RemoveTorrent(s *bittorrent.Service) gin.HandlerFunc
- func ResetCustomPath(ctx *gin.Context)
- func ResetPath(ctx *gin.Context)
- func ResumeSession(s *bittorrent.Service) gin.HandlerFunc
- func ResumeTorrent(s *bittorrent.Service) gin.HandlerFunc
- func Routes(s *bittorrent.Service) *gin.Engine
- func Search(s *bittorrent.Service) gin.HandlerFunc
- func SearchClear(ctx *gin.Context)
- func SearchMovies(ctx *gin.Context)
- func SearchRemove(ctx *gin.Context)
- func SearchShows(ctx *gin.Context)
- func SelectFileTorrent(s *bittorrent.Service, isPlay bool) gin.HandlerFunc
- func SelectNetworkInterface(ctx *gin.Context)
- func SelectStrmLanguage(ctx *gin.Context)
- func SelectTraktUserList(ctx *gin.Context)
- func SetCachedTorrents(tmdbID string, torrents []*bittorrent.TorrentFile) error
- func SetViewMode(ctx *gin.Context)
- func Settings(ctx *gin.Context)
- func ShowEpisodeLinks(action string, s *bittorrent.Service) gin.HandlerFunc
- func ShowEpisodeRun(action string, s *bittorrent.Service) gin.HandlerFunc
- func ShowEpisodes(ctx *gin.Context)
- func ShowSeasonLinks(action string, s *bittorrent.Service) gin.HandlerFunc
- func ShowSeasonRun(action string, s *bittorrent.Service) gin.HandlerFunc
- func ShowSeasons(ctx *gin.Context)
- func Status(ctx *gin.Context)
- func SubtitleGet(ctx *gin.Context)
- func SubtitlesIndex(s *bittorrent.Service) gin.HandlerFunc
- func TVCountries(ctx *gin.Context)
- func TVGenres(ctx *gin.Context)
- func TVIndex(ctx *gin.Context)
- func TVLanguages(ctx *gin.Context)
- func TVLibrary(ctx *gin.Context)
- func TVMostVoted(ctx *gin.Context)
- func TVTraktLists(ctx *gin.Context)
- func TopRatedMovies(ctx *gin.Context)
- func TopRatedShows(ctx *gin.Context)
- func TopTraktLists(ctx *gin.Context)
- func TraktAllMovies(ctx *gin.Context)
- func TraktAllNewShows(ctx *gin.Context)
- func TraktAllPremieres(ctx *gin.Context)
- func TraktAllReleases(ctx *gin.Context)
- func TraktAllShows(ctx *gin.Context)
- func TraktBoxOffice(ctx *gin.Context)
- func TraktHistoryMovies(ctx *gin.Context)
- func TraktHistoryShows(ctx *gin.Context)
- func TraktMostAnticipatedMovies(ctx *gin.Context)
- func TraktMostAnticipatedShows(ctx *gin.Context)
- func TraktMostCollectedMovies(ctx *gin.Context)
- func TraktMostCollectedShows(ctx *gin.Context)
- func TraktMostPlayedMovies(ctx *gin.Context)
- func TraktMostPlayedShows(ctx *gin.Context)
- func TraktMostWatchedMovies(ctx *gin.Context)
- func TraktMostWatchedShows(ctx *gin.Context)
- func TraktMyMovies(ctx *gin.Context)
- func TraktMyNewShows(ctx *gin.Context)
- func TraktMyPremieres(ctx *gin.Context)
- func TraktMyReleases(ctx *gin.Context)
- func TraktMyShows(ctx *gin.Context)
- func TraktPopularMovies(ctx *gin.Context)
- func TraktPopularShows(ctx *gin.Context)
- func TraktProgressShows(ctx *gin.Context)
- func TraktRecommendationsMovies(ctx *gin.Context)
- func TraktRecommendationsShows(ctx *gin.Context)
- func TraktTrendingMovies(ctx *gin.Context)
- func TraktTrendingShows(ctx *gin.Context)
- func URLForHTTP(pattern string, args ...interface{}) string
- func URLForXBMC(pattern string, args ...interface{}) string
- func URLQuery(route string, query ...string) string
- func UnDownloadAllTorrent(s *bittorrent.Service) gin.HandlerFunc
- func UpdateLibrary(ctx *gin.Context)
- func UpdateTrakt(ctx *gin.Context)
- func UserlistMovies(ctx *gin.Context)
- func UserlistShows(ctx *gin.Context)
- func Versions(s *bittorrent.Service) gin.HandlerFunc
- func WatchlistMovies(ctx *gin.Context)
- func WatchlistShows(ctx *gin.Context)
- type Addon
- type ByEnabled
- type ByStatus
- type Menu
- type MenuItem
- type PasteFields
- type PasteProject
- type TorrentsWeb
Constants ¶
This section is empty.
Variables ¶
var ( // MovieMenu represents Custom Movie menu MovieMenu = Menu{Name: "MovieMenu"} // TVMenu represents Custom TV menu TVMenu = Menu{Name: "TVMenu"} )
Functions ¶
func AddToTorrentsMap ¶
func AddToTorrentsMap(tmdbID string, torrent *bittorrent.TorrentFile)
AddToTorrentsMap ...
func ClearDatabaseSearchHistory ¶
ClearDatabaseSearchHistory ...
func ClearDatabaseTorrentHistory ¶
ClearDatabaseTorrentHistory ...
func ContextPlaySelector ¶
func ContextPlaySelector(s *bittorrent.Service) gin.HandlerFunc
ContextPlaySelector ...
func DownloadAllTorrent ¶
func DownloadAllTorrent(s *bittorrent.Service) gin.HandlerFunc
DownloadAllTorrent ...
func GetCachedTorrents ¶
func GetCachedTorrents(tmdbID string) ([]*bittorrent.TorrentFile, error)
GetCachedTorrents searches for torrent entries in the cache
func GetEpisodeLabels ¶
GetEpisodeLabels returnes listitem for an episode
func GetMovieLabels ¶
GetMovieLabels returnes listitem for a movie
func GetSearchLabels ¶
GetSearchLabels returnes listitem for a search query
func GetTorrentFromParam ¶
func GetTorrentFromParam(s *bittorrent.Service, param string) (*bittorrent.Torrent, error)
GetTorrentFromParam ...
func InTorrentsHistory ¶
func InTorrentsHistory(infohash string) *bittorrent.TorrentFile
InTorrentsHistory ...
func InfoLabelsEpisode ¶
func InfoLabelsEpisode(s *bittorrent.Service) gin.HandlerFunc
InfoLabelsEpisode ...
func InfoLabelsMovie ¶
func InfoLabelsMovie(s *bittorrent.Service) gin.HandlerFunc
InfoLabelsMovie ...
func InfoLabelsSearch ¶
func InfoLabelsSearch(s *bittorrent.Service) gin.HandlerFunc
InfoLabelsSearch ...
func InfoLabelsStored ¶
func InfoLabelsStored(s *bittorrent.Service) gin.HandlerFunc
InfoLabelsStored ...
func ListTorrentsWeb ¶
func ListTorrentsWeb(s *bittorrent.Service) gin.HandlerFunc
ListTorrentsWeb ...
func MovieLinks ¶
func MovieLinks(action string, s *bittorrent.Service) gin.HandlerFunc
MovieLinks ...
func RemoveMovieFromCollection ¶
RemoveMovieFromCollection ...
func RemoveMovieFromWatchlist ¶
RemoveMovieFromWatchlist ...
func RemoveShowFromCollection ¶
RemoveShowFromCollection ...
func RemoveShowFromWatchlist ¶
RemoveShowFromWatchlist ...
func SelectFileTorrent ¶
func SelectFileTorrent(s *bittorrent.Service, isPlay bool) gin.HandlerFunc
SelectFileTorrent ...
func SelectNetworkInterface ¶
SelectNetworkInterface ...
func SetCachedTorrents ¶
func SetCachedTorrents(tmdbID string, torrents []*bittorrent.TorrentFile) error
SetCachedTorrents caches torrent search results in cache
func ShowEpisodeLinks ¶
func ShowEpisodeLinks(action string, s *bittorrent.Service) gin.HandlerFunc
ShowEpisodeLinks ...
func ShowEpisodeRun ¶
func ShowEpisodeRun(action string, s *bittorrent.Service) gin.HandlerFunc
ShowEpisodeRun ...
func ShowSeasonLinks ¶
func ShowSeasonLinks(action string, s *bittorrent.Service) gin.HandlerFunc
ShowSeasonLinks ...
func ShowSeasonRun ¶
func ShowSeasonRun(action string, s *bittorrent.Service) gin.HandlerFunc
ShowSeasonRun ...
func TraktMostAnticipatedMovies ¶
TraktMostAnticipatedMovies ...
func TraktMostAnticipatedShows ¶
TraktMostAnticipatedShows ...
func TraktMostCollectedMovies ¶
TraktMostCollectedMovies ...
func TraktMostCollectedShows ¶
TraktMostCollectedShows ...
func TraktMostWatchedMovies ¶
TraktMostWatchedMovies ...
func TraktRecommendationsMovies ¶
TraktRecommendationsMovies ...
func TraktRecommendationsShows ¶
TraktRecommendationsShows ...
func UnDownloadAllTorrent ¶
func UnDownloadAllTorrent(s *bittorrent.Service) gin.HandlerFunc
UnDownloadAllTorrent ...
Types ¶
type Menu ¶
type Menu struct { Name string `json:"name"` AddItems []*MenuItem `json:"add_items"` RemoveItems []*MenuItem `json:"remove_items"` }
Menu ...
type PasteFields ¶
type PasteFields struct { Title string Poster string Syntax string Expiration string Content string }
PasteFields describes [string]string values for projects
type PasteProject ¶
type PasteProject struct { Name string URL string BaseURL string IsJSON bool IsRAW bool Fields PasteFields Values PasteFields }
PasteProject describes each pastebin project
type TorrentsWeb ¶
type TorrentsWeb struct { ID string `json:"id"` Name string `json:"name"` Size string `json:"size"` Status string `json:"status"` Progress float64 `json:"progress"` Ratio float64 `json:"ratio"` TimeRatio float64 `json:"time_ratio"` SeedingTime string `json:"seeding_time"` SeedTime float64 `json:"seed_time"` SeedTimeLimit int `json:"seed_time_limit"` DownloadRate float64 `json:"download_rate"` UploadRate float64 `json:"upload_rate"` Seeders int `json:"seeders"` SeedersTotal int `json:"seeders_total"` Peers int `json:"peers"` PeersTotal int `json:"peers_total"` }
TorrentsWeb ...