Modifier and Type | Method and Description |
---|---|
void |
MediaDirectory.fileChanged(java.io.File file)
This is called to notify stores that a file has changed.
|
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.
|
void |
MediaDirectory.renamedFile(java.io.File rootMediaDir,
java.io.File oldFile,
java.io.File newFile)
This is used when a file that holds a episode or film has been renamed
|
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 |
---|---|
protected java.util.Map<java.io.File,java.util.List<java.io.File>> |
ImportMediaCommand.setupStoresAndActions() |
Modifier and Type | Method and Description |
---|---|
void |
IStore.aboutToRenamedFile(java.io.File rootMediaDir,
java.io.File oldFile,
java.io.File newFile)
This is used when a file that holds a episode or film is about to be renamed
|
void |
SapphireStore.aboutToRenamedFile(java.io.File rootMediaDir,
java.io.File oldFile,
java.io.File newFile)
This is used when a file that holds a episode or film is about to be renamed
|
void |
IStore.cacheEpisode(java.io.File rootMediaDir,
java.io.File episodeFile,
java.io.File orginalFile,
IEpisode episode)
This is used to write a episode or special too the store
|
void |
SapphireStore.cacheEpisode(java.io.File rootMediaDir,
java.io.File episodeFile,
java.io.File oldFileName,
IEpisode episode)
This will store the episode and show details in a XML file next too the media file.
|
void |
IStore.cacheFilm(java.io.File rootMediaDir,
java.io.File filmFile,
java.io.File orginalFile,
IFilm film,
java.lang.Integer part)
This is used to write a film to the store.
|
void |
SapphireStore.cacheFilm(java.io.File rootMediaDir,
java.io.File filmFile,
java.io.File oldFileName,
IFilm film,
java.lang.Integer part)
This is used to write a film to the store.
|
void |
IStore.cacheSeason(java.io.File rootMediaDir,
java.io.File episodeFile,
ISeason season)
This is used to write a season too the store.
|
void |
IStore.cacheShow(java.io.File rootMediaDir,
java.io.File episodeFile,
IShow show)
This is used to write a show too the store.
|
void |
IStore.fileDeleted(MediaDirectory dir,
java.io.File file)
This is called when a file is deleted from a media directory
|
void |
SapphireStore.fileDeleted(MediaDirectory dir,
java.io.File file)
This is called when a file is deleted from a media directory
|
boolean |
IStore.fileKnownByStore(MediaDirectory mediaDirectory,
java.io.File file)
Used to check that a media file is known by a store
|
boolean |
SapphireStore.fileKnownByStore(MediaDirectory mediaDirectory,
java.io.File file)
Used to check that a media file is known by a store
|
void |
IStore.fileUpdated(MediaDirectory mediaDirectory,
java.io.File file)
This is called when a file is updated within a media directory.
|
void |
SapphireStore.fileUpdated(MediaDirectory mediaDirectory,
java.io.File file)
This is called when a file is updated within a media directory.
|
IEpisode |
IStore.getEpisode(java.io.File rootMediaDir,
java.io.File episodeFile,
ISeason season,
java.util.List<java.lang.Integer> episodeNums)
This gets a episode from the store.
|
IEpisode |
IStore.getEpisode(MediaDirectory dir,
java.io.File file)
This is used to get a episode from a store via it's file name.
|
IEpisode |
SapphireStore.getEpisode(MediaDirectory dir,
java.io.File file)
This is used to get a episode from a store via it's file name.
|
IFilm |
IStore.getFilm(java.io.File rootMediaDir,
java.io.File filmFile,
java.lang.String filmId)
This will get a film from the store.
|
IFilm |
SapphireStore.getFilm(java.io.File rootMediaDir,
java.io.File filmFile,
java.lang.String filmId)
Always returns null as it is not implemented for this store.
|
IFilm |
IStore.getFilm(MediaDirectory dir,
java.io.File file)
This is used to get a film from a store via it's file name.
|
IFilm |
SapphireStore.getFilm(MediaDirectory dir,
java.io.File file)
This is used to get a film from a store via it's file name.
|
java.lang.String |
IStore.getParameter(java.lang.String key)
Used to get the value of a source parameter.
|
ISeason |
IStore.getSeason(java.io.File rootMediaDir,
java.io.File episodeFile,
IShow show,
int seasonNum)
This will get a season from the store.
|
IShow |
IStore.getShow(java.io.File rootMediaDir,
java.io.File episodeFile,
java.lang.String showId)
This will get a show from the store.
|
IEpisode |
IStore.getSpecial(java.io.File rootMediaDir,
java.io.File episodeFile,
ISeason season,
java.util.List<java.lang.Integer> specialNumbers)
This gets a special episode from the store.
|
void |
IStore.init()
Called to initialise the stores and check all their resources can be found.
|
void |
SapphireStore.init()
Called to initialise the stores and check all their resources can be found.
|
java.util.Collection<IEpisode> |
IStore.listEpisodes(MediaDirConfig dirConfig,
IProgressMonitor monitor)
This is used to list all the episodes within the store if the store supports the operation.
|
java.util.Collection<IFilm> |
IStore.listFilms(MediaDirConfig dirConfig,
IProgressMonitor monitor)
This is used to list all the films within the store if the store supports the operation.
|
void |
IStore.performedActions(MediaDirectory dir)
This is called after all the actions on all the media files have been performed so that
the store can clean up any stale data.
|
void |
IStore.renamedFile(java.io.File rootMediaDir,
java.io.File oldFile,
java.io.File newFile)
This is used when a file that holds a episode or film has been renamed
|
SearchResult |
IStore.searchMedia(java.lang.String name,
Mode mode,
java.lang.Integer part,
MediaDirConfig dirConfig,
java.io.File mediaFile)
Used to search for store for media
|
SearchResult |
SapphireStore.searchMedia(java.lang.String name,
Mode mode,
java.lang.Integer part,
MediaDirConfig dirConfig,
java.io.File mediaFile)
Used to search for store for media
|
void |
IStore.setParameter(java.lang.String key,
java.lang.String value)
Used to set source parameters.
|
void |
IStore.upgrade(MediaDirectory mediaDirectory)
This is called to check if a upgrade is needed and perform the upgrade if required
|
Modifier and Type | Method and Description |
---|---|
void |
DatabaseStore.aboutToRenamedFile(java.io.File rootMediaDir,
java.io.File oldFile,
java.io.File newFile)
This is used when a file that holds a episode or film is about to be renamed
|
protected void |
DatabaseStore.beginTransaction() |
void |
DatabaseStore.cacheEpisode(java.io.File rootMediaDir,
java.io.File episodeFile,
java.io.File oldFileName,
IEpisode episode)
This is used to write a episode or special too the store
|
protected void |
DatabaseStore.cacheEpisodeNoTrans(java.io.File rootMediaDir,
java.io.File episodeFile,
java.io.File oldFileName,
IEpisode episode) |
void |
DatabaseStore.cacheFilm(java.io.File rootMediaDir,
java.io.File filmFile,
java.io.File oldFileName,
IFilm film,
java.lang.Integer part)
This is used to write a film to the store.
|
void |
DatabaseStore.cacheSeason(java.io.File rootMediaDir,
java.io.File episodeFile,
ISeason season)
This is used to write a season too the store.
|
protected void |
DatabaseStore.cacheSeasonNoTrans(java.io.File rootMediaDir,
java.io.File episodeFile,
ISeason season) |
void |
DatabaseStore.cacheShow(java.io.File rootMediaDir,
java.io.File episodeFile,
IShow show) |
void |
DatabaseStore.fileDeleted(MediaDirectory dir,
java.io.File file)
This is called when a file is deleted from a media directory
|
boolean |
DatabaseStore.fileKnownByStore(MediaDirectory mediaDirectory,
java.io.File file)
Used to check that a media file is known by a store
|
void |
DatabaseStore.fileUpdated(MediaDirectory mediaDirectory,
java.io.File file)
This is called when a file is updated within a media directory.
|
IEpisode |
DatabaseStore.getEpisode(java.io.File rootMediaDir,
java.io.File episodeFile,
ISeason season,
java.util.List<java.lang.Integer> episodeNums)
This gets a episode from the store.
|
IEpisode |
DatabaseStore.getEpisode(MediaDirectory dir,
java.io.File file)
This is used to get a episode from a store via it's file name.
|
IFilm |
DatabaseStore.getFilm(java.io.File rootMediaDir,
java.io.File filmFile,
java.lang.String filmId)
This will get a film from the store.
|
IFilm |
DatabaseStore.getFilm(MediaDirectory dir,
java.io.File file)
This is used to get a film from a store via it's file name.
|
java.lang.String |
FileDatabaseStore.getParameter(java.lang.String key)
Used to get the value of a source parameter.
|
java.lang.String |
DatabaseStore.getParameter(java.lang.String key)
Used to get the value of a source parameter.
|
ISeason |
DatabaseStore.getSeason(java.io.File rootMediaDir,
java.io.File episodeFile,
IShow show,
int seasonNum)
This will get a season from the store.
|
IShow |
DatabaseStore.getShow(java.io.File rootMediaDir,
java.io.File episodeFile,
java.lang.String showId)
This will get a show from the store.
|
IEpisode |
DatabaseStore.getSpecial(java.io.File rootMediaDir,
java.io.File episodeFile,
ISeason season,
java.util.List<java.lang.Integer> specialNumbers)
This gets a special episode from the store.
|
void |
FileDatabaseStore.init()
Called to initialise the stores and check all their resources can be found.
|
void |
DatabaseStore.init()
Called to initialise the stores and check all their resources can be found.
|
protected void |
DatabaseStore.init(DBResource resource) |
java.util.Collection<IEpisode> |
DatabaseStore.listEpisodes(MediaDirConfig dirConfig,
IProgressMonitor monitor)
This is used to list all the episodes within the store if the store supports the operation.
|
java.util.Collection<IFilm> |
DatabaseStore.listFilms(MediaDirConfig dirConfig,
IProgressMonitor monitor)
This is used to list all the films within the store if the store supports the operation.
|
void |
DatabaseStore.performedActions(MediaDirectory dir)
This is called after all the actions on all the media files have been performed so that
the store can clean up any stale data.
|
void |
DatabaseStore.renamedFile(java.io.File rootMediaDir,
java.io.File oldFile,
java.io.File newFile)
This is used when a file that holds a episode or film has been renamed
|
SearchResult |
DatabaseStore.searchMedia(java.lang.String name,
Mode mode,
java.lang.Integer part,
MediaDirConfig dirConfig,
java.io.File mediaFile)
Used to search for store for media
|
void |
FileDatabaseStore.setParameter(java.lang.String key,
java.lang.String value)
Used to set source parameters.
|
void |
DatabaseStore.setParameter(java.lang.String key,
java.lang.String value)
Used to set source parameters.
|
void |
DatabaseStore.upgrade(MediaDirectory mediaDirectory)
This is called to check if a upgrade is needed and perform the upgrade if required
|
Modifier and Type | Method and Description |
---|---|
void |
MemoryStore.aboutToRenamedFile(java.io.File rootMediaDir,
java.io.File oldFile,
java.io.File newFile)
This is used when a file that holds a episode or film is about to be renamed
|
void |
MemoryStore.cacheEpisode(java.io.File rootMediaDir,
java.io.File episodeFile,
java.io.File oldFileName,
IEpisode episode)
This does nothing as it's all done by the cacheSeason and cacheShow methods
|
void |
MemoryStore.cacheFilm(java.io.File rootMediaDir,
java.io.File filmFile,
java.io.File oldFileName,
IFilm film,
java.lang.Integer part)
This is used to write a film to the store.
|
void |
MemoryStore.cacheSeason(java.io.File rootMediaDir,
java.io.File episodeFile,
ISeason season)
This is used to write a season too the store.
|
void |
MemoryStore.cacheShow(java.io.File rootMediaDir,
java.io.File episodeFile,
IShow show)
This is used to write a show too the store.
|
boolean |
MemoryStore.fileKnownByStore(MediaDirectory mediaDirectory,
java.io.File file)
Used to check that a media file is known by a store
|
void |
MemoryStore.fileUpdated(MediaDirectory mediaDirectory,
java.io.File file)
This is called when a file is updated within a media directory.
|
IEpisode |
MemoryStore.getEpisode(java.io.File rootMediaDir,
java.io.File episodeFile,
ISeason season,
java.util.List<java.lang.Integer> episodeNums)
This gets a episode from the store.
|
IEpisode |
MemoryStore.getEpisode(MediaDirectory dir,
java.io.File file)
This is used to get a episode from a store via it's file name.
|
IFilm |
MemoryStore.getFilm(java.io.File rootMediaDir,
java.io.File filmFile,
java.lang.String filmId)
Used to read a film from the store.
|
IFilm |
MemoryStore.getFilm(MediaDirectory dir,
java.io.File file)
This is used to get a film from a store via it's file name.
|
ISeason |
MemoryStore.getSeason(java.io.File rootMediaDir,
java.io.File episodeFile,
IShow show,
int seasonNum)
This will get the season from the store
|
Show |
MemoryStore.getShow(java.io.File rootMediaDir,
java.io.File episodeFile,
java.lang.String showId)
This will get a show from the store.
|
IEpisode |
MemoryStore.getSpecial(java.io.File rootMediaDir,
java.io.File episodeFile,
ISeason season,
java.util.List<java.lang.Integer> specialNumbers)
This gets a special episode from the store.
|
void |
MemoryStore.init()
Called to initialise the stores and check all their resources can be found.
|
SearchResult |
MemoryStore.searchMedia(java.lang.String name,
Mode mode,
java.lang.Integer part,
MediaDirConfig dirConfig,
java.io.File mediaFile)
Used to search for store for media
|
Modifier and Type | Method and Description |
---|---|
void |
MP4ITunesStore.aboutToRenamedFile(java.io.File rootMediaDir,
java.io.File oldFile,
java.io.File newFile)
This is used when a file that holds a episode or film is about to be renamed
|
void |
MP4ITunesStore.cacheEpisode(java.io.File rootMediaDir,
java.io.File episodeFile,
java.io.File oldFileName,
IEpisode episode)
This is used to store episode information of a TVShow MP4 file into the
file as meta data so that iTunes can read it.
|
void |
MP4ITunesStore.cacheFilm(java.io.File rootMediaDir,
java.io.File filmFile,
java.io.File oldFileName,
IFilm film,
java.lang.Integer part)
This is used to write a film to the store.
|
void |
MP4ITunesStore.cacheSeason(java.io.File rootMediaDir,
java.io.File episodeFile,
ISeason season)
This does nothing as the season information can't be stored by this store
|
void |
MP4ITunesStore.cacheShow(java.io.File rootMediaDir,
java.io.File episodeFile,
IShow show)
This does nothing as the show information can't be stored by this store
|
boolean |
MP4ITunesStore.fileKnownByStore(MediaDirectory mediaDirectory,
java.io.File file)
Used to check that a media file is known by a store
|
void |
MP4ITunesStore.fileUpdated(MediaDirectory mediaDirectory,
java.io.File file)
This is called when a file is updated within a media directory.
|
IEpisode |
MP4ITunesStore.getEpisode(java.io.File rootMediaDir,
java.io.File episodeFile,
ISeason season,
java.util.List<java.lang.Integer> episodeNums)
This will always return null as this is a write only store
|
IEpisode |
MP4ITunesStore.getEpisode(MediaDirectory dir,
java.io.File file)
This is used to get a episode from a store via it's file name.
|
IFilm |
MP4ITunesStore.getFilm(java.io.File rootMediaDir,
java.io.File filmFile,
java.lang.String filmId)
Always returns null as it is not implemented for this store.
|
IFilm |
MP4ITunesStore.getFilm(MediaDirectory dir,
java.io.File file)
This is used to get a film from a store via it's file name.
|
java.lang.String |
MP4ITunesStore.getParameter(java.lang.String key)
Used to get the value of a source parameter.
|
ISeason |
MP4ITunesStore.getSeason(java.io.File rootMediaDir,
java.io.File episodeFile,
IShow show,
int seasonNum)
This will always return null as this is a write only store
|
IShow |
MP4ITunesStore.getShow(java.io.File rootMediaDir,
java.io.File episodeFile,
java.lang.String showId)
This will always return null as this is a write only store
|
IEpisode |
MP4ITunesStore.getSpecial(java.io.File rootMediaDir,
java.io.File episodeFile,
ISeason season,
java.util.List<java.lang.Integer> specialNumbers)
This will always return null as this is a write only store
|
void |
MP4ITunesStore.init()
Called to initialise the stores and check all their resources can be found.
|
protected java.util.Properties |
MP4ITunesStore.readStoreConfig(MediaDirectory mediaDirectory,
java.io.File configFile) |
protected void |
MP4ITunesStore.saveStoreVersion(MediaDirectory mediaDirectory) |
SearchResult |
MP4ITunesStore.searchMedia(java.lang.String name,
Mode mode,
java.lang.Integer part,
MediaDirConfig dirConfig,
java.io.File mediaFile)
Used to search for store for media
|
void |
MP4ITunesStore.setParameter(java.lang.String key,
java.lang.String value)
Used to set source parameters.
|
void |
MP4ITunesStore.upgrade(MediaDirectory mediaDirectory)
This is called to check if a upgrade is needed and perform the upgrade if required
|
Modifier and Type | Method and Description |
---|---|
void |
RemoteMacOSXItunesStore.aboutToRenamedFile(java.io.File rootMediaDir,
java.io.File oldFile,
java.io.File newFile)
This is used when a file that holds a episode or film is about to be renamed
|
void |
RemoteMacOSXItunesStore.cacheEpisode(java.io.File rootMediaDir,
java.io.File episodeFile,
java.io.File oldFileName,
IEpisode episode)
This is used to write a episode or special too the store
|
void |
RemoteMacOSXItunesStore.cacheFilm(java.io.File rootMediaDir,
java.io.File filmFile,
java.io.File oldFileName,
IFilm film,
java.lang.Integer part)
This is used to write a film to the store.
|
void |
RemoteMacOSXItunesStore.cacheSeason(java.io.File rootMediaDir,
java.io.File episodeFile,
ISeason season)
This is used to write a season too the store.
|
void |
RemoteMacOSXItunesStore.cacheShow(java.io.File rootMediaDir,
java.io.File episodeFile,
IShow show)
This is used to write a show too the store.
|
void |
ITunesRemoteClient.connect(java.net.InetAddress hostname,
int port)
Used to connect to the server
|
void |
RemoteMacOSXItunesStore.fileDeleted(MediaDirectory dir,
java.io.File file)
This is called when a file is deleted from a media directory
|
boolean |
RemoteMacOSXItunesStore.fileKnownByStore(MediaDirectory mediaDirectory,
java.io.File file)
Used to check that a media file is known by a store
|
void |
RemoteMacOSXItunesStore.fileUpdated(MediaDirectory mediaDirectory,
java.io.File file)
This is called when a file is updated within a media directory.
|
IEpisode |
RemoteMacOSXItunesStore.getEpisode(java.io.File rootMediaDir,
java.io.File episodeFile,
ISeason season,
java.util.List<java.lang.Integer> episodeNums)
This gets a episode from the store.
|
IEpisode |
RemoteMacOSXItunesStore.getEpisode(MediaDirectory dir,
java.io.File file)
This is used to get a episode from a store via it's file name.
|
IFilm |
RemoteMacOSXItunesStore.getFilm(java.io.File rootMediaDir,
java.io.File filmFile,
java.lang.String filmId)
This will get a film from the store.
|
IFilm |
RemoteMacOSXItunesStore.getFilm(MediaDirectory dir,
java.io.File file)
This is used to get a film from a store via it's file name.
|
java.lang.String |
RemoteMacOSXItunesStore.getParameter(java.lang.String key)
Used to get the value of a source parameter.
|
ISeason |
RemoteMacOSXItunesStore.getSeason(java.io.File rootMediaDir,
java.io.File episodeFile,
IShow show,
int seasonNum)
This will get a season from the store.
|
IShow |
RemoteMacOSXItunesStore.getShow(java.io.File rootMediaDir,
java.io.File episodeFile,
java.lang.String showId)
This will get a show from the store.
|
IEpisode |
RemoteMacOSXItunesStore.getSpecial(java.io.File rootMediaDir,
java.io.File episodeFile,
ISeason season,
java.util.List<java.lang.Integer> specialNumbers)
This gets a special episode from the store.
|
void |
RemoteMacOSXItunesStore.init()
Called to initialise the stores and check all their resources can be found.
|
java.util.Collection<IEpisode> |
RemoteMacOSXItunesStore.listEpisodes(MediaDirConfig dirConfig,
IProgressMonitor monitor)
This is used to list all the episodes within the store if the store supports the operation.
|
java.util.Collection<IFilm> |
RemoteMacOSXItunesStore.listFilms(MediaDirConfig dirConfig,
IProgressMonitor monitor)
This is used to list all the films within the store if the store supports the operation.
|
void |
ITunesRemoteClient.login(java.lang.String username,
java.lang.String password)
Used to login to the server
|
void |
RemoteMacOSXItunesStore.performedActions(MediaDirectory dir)
This is called after all the actions on all the media files have been performed so that
the store can clean up any stale data.
|
void |
RemoteMacOSXItunesStore.renamedFile(java.io.File rootMediaDir,
java.io.File oldFile,
java.io.File newFile)
This is used when a file that holds a episode or film has been renamed
|
SearchResult |
RemoteMacOSXItunesStore.searchMedia(java.lang.String name,
Mode mode,
java.lang.Integer part,
MediaDirConfig dirConfig,
java.io.File mediaFile)
Used to search for store for media
|
void |
ITunesRemoteClient.sendCommand(java.lang.String cmd,
int expectedCode,
long timeout)
Used to send a command to the server
|
void |
RemoteMacOSXItunesStore.setParameter(java.lang.String key,
java.lang.String value)
Used to set source parameters.
|
protected void |
RemoteMacOSXItunesStore.updateItunes() |
void |
RemoteMacOSXItunesStore.upgrade(MediaDirectory mediaDirectory)
This is called to check if a upgrade is needed and perform the upgrade if required
|
protected void |
ITunesRemoteClient.waitForCode(java.lang.String cmd,
int expectedCode,
long timeout) |
Modifier and Type | Method and Description |
---|---|
void |
XMLStore2.aboutToRenamedFile(java.io.File rootMediaDir,
java.io.File oldFile,
java.io.File newFile)
This is used when a file that holds a episode or film is about to be renamed
|
void |
XMLStore2.cacheEpisode(java.io.File rootMediaDir,
java.io.File episodeFile,
java.io.File oldFileName,
IEpisode episode)
This is used to write a episode or special too the store
|
void |
XMLStore2.cacheFilm(java.io.File rootMediaDir,
java.io.File filmFile,
java.io.File oldFileName,
IFilm film,
java.lang.Integer part)
This is used to write a film to the store.
|
void |
XMLStore2.cacheSeason(java.io.File rootMediaDir,
java.io.File episodeFile,
ISeason season)
This is used to write a season too the store.
|
void |
XMLStore2.cacheShow(java.io.File rootMediaDir,
java.io.File episodeFile,
IShow show)
This is used to write a show too the store.
|
void |
XMLStore2.fileDeleted(MediaDirectory dir,
java.io.File file)
This is called when a file is deleted from a media directory
|
boolean |
XMLStore2.fileKnownByStore(MediaDirectory mediaDirectory,
java.io.File file)
Used to check that a media file is known by a store
|
void |
XMLStore2.fileUpdated(MediaDirectory mediaDirectory,
java.io.File file)
This is called when a file is updated within a media directory.
|
IEpisode |
XMLStore2.getEpisode(java.io.File rootMediaDir,
java.io.File episodeFile,
ISeason season,
java.util.List<java.lang.Integer> episodeNums)
This gets a episode from the store.
|
IEpisode |
XMLStore2.getEpisode(MediaDirectory dir,
java.io.File file)
This is used to get a episode from a store via it's file name.
|
protected IEpisode |
XMLStore2.getEpisodeFromStore(java.util.List<java.lang.Integer> episodeNums,
ISeason season,
org.w3c.dom.Document doc,
java.io.File rootMediaDir,
java.lang.String xmlKey) |
protected java.util.List<java.lang.Integer> |
XMLStore2.getEpisodes(org.w3c.dom.Node episodeNode) |
IFilm |
XMLStore2.getFilm(java.io.File rootMediaDir,
java.io.File filmFile,
java.lang.String filmId)
This will get a film from the store.
|
IFilm |
XMLStore2.getFilm(MediaDirectory dir,
java.io.File file)
This is used to get a film from a store via it's file name.
|
ISeason |
XMLStore2.getSeason(java.io.File rootMediaDir,
java.io.File episodeFile,
IShow show,
int seasonNum)
This will get a season from the store.
|
IShow |
XMLStore2.getShow(java.io.File rootMediaDir,
java.io.File episodeFile,
java.lang.String showId)
This will get a show from the store.
|
IEpisode |
XMLStore2.getSpecial(java.io.File rootMediaDir,
java.io.File episodeFile,
ISeason season,
java.util.List<java.lang.Integer> specialNumbers)
This gets a special episode from the store.
|
void |
XMLStore2.init()
Called to initialise the stores and check all their resources can be found.
|
java.util.Collection<IEpisode> |
XMLStore2.listEpisodes(MediaDirConfig dirConfig,
IProgressMonitor monitor)
This is used to list all the episodes within the store if the store supports the operation.
|
java.util.Collection<IFilm> |
XMLStore2.listFilms(MediaDirConfig dirConfig,
IProgressMonitor monitor)
This is used to list all the films within the store if the store supports the operation.
|
protected IEpisode |
XMLStore2.parseEpisodeNode(java.io.File file,
java.io.File rootMediaDir,
org.w3c.dom.Element episodeNode) |
void |
XMLStore2.performedActions(MediaDirectory dir)
This is called after all the actions on all the media files have been performed so that
the store can clean up any stale data.
|
void |
XMLStore2.renamedFile(java.io.File rootMediaDir,
java.io.File oldFile,
java.io.File newFile)
This is used when a file that holds a episode or film has been renamed
|
SearchResult |
XMLStore2.searchMedia(java.lang.String name,
Mode mode,
java.lang.Integer part,
MediaDirConfig dirConfig,
java.io.File mediaFile)
Used to search for store for media
|
void |
XMLStore2.upgrade(MediaDirectory mediaDirectory)
This is called to check if a upgrade is needed and perform the upgrade if required
|
protected void |
BaseXMLStore.writeCache(java.io.File file,
org.w3c.dom.Document doc)
Used to write the case document to a file
|
protected void |
XMLStore2.writeFilenames(org.w3c.dom.Document doc,
org.w3c.dom.Node parent,
IVideo video,
java.io.File rootMediaDir)
Used to append a set of filenames to the document under the given parent node
|