My favorites | Sign in
Logo
                
Search
for
Updated Nov 10, 2009 by Stuart.Boston
CommandSyntax  
Commands for using MovieJukebox

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
-k Optional (new in r928, very beta!) 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.
-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 propertiesFile or in the skin.properties. This parameter may be specified as many times as necessary, once for each overridden property.

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
Hosted by Google Code