Trakt Provider
Types
Properties
Set false if links require referer or for some reason cant be played on a chromecast
If all links are encrypted then set this to false
If link is stored in the "data" string, so links can be instantly loaded
used to keep track when last homepage request was in unixtime ms
if this is turned on then it will request the homepage one after the other, used to delay if they block many request at the same time
in milliseconds, this can be used to add more delay between homepage requests on first load if sequentialMainPage is turned on
in milliseconds, this can be used to add more delay between homepage requests when scrolling
Determines which plugin a given provider is from. This is the full path to the plugin.
A set of which ids the provider can open with getLoadUrl() If the set contains SyncIdName.Imdb then getLoadUrl() can be started with an Imdb class which inherits from SyncId.
Used for testing and can be used to disable the providers if WebView is not available
Functions
Largely redundant feature for most providers.
Get the load() url based on a sync ID like IMDb or MAL. Only contains SyncIds based on supportedSyncUrls.
An okhttp interceptor for used in OkHttpDataSource
Based on data from search() or getMainPage() it generates a LoadResponse, basically opening the info page from a link.
Callback is fired once a link is found, will return true if method is executed successfully