Modifier and Type | Method and Description |
---|---|
MediaDirectory |
Controller.getMediaDirectory(java.io.File mediaDir)
Used to convert a media directory location into the media directory object
|
Modifier and Type | Method and Description |
---|---|
java.util.List<MediaDirectory> |
Controller.getMediaDirectories(Mode type)
Used to get a list of media directories of a given type
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractAction.finished(MediaDirectory dir)
This is called once for each action after they have finished performing on all media files
within the media directory.
|
void |
IAction.finished(MediaDirectory dir)
This is called once for each action after they have finished performing on all media files
within the media directory.
|
void |
AbstractAction.init(MediaDirectory dir)
This is called once before any of the media files are processed to allow the action
to perform setup tasks
|
void |
IAction.init(MediaDirectory dir)
This is called once before any of the media files are processed to allow the action
to perform setup tasks
|
void |
IAction.perform(MediaDirectory dir,
IEpisode episode,
java.io.File mediaFile,
IActionEventHandler actionEventHandler)
Used to perform the action upon a TV episode file.
|
void |
IAction.perform(MediaDirectory dir,
IFilm film,
java.io.File mediaFile,
java.lang.Integer part,
IActionEventHandler actionEventHandler)
Used to perform the action upon a film file.
|
void |
AbstractAction.performOnDirectory(MediaDirectory dir,
java.io.File file,
IActionEventHandler actionEventHandler)
This is called so the action can perform on directories within the media directory
|
void |
IAction.performOnDirectory(MediaDirectory mediaDir,
java.io.File dir,
IActionEventHandler actionEventHandler)
This is called so the action can perform on directories within the media directory
|
protected java.lang.String |
AbstractAction.resolvePatterns(MediaDirectory dir,
java.lang.String input,
IVideo video,
java.io.File mediaFile,
java.lang.Integer part) |
Constructor and Description |
---|
ActionPerformer(Controller controller,
java.util.List<IAction> actions,
MediaDirectory dir,
java.util.List<java.lang.String> exts)
Constructor used to create a instance of the class
|
Modifier and Type | Method and Description |
---|---|
protected void |
ExecuteSystemCommandAction.executeCommand(java.lang.String cmd,
java.io.File file,
MediaDirectory dir,
IVideo video) |
void |
ExecuteSystemCommandAction.perform(MediaDirectory dir,
IEpisode episode,
java.io.File mediaFile,
IActionEventHandler actionEventHandler)
This will execute the command in the parameter
|
void |
ExecuteSystemCommandAction.perform(MediaDirectory dir,
IFilm film,
java.io.File mediaFile,
java.lang.Integer part,
IActionEventHandler actionEventHandler)
This will execute the command in the parameter
|
void |
ExecuteSystemCommandAction.performOnDirectory(MediaDirectory dir,
java.io.File mediaDir,
IActionEventHandler actionEventHandler)
This will execute the command in the parameter
|
Modifier and Type | Method and Description |
---|---|
void |
PodCastAction.finished(MediaDirectory dir)
Used to write the podcast
|
void |
PodCastAction.init(MediaDirectory dir)
Used to setup the action and parse the podcast if it already exists
|
void |
PodCastAction.perform(MediaDirectory dir,
IEpisode episode,
java.io.File mediaFile,
IActionEventHandler actionEventHandler)
Used to perform the action upon a TV episode file.
|
void |
PodCastAction.perform(MediaDirectory dir,
IFilm film,
java.io.File mediaFile,
java.lang.Integer part,
IActionEventHandler actionEventHandler)
Used to perform the action upon a film file.
|
Modifier and Type | Method and Description |
---|---|
void |
RenameAction.perform(MediaDirectory dir,
IEpisode episode,
java.io.File mediaFile,
IActionEventHandler actionEventHandler)
Perform the rename action of the file files
|
void |
RenameAction.perform(MediaDirectory dir,
IFilm film,
java.io.File mediaFile,
java.lang.Integer part,
IActionEventHandler actionEventHandler)
Perform the rename action of the file files
|
void |
RenameAction.performOnDirectory(MediaDirectory mediaDir,
java.io.File dir,
IActionEventHandler actionEventHandler)
If the "pruneEmptyFolders" option has been set, then this will delete any empty
directories it finds.
|
Modifier and Type | Method and Description |
---|---|
MediaDirectory |
ImportedEntry.getMediaDirectory()
Get the media directory of the entry
|
Constructor and Description |
---|
ImportedEntry(java.io.File oldName,
java.io.File newName,
MediaDirectory dir,
IVideo video,
java.lang.Integer part)
The constructor
|
Modifier and Type | Method and Description |
---|---|
MediaDirectory |
MediaSearchResult.getMediaDirectory()
Used to get the media directory
|
Modifier and Type | Method and Description |
---|---|
protected static SearchResult |
MediaSearcher.findFilm(MediaDirectory dir,
java.io.File file,
boolean useSources) |
static java.io.File |
NFOSearchHelper.findNFOfile(MediaDirectory rootMediaDir,
java.io.File mediaFile)
Used to find a NFO file if their is one for a given media file
|
static IFilm |
MediaSearcher.getFilm(MediaDirectory dir,
java.io.File file,
boolean useSources,
boolean cacheIfNew)
Used to lookup film information
|
static java.lang.Integer |
MediaSearcher.getFilmPart(MediaDirectory dir,
java.io.File file,
IFilm film)
Used to get the part number of a film
|
SearchDetails |
ISearchStrategy.getSearch(java.io.File mediaFile,
java.io.File rootMediaDir,
java.lang.String renamePattern,
MediaDirectory mediaDir)
This method should be implemented to find a media from a source
|
SearchDetails |
EpisodeFileNameStraregy.getSearch(java.io.File mediaFile,
java.io.File rootMediaDir,
java.lang.String renamePattern,
MediaDirectory mediaDir)
This method should be implemented to find a media from a source
|
SearchDetails |
FilmNFOSearchStrategy.getSearch(java.io.File mediaFile,
java.io.File rootMediaDir,
java.lang.String renamePattern,
MediaDirectory mediaDir)
Look up the film file details using the NFO file if it can be found
|
SearchDetails |
ReversePatternSearchStrategy.getSearch(java.io.File mediaFile,
java.io.File rootMediaDir,
java.lang.String renamePattern,
MediaDirectory mediaDir)
Look up the media file details using the renamePattern
|
SearchDetails |
FilmNFOSearchStrategy.getSearch(java.io.File mediaFile,
MediaDirectory mediaDir)
Used to get parse the details used to perform a search
|
static IEpisode |
MediaSearcher.getTVEpisode(MediaDirectory dir,
java.io.File file,
boolean useSources,
boolean cacheIfNew)
Used to lookup TV episode information
|
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
|
Constructor and Description |
---|
MediaSearchResult(MediaDirectory mediaDirectory,
IVideo video)
The constructor
|
Modifier and Type | Method and Description |
---|---|
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
|
Modifier and Type | Method and Description |
---|---|
void |
XBMCSource.setMediaDirConfig(MediaDirectory dir)
Called to tell the source which media directory is been processed
|
Modifier and Type | Method and Description |
---|---|
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(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(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.
|
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 |
SapphireStore.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.upgrade(MediaDirectory mediaDirectory)
This is called to check if a upgrade is needed and perform the upgrade if required
|
void |
SapphireStore.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.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(MediaDirectory dir,
java.io.File file)
This is used to get a episode from a store via it's file name.
|
IFilm |
DatabaseStore.getFilm(MediaDirectory dir,
java.io.File file)
This is used to get a film from a store via it's file name.
|
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.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.fileDeleted(MediaDirectory dir,
java.io.File file)
This is called when a file is deleted from a media directory
|
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(MediaDirectory dir,
java.io.File file)
This is used to get a episode from a store via it's file name.
|
IFilm |
MemoryStore.getFilm(MediaDirectory dir,
java.io.File file)
This is used to get a film from a store via it's file name.
|
void |
MemoryStore.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 |
MemoryStore.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 |
MP4ITunesStore.fileDeleted(MediaDirectory dir,
java.io.File file)
This is called when a file is deleted from a media directory
|
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(MediaDirectory dir,
java.io.File file)
This is used to get a episode from a store via it's file name.
|
IFilm |
MP4ITunesStore.getFilm(MediaDirectory dir,
java.io.File file)
This is used to get a film from a store via it's file name.
|
void |
MP4ITunesStore.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.
|
protected java.util.Properties |
MP4ITunesStore.readStoreConfig(MediaDirectory mediaDirectory,
java.io.File configFile) |
protected void |
MP4ITunesStore.saveStoreVersion(MediaDirectory mediaDirectory) |
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.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(MediaDirectory dir,
java.io.File file)
This is used to get a episode from a store via it's file name.
|
IFilm |
RemoteMacOSXItunesStore.getFilm(MediaDirectory dir,
java.io.File file)
This is used to get a film from a store via it's file name.
|
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.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 |
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(MediaDirectory dir,
java.io.File file)
This is used to get a episode from a store via it's file name.
|
IFilm |
XMLStore2.getFilm(MediaDirectory dir,
java.io.File file)
This is used to get a film from a store via it's file name.
|
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.upgrade(MediaDirectory mediaDirectory)
This is called to check if a upgrade is needed and perform the upgrade if required
|