My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
CommandSyntax  
Commands for using MovieJukebox
Phase-Deploy, Properties, Configuration
Updated Nov 3, 2011 by Stuart.Boston

Command Syntax

MovieJukebox [MovieLibrary] [-c] [-i] [-o jukeboxRoot] [-p propertiesFile] [-D property=value] [-k]

Parameters

MovieLibrary Optional If not specified on the command line, the value of the mjb.libraryRoot from the properties file will be used.

The name of either
  1. an existing directory (local or network) where your movies are stored, or
  2. an XML configuration file specifying one or more directories to be scanned for movies.
-o jukeboxRoot Optional If not specified on the command line, the value of mjb.jukeboxRoot from the properties file will be used.
Output directory (local or network) where the jukebox files will be written.
By default the is the same as the MovieLibraryRoot.
This parameter is mandatory when using a library.xml file.
-c Optional Delete unused files from the generated jukebox
Note: You can also use the property mjb.jukeboxClean
-k Optional Any previously-scanned movies in the output directory will be preserved verbatim.
-i Optional Skip the indexing of the library and generation of the HTML pages.
This should only be used with an external front end, such as NMTServer.
Note: You can also use the property mjb.skipIndexGeneration
-h Optional Skip the creation of the HTML pages.
This is intended for use with flash skins.
Note: You can also use the property mjb.skipHtmlGeneration
-p propertiesFile Optional The name of the properties file to use instead of moviejukebox.properties.
See PropertiesConfiguration
-D property=value Optional Override any property in the properties file or in the skin.properties.
This parameter may be specified as many times as necessary, once for each overridden property.
-v Optional Display the version information about !Moviejukebox. Note this will stop the execution at this point.
-dump Optional Performs a dump of the library structure for debug purposes
The library will be scanned and a directory created that can be used for debug purposes
This does not update the library or jukebox.
-memory Optional Turns on the display of memory information as !Moviejukebox is processing
Also performs more agressive memory clean up at the cost of some processing speed
and may help in low memory situations.
Note: You can alls use the property mjb.showMemory

Examples

For instructions on how to create a library.xml file look at LibraryXMLInfo.
MovieJukebox Z:\VIDEOScans all files under Z:\Video and creates the Jukebox files in that location
MovieJukebox Z:\VIDEO -o C:\MyJukeboxScans all files under Z:\Video and creates the Jukebox files in C:\MyJukebox
MovieJukebox Z:\VIDEO -c -o C:\MyJukebox As above, but will remove any old jukebox files
MovieJukebox library.xml -o ./TestOutputScans all files at all locations identified in the library.xml file and creates the index files in the TestOutput subdirectory of the current directory (useful for checking links before copying to the final location)
MovieJukebox Scans all files at the location pointed to by the mjb.libraryRoot property in moviejukebox.properties. The Jukebox files are created in the location pointed to by the mjb.jukeboxRoot property in moviejukebox.properties.
MovieJukebox -p custom.properties custom.properties will be used instead of moviejukebox.properties. Scans all files at the location pointed to by the mjb.libraryRoot property in custom.properties. The Jukebox files are created in the location pointed to by the mjb.jukeboxRoot property in custom.properties.
MovieJukebox library.xml -o C:\MyJukebox -p custom.properties Scans all files under Z:\Video and creates the Jukebox files in C:\MyJukebox. custom.properties will be used instead of moviejukebox.properties.
MovieJukebox -D mjb.skin.dir=./skins/gfb107-sd -o C:\MyJukebox -p custom.properties Same as above, but forces skin to gfb107-sd instead of whatever is specified in the custom.properties file.


Sign in to add a comment
Powered by Google Project Hosting