Package | Description |
---|---|
org.stanwood.media | |
org.stanwood.media.actions | |
org.stanwood.media.search | |
org.stanwood.media.server.commands | |
org.stanwood.media.setup | |
org.stanwood.media.store.db |
Modifier and Type | Method and Description |
---|---|
java.io.File |
Controller.getConfigDir()
Get the location of the media directory
|
ExtensionInfo<? extends ISource> |
Controller.getDefaultSource(Mode mode)
Used to get the default source information
|
java.util.List<MediaDirectory> |
Controller.getMediaDirectories(Mode type)
Used to get a list of media directories of a given type
|
MediaDirectory |
Controller.getMediaDirectory(java.io.File mediaDir)
Used to convert a media directory location into the media directory object
|
ISeenDatabase |
Controller.getSeenDB()
Used to get the seen media file database
|
void |
Controller.init(boolean testMode)
Used to setup the controller ready for use
|
protected void |
Controller.migrateSeenEntries() |
void |
Controller.reloadSources()
Reload the sources, this can be used when the XBMC addons have changed
|
Constructor and Description |
---|
MediaDirectory(Controller controller,
ConfigReader config,
java.io.File mediaDir)
The constructor
|
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
|
Constructor and Description |
---|
MediaSearcher(Controller controller)
The constructor
|
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 |
---|---|
java.io.File |
ConfigReader.getConfigDir()
Get the location of the media directory
|
static java.io.File |
ConfigReader.getDefaultConfigDir()
Used to get the default location of the media manager configuration directory
|
static java.io.File |
ConfigReader.getDefaultConfigFile()
Used to the default configuration filename
|
MediaDirConfig |
ConfigReader.getMediaDirectory(java.io.File directory)
Used to get the configuration for a root media directory
|
java.io.File |
ConfigReader.getXBMCAddonDir()
Used to get the directory where XBMC addons are installed.
|
java.util.List<IAction> |
ConfigReader.loadActionsFromConfigFile(Controller controller,
MediaDirConfig dirConfig)
Used to read the actions from the configuration file
|
java.util.List<ISource> |
ConfigReader.loadSourcesFromConfigFile(Controller controller,
MediaDirConfig dirConfig)
Used to read the sources from the configuration file
|
java.util.List<IStore> |
ConfigReader.loadStoresFromConfigFile(Controller controller,
MediaDirConfig dirConfig)
Used to read the stores from the configuration file
|
void |
ConfigReader.parse()
This will parse the configuration in the XML configuration file and store the
results in this class.
|
void |
ConfigReader.writeConfig(IProgressMonitor monitor,
java.io.File file)
Write the configuration to a file
|
Modifier and Type | Method and Description |
---|---|
protected java.io.File |
FileDatabaseStore.getConfigFile() |