Package | Description |
---|---|
org.stanwood.media.source.xbmc | |
org.stanwood.media.source.xbmc.updater |
Modifier and Type | Class and Description |
---|---|
class |
XBMCFunctionNotFoundException
This is thrown if the function is not found within a extension
|
class |
XBMCUpdaterException
Thrown if their is a problem related XBMC updater
|
Modifier and Type | Method and Description |
---|---|
boolean |
XBMCAddon.checkCondition(java.lang.String expression)
Used to evaluate a expression making use of the addon settings.
|
java.lang.String |
XBMCAddon.executeFunction(XBMCAddon rootAddon,
java.lang.String functionName)
Used to execute a scraper function
|
java.lang.String |
XBMCExtension.executeXBMCFunction(XBMCAddon rootAddon,
org.w3c.dom.Element functionNode)
Used to execute a XBMC function
|
java.lang.String |
XBMCLibrary.executeXBMCScraperFunction(XBMCAddon rootAddon,
java.lang.String functionName)
Used to execute a XBMC function
|
java.lang.String |
XBMCScraper.executeXBMCScraperFunction(XBMCAddon rootAddon,
java.lang.String functionName)
Used to execute a scraper function
|
abstract java.lang.String |
XBMCExtension.executeXBMCScraperFunction(XBMCAddon rootAddon,
java.lang.String functionName)
Used to execute a XBMC function
|
XBMCAddon |
XBMCAddon.findAddonWithFunction(XBMCAddon rootAddon,
java.lang.String functionName)
Uses to find the addon that contains the function
|
org.w3c.dom.Element |
XBMCAddon.findFunction(XBMCAddon rootAddon,
java.lang.String functionName)
Uses to find a function in the scrapers
|
org.w3c.dom.Element |
XBMCLibrary.findXBMCScraperFunction(XBMCAddon rootAddon,
java.lang.String functionName)
Used to find the scraper function
|
org.w3c.dom.Element |
XBMCScraper.findXBMCScraperFunction(XBMCAddon rootAddon,
java.lang.String functionName)
Used to find the scraper function
|
abstract org.w3c.dom.Element |
XBMCExtension.findXBMCScraperFunction(XBMCAddon rootAddon,
java.lang.String functionName)
Used to find the scraper function
|
XBMCAddon |
XBMCAddonManager.getAddon(java.lang.String id)
Used to get a addon
|
protected java.lang.String |
XBMCAddon.getAddonSetting(java.lang.String key) |
org.w3c.dom.Document |
XBMCScraper.getCreateSearchUrl(XBMCAddon rootAddon,
java.lang.String searchTerm,
java.lang.String year)
Used to get the URL which should be used to search
|
java.lang.String |
XBMCAddonManager.getDefaultAddonID(Mode mode)
Used to get the default source ID
|
java.lang.String |
XBMCAddon.getDescription()
Used to get the description of the addon
|
protected org.w3c.dom.Document |
XBMCExtension.getDocument() |
org.w3c.dom.Document |
XBMCScraper.getEpisodeGuideUrl(XBMCAddon rootAddon,
java.lang.String rawHtml)
Used to get the episode guide URL
|
org.w3c.dom.Document |
XBMCScraper.getGetDetails(XBMCAddon rootAddon,
java.io.File file,
java.lang.String... contents)
Used to get the show/film details as a XML document.
|
org.w3c.dom.Document |
XBMCScraper.getGetEpisodeDetails(XBMCAddon rootAddon,
java.lang.String contents,
java.lang.String episodeId)
Used to get the details of the a episode.
|
org.w3c.dom.Document |
XBMCScraper.getGetEpisodeList(XBMCAddon rootAddon,
java.lang.String html,
java.net.URL showURL)
Used to get a list of the the episodes in a show
|
org.w3c.dom.Document |
XBMCScraper.getGetSearchResults(XBMCAddon rootAddon,
java.lang.String rawHtml,
java.lang.String searchTerm)
This function is used to get a XML document of the search results.
|
java.lang.String |
XBMCAddon.getId()
Used to get the id of the addon
|
java.lang.String |
XBMCAddon.getInfoSetting(java.lang.String key)
Used to get the value of a info setting
|
java.lang.String |
XBMCAddon.getName()
Used to get the name of the addon
|
boolean |
XBMCScraper.getNfoUrl(XBMCAddon rootAddon,
java.lang.String contents)
Used to get a Show or film URL from the contents of a NFO file.
|
java.lang.String |
XBMCAddon.getProviderName()
Used to get the provider name of the addon
|
java.util.List<XBMCAddon> |
XBMCAddon.getRquiredAddons()
Used to get a list of required addons by this addon
|
XBMCScraper |
XBMCAddon.getScraper(Mode mode)
Used to get the scraper class that will read data using the XBMC XML scraper files
|
Value |
XBMCAddon.getSetting(java.lang.String id)
Used to get the value of a addon setting
|
java.lang.String |
XBMCAddon.getSummary()
Used to get the summary of the addon
|
Version |
XBMCAddon.getVersion()
Used to get the version of the addon
|
boolean |
XBMCAddon.hasScrapers()
Used to find out if the extension has scrappers
|
protected void |
XBMCAddonManager.init(IXBMCUpdater updater) |
boolean |
XBMCAddonManager.isFirstTime()
Checks if this is the first time the application has been run.
|
void |
XBMCAddonManager.registerAddons()
Used to register all the XBMC addons that are found in the addon directory
|
void |
XBMCAddon.setSetting(java.lang.String key,
java.lang.String expression)
Used to assign a value to a variable which are used as settings.
|
boolean |
XBMCAddon.supportsMode(Mode mode)
Used o find out if the scraper supports a given mode
|
Constructor and Description |
---|
XBMCAddon(XBMCAddonManager addonMgr,
java.io.File addonDir,
java.util.Locale locale)
Used to create a instance of the addon class
|
XBMCAddonManager(ConfigReader config)
Used to create a instance of the addon manager
|
XBMCAddonManager(ConfigReader config,
IXBMCUpdater updater,
boolean doInit) |
XBMCSource(ExtensionInfo<? extends ISource> sourceInfo,
XBMCAddonManager mgr,
java.lang.String addonId)
Used to create a instance of this class
|
XBMCSourceInfo(XBMCAddonManager mgr,
XBMCAddon addon)
The constructor
|
Modifier and Type | Method and Description |
---|---|
int |
XBMCWebUpdater.installAddons(IConsole console,
java.util.Set<java.lang.String> addonIds)
Used to install a list of addons
|
int |
IXBMCUpdater.installAddons(IConsole console,
java.util.Set<java.lang.String> addonIds)
Used to install a list of addons
|
int |
XBMCWebUpdater.update(IConsole console)
Update all addons to the latest version
|
int |
IXBMCUpdater.update(IConsole console)
Update all addons to the latest version
|
int |
XBMCWebUpdater.update(IConsole console,
java.util.Set<java.lang.String> pluginList)
Update a list of addons to the latest version and the addons they depend on
|
int |
IXBMCUpdater.update(IConsole console,
java.util.Set<java.lang.String> addonList)
Update a list of addons to the latest version and the addons they depend on
|
protected int |
XBMCWebUpdater.updatePlugins(IConsole console,
java.io.File newAddon,
java.util.Set<java.lang.String> plugins) |
Constructor and Description |
---|
XBMCWebUpdater(ConfigReader config)
The constructor
|