Package | Description |
---|---|
org.stanwood.media | |
org.stanwood.media.search | |
org.stanwood.media.source | |
org.stanwood.media.source.xbmc |
Modifier and Type | Method and Description |
---|---|
IEpisode |
MediaDirectory.getEpisode(java.io.File rootMediaDir,
java.io.File episodeFile,
ISeason season,
java.util.List<java.lang.Integer> episodeNums,
boolean refresh,
boolean storeIfNew)
Get a episode with a given episode number.
|
IFilm |
MediaDirectory.getFilm(java.io.File rootMediaDir,
java.io.File filmFile,
SearchResult searchResult,
boolean refresh,
boolean cacheIfNew)
Get a film with a given film id and source id.
|
ISeason |
MediaDirectory.getSeason(java.io.File rootMediaDir,
java.io.File episodeFile,
IShow show,
int seasonNum,
boolean refresh)
Get a season with a given season number.
|
IShow |
MediaDirectory.getShow(java.io.File rootMediaDir,
java.io.File episodeFile,
SearchResult searchResult,
boolean refresh)
Get a show with a given show id and source id.
|
IEpisode |
MediaDirectory.getSpecial(java.io.File rootMediaDir,
java.io.File specialFile,
ISeason season,
java.util.List<java.lang.Integer> specialNums,
boolean refresh)
Get a special episode with a given special episode number.
|
SearchResult |
MediaDirectory.searchForVideoId(java.io.File mediaFile,
boolean useSources)
This will search for a show id in the stores and sources.
|
Modifier and Type | Method and Description |
---|---|
protected abstract SearchResult |
AbstractMediaSearcher.doSearch(java.io.File mediaFile,
java.lang.String term,
java.lang.String year,
java.lang.Integer part,
boolean useSources)
Used todo a search on the term and the year and return the result
|
SearchResult |
AbstractMediaSearcher.search(java.io.File mediaFile,
MediaDirectory mediaDir,
boolean useSources)
Used to search for a media id
|
SearchResult |
IMediaSearcher.search(java.io.File mediaFile,
MediaDirectory mediaDir,
boolean useSources)
Used to search for a media id
|
Modifier and Type | Method and Description |
---|---|
IEpisode |
ISource.getEpisode(ISeason season,
int episodeNum,
java.io.File file)
Called to retrieve the information on a episode
|
Film |
TagChimpSource.getFilm(java.lang.String filmId,
java.net.URL url,
java.io.File file)
This will get a film from the source.
|
IFilm |
HybridFilmSource.getFilm(java.lang.String filmId,
java.net.URL url,
java.io.File file)
This will get a film from the source.
|
IFilm |
ISource.getFilm(java.lang.String filmId,
java.net.URL url,
java.io.File filmFile)
This will get a film from the source.
|
java.lang.String |
TagChimpSource.getParameter(java.lang.String key)
Used to get the value of a source parameter.
|
java.lang.String |
HybridFilmSource.getParameter(java.lang.String key)
Used to get the value of a source parameter.
|
java.lang.String |
ISource.getParameter(java.lang.String key)
Used to get the value of a source parameter.
|
ISeason |
ISource.getSeason(IShow show,
int seasonNum,
java.io.File file)
This will get a season from the source.
|
IShow |
ISource.getShow(java.lang.String showId,
java.net.URL url,
java.io.File file)
This will get a show from the source.
|
IEpisode |
ISource.getSpecial(ISeason season,
int specialNumber,
java.io.File file)
This gets a special episode from the source.
|
Stream |
TagChimpSource.getStreamToURL(java.net.URL url)
Used to download a URL to a stream
|
SearchResult |
TagChimpSource.searchMedia(java.lang.String name,
java.lang.String year,
Mode mode,
java.lang.Integer part)
This is called to search the source for media details
|
SearchResult |
HybridFilmSource.searchMedia(java.lang.String name,
java.lang.String year,
Mode mode,
java.lang.Integer part)
This is called to search the source for media details
|
SearchResult |
ISource.searchMedia(java.lang.String name,
java.lang.String year,
Mode mode,
java.lang.Integer part)
This is called to search the source for media details
|
void |
TagChimpSource.setMediaDirConfig(MediaDirectory dir)
Called to tell the source which media directory is been processed
|
void |
HybridFilmSource.setMediaDirConfig(MediaDirectory dir)
Called to tell the source which media directory is been processed
|
void |
ISource.setMediaDirConfig(MediaDirectory dir)
Called to tell the source which media directory is been processed
|
void |
TagChimpSource.setParameter(java.lang.String key,
java.lang.String value)
Used to set source parameters.
|
void |
HybridFilmSource.setParameter(java.lang.String key,
java.lang.String value)
Used to set source parameters.
|
void |
ISource.setParameter(java.lang.String key,
java.lang.String value)
Used to set source parameters.
|
Constructor and Description |
---|
HybridFilmSource(HybridFilmSourceInfo sourceInfo)
Used to create a instance of the source
|
Modifier and Type | Class and Description |
---|---|
class |
XBMCException
Thrown if their is a problem related XBMC addons
|
class |
XBMCFunctionNotFoundException
This is thrown if the function is not found within a extension
|
class |
XBMCHttpResponseError
Thrown when their is a error fetching XBMC URL's
|
class |
XBMCUpdaterException
Thrown if their is a problem related XBMC updater
|
Modifier and Type | Method and Description |
---|---|
IEpisode |
XBMCSource.getEpisode(ISeason season,
int episodeNum,
java.io.File file)
Called to retrieve the information on a episode
|
Film |
XBMCSource.getFilm(java.lang.String filmId,
java.net.URL url,
java.io.File file)
This will get a film from the source.
|
java.lang.String |
XBMCSource.getParameter(java.lang.String key)
Used to get the value of a source parameter.
|
ISeason |
XBMCSource.getSeason(IShow show,
int seasonNum,
java.io.File file)
This will get a season from the source.
|
Show |
XBMCSource.getShow(java.lang.String showId,
java.net.URL url,
java.io.File file)
This will get a show from the source.
|
IEpisode |
XBMCSource.getSpecial(ISeason season,
int specialNumber,
java.io.File file)
This gets a special episode from the source.
|
Stream |
XBMCAddonManager.getStreamToURL(java.net.URL url)
This will get a input stream to the contents pointed at by the URL
|
Stream |
IContentFetcher.getStreamToURL(java.net.URL url)
This method should be implemented to fetch content from a URL
|
void |
StreamProcessor.handleStream()
Called to process the stream.
|
abstract void |
StreamProcessor.processContents(java.lang.String contents)
This method is called each time a streams contents are read.
|
SearchResult |
XBMCSource.searchMedia(java.lang.String name,
java.lang.String year,
Mode mode,
java.lang.Integer part)
This is called to search the source for media details
|
void |
XBMCSource.setMediaDirConfig(MediaDirectory dir)
Called to tell the source which media directory is been processed
|
void |
XBMCSource.setParameter(java.lang.String key,
java.lang.String value)
Used to set source parameters.
|
boolean |
XBMCScraper.supportsURL(XBMCAddon rootAddon,
java.net.URL url)
This method is used to check if the scraper can be used for the episode details URL
|