Uses of Class
org.stanwood.media.MediaDirectory

Packages that use MediaDirectory
org.stanwood.media   
org.stanwood.media.actions   
org.stanwood.media.actions.command   
org.stanwood.media.actions.podcast   
org.stanwood.media.actions.rename   
org.stanwood.media.search   
org.stanwood.media.source   
org.stanwood.media.source.xbmc   
org.stanwood.media.store   
org.stanwood.media.store.memory   
org.stanwood.media.store.mp4   
org.stanwood.media.store.mp4.itunes   
org.stanwood.media.store.xmlstore   
 

Uses of MediaDirectory in org.stanwood.media
 

Methods in org.stanwood.media that return MediaDirectory
 MediaDirectory Controller.getMediaDirectory(java.io.File mediaDir)
          Used to convert a media directory location into the media directory object
 

Methods in org.stanwood.media that return types with arguments of type MediaDirectory
 java.util.List<MediaDirectory> Controller.getMediaDirectories(Mode type)
          Used to get a list of media directories of a given type
 

Uses of MediaDirectory in org.stanwood.media.actions
 

Methods in org.stanwood.media.actions with parameters of type MediaDirectory
 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)
           
 

Constructors in org.stanwood.media.actions with parameters of type MediaDirectory
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
 

Uses of MediaDirectory in org.stanwood.media.actions.command
 

Methods in org.stanwood.media.actions.command with parameters of type MediaDirectory
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 on the mediaFile if the parameter is set.
 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 on the mediaFile if the parameter is set.
 void ExecuteSystemCommandAction.performOnDirectory(MediaDirectory dir, java.io.File mediaDir, IActionEventHandler actionEventHandler)
          This will execute the command in the parameter on the directory if the parameter is set.
 

Uses of MediaDirectory in org.stanwood.media.actions.podcast
 

Methods in org.stanwood.media.actions.podcast with parameters of type MediaDirectory
 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.
 

Uses of MediaDirectory in org.stanwood.media.actions.rename
 

Methods in org.stanwood.media.actions.rename with parameters of type MediaDirectory
 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.
 

Uses of MediaDirectory in org.stanwood.media.search
 

Methods in org.stanwood.media.search that return MediaDirectory
 MediaDirectory MediaSearchResult.getMediaDirectory()
          Used to get the media directory
 

Methods in org.stanwood.media.search with parameters of type MediaDirectory
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)
          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)
          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
 

Constructors in org.stanwood.media.search with parameters of type MediaDirectory
MediaSearchResult(MediaDirectory mediaDirectory, IVideo video)
          The constructor
 

Uses of MediaDirectory in org.stanwood.media.source
 

Methods in org.stanwood.media.source with parameters of type MediaDirectory
 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
 

Uses of MediaDirectory in org.stanwood.media.source.xbmc
 

Methods in org.stanwood.media.source.xbmc with parameters of type MediaDirectory
 void XBMCSource.setMediaDirConfig(MediaDirectory dir)
          Called to tell the source which media directory is been processed
 

Uses of MediaDirectory in org.stanwood.media.store
 

Methods in org.stanwood.media.store with parameters of type MediaDirectory
 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
 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
 

Uses of MediaDirectory in org.stanwood.media.store.memory
 

Methods in org.stanwood.media.store.memory with parameters of type MediaDirectory
 void MemoryStore.fileDeleted(MediaDirectory dir, java.io.File file)
          This is called when a file is deleted from a media directory
 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
 

Uses of MediaDirectory in org.stanwood.media.store.mp4
 

Methods in org.stanwood.media.store.mp4 with parameters of type MediaDirectory
 void MP4ITunesStore.fileDeleted(MediaDirectory dir, java.io.File file)
          This is called when a file is deleted from a media directory
 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
 

Uses of MediaDirectory in org.stanwood.media.store.mp4.itunes
 

Methods in org.stanwood.media.store.mp4.itunes with parameters of type MediaDirectory
 void RemoteMacOSXItunesStore.fileDeleted(MediaDirectory dir, java.io.File file)
          This is called when a file is deleted from a media directory
 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
 

Uses of MediaDirectory in org.stanwood.media.store.xmlstore
 

Methods in org.stanwood.media.store.xmlstore with parameters of type MediaDirectory
 void XMLStore2.fileDeleted(MediaDirectory dir, java.io.File file)
          This is called when a file is deleted from a media directory
 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