|
PropertiesConfiguration
List of the options in the moviejukebox.properties files and what they do
PropertiesMovieJukebox utilises properties files to define user configurable parameters that change the default behaviour of MovieJukebox. All of the default properties are stored in the properties/moviejukebox-default.properties file. This file should NOT be edited as it will be overwritten when you update your installation. Instead, create or edit the moviejukebox.properties file in your installation root folder to override the defaults. You can copy the properties from the moviejukebox-default.properties file. This is a list of the current properties used in the properties files.
Movie Jukebox Main Parametersmjb.libraryRootDirectory or library XML file (see LibraryXMLInfo) of the video files to scan. Used only if no library root is specified on the command line (see CommandSyntax). Default value none mjb.jukeboxRootRoot directory in which the jukebox files are stored. This folder will contain the index.htm file and the jukebox detail folder. Used only if no jukebox root is specified on the command line (see CommandSyntax). Default value none mjb.detailsDirNameDirectory where the jukebox files are stored. The index.htm file is stored at the same level as this directory. Default value mjb.detailsDirName=Jukebox mjb.forceXMLOverwriteBy default MovieJukebox does not overwrite the xml files if they already exist. If this parameter is true, then the xml files will be overwritten every time that the MovieJukebox is run. Valid values mjb.forceXMLOverwrite=false mjb.forceXMLOverwrite=true mjb.forceThumbnailsOverwriteBy default MovieJukebox does not overwrite the generated thumbnail files if they already exist. If this parameter is true, then the tumbnails will be overwritten every time that the MovieJukebox is run. Valid values mjb.forceThumbnailsOverwrite=false mjb.forceThumbnailsOverwrite=true mjb.forcePostersOverwriteBy default MovieJukebox does not overwrite (download) the poster files if they already exist. If this parameter is true, then the poster files will be downloaded and overwritten every time that the MovieJukebox is run. Valid values mjb.forcePostersOverwrite=false mjb.forcePostersOverwrite=true mjb.forceHTMLOverwriteBy default MovieJukebox does not overwrite the html (skin) files if they already exist. If this parameter is true, then the html files will be overwritten every time that the MovieJukebox is run. This is useful if you change skins, rather than deleting the files from the Jukebox directory. Valid values mjb.forceHTMLOverwrite=false mjb.forceHTMLOverwrite=true mjb.forceFanartOverwriteBy default MovieJukebox does not overwrite the Fanart files if they already exist. If this parameter is true, then the files will be overwritten every time that the MovieJukebox is run. Valid values mjb.forceFanartOverwrite=false mjb.forceFanartOverwrite=true mjb.forceVideoImagesOverwriteBy default MovieJukebox does not overwrite the VideoImage files if they already exist. If this parameter is true, then the files will be overwritten every time that the MovieJukebox is run. Valid values mjb.forceVideoImagesOverwrite=false mjb.forceVideoImagesOverwrite=true mjb.forceBannersOverwriteBy default MovieJukebox does not overwrite the Banner files if they already exist. If this parameter is true, then the files will be overwritten every time that the MovieJukebox is run. Valid values mjb.forceBannersOverwrite=false mjb.forceBannersOverwrite=true mjb.playerRootPathThis value is used as the default path when running from the command line (See CommanSyntax) without a library.xml file. Default value mjb.playerRootPath=file:///opt/sybhttpd/localhost.drives/HARD_DISK/Video/ mjb.extensionsThis parameter lists the extensions that will be scanned by the MovieJukebox. If you want to scan a new extension, then add it to this list. Conversely, if you do not want to scan an extension, then remove it from this list. Default value mjb.extensions=AVI DIVX MKV WMV M2TS TS RM QT ISO VOB MPG MOV MP4 M1V M2V M4V M2P TP TRP M2T MTS ASF RMP4 IMG mjb.skin.dirThe skin to be used for the jukebox. To install a new skin, copy it to the skins directory and edit this property to point to the new skin directory. The MovieJukebox ships with four skins by default
mjb.newdaysThe number of days that a video file stays in the New category. This should be a integer only, use 0 (Zero) to disable the New category. Default value mjb.newdays=7 mjb.newcountThe number of movies to limit the New category to. This should be a integer only, use 0 (Zero) to disable the count leaving it unlimited. This is used in conjunction with the mjb.newdays property. Example: mjb.newdays=30 mjb.newcount=25 (the 25 most recent movies within the last 30 days) Default value mjb.newcount=0 mjb.myiHome.IPSpecify the IP address and port number of the myiHome server - not the NMT. This is inserted into the JSP playlist file. If you are not using myiHome DO NOT ENABLE this setting. Example mjb.myiHome.IP=http://192.168.2.100 mjb.xmlGenreFileSpecify the genres file used for consolidating/renaming genres. Default value mjb.xmlGenreFile=genres.xml mjb.xmlCategoryFileSpecify the categories file used for enabling/disabling and renaming categories. Default value mjb.xmlCategoryFile=categories.xml mjb.forceNFOEncodingForce encoding of the XBMC XML in the NFO files, if not specified in standard way within XML. Set the parameter to AUTO or remove it to turn off the forced encoding Example mjb.forceNFOEncoding=ISO-8859-1 Default value mjb.forceNFOEncoding=AUTO mjb.excludeMultiPartBluRayMulti part bluray is bluray disk that the main movie is spread around multiple files. Currently only 5% of the bluray disks are multi part. The Popcorn Hour does not play these movies very well. There is a long gap between the parts that make many movies unwatchable. It is also very hard to attach subtitles to these multi part blurays. Valid values mjb.excludeMultiPartBluRay=false mjb.excludeMultiPartBluRay=true Default value mjb.excludeMultiPartBluRay=true mjb.playFullBluRayDiskTo play full BluRay disk rips (for C-200) set this value to true, otherwise set it false to play the largest file on the disk Valid values mjb.playFullBluRayDisk=true mjb.playFullBluRayDisk=false mjb.imageRetryCountThe number of times to retry to download an image before aborting. You can set this to any integer value greater than 0. Default value mjb.imageRetryCount=3 mjb.subtitles.ExcludeFilesWithoutExternalExclude files without external subtitles files. Valid values mjb.subtitles.ExcludeFilesWithoutExternal=false mjb.subtitles.ExcludeFilesWithoutExternal=true Default value mjb.subtitles.ExcludeFilesWithoutExternal=false mjb.internet.tv.pluginThis is the fully qualified name of the plugin to be used for TV series search (for both data and posters) you can continue using any of the other plugins for TV series essentially keeping prior functionality by replacing the plugin below. Default value mjb.internet.tv.plugin=com.moviejukebox.plugin.TheTvDBPlugin mjb.playlist.IgnoreExtensionsThis is a list of file extensions to ignore when generating a playlist. These should be extensions that don't work with playlists, such as full disk images (e.g. ISO & IMG) Default value mjb.playlist.IgnoreExtensions=ISO,IMG mjb.playlist.generateMultiPartGenerate multipart playlists that allow the cycling of video parts. Note that this may break some skins that use this feature if it is disabled. Valid values mjb.playlist.generateMultiPart=true mjb.playlist.generateMultiPart=false Log FileThese properties affect the log file and log formatting mjb.appendDateToLogFileAppend the run date to the log file to create a unique log file for each run Valid values mjb.appendDateToLogFile=false mjb.appendDateToLogFile=true mjb.logThreadNameAdd a prefix of the thread name to the start of each log line. Can help to decode and decipher log files in multi-threading situations. Valid values mjb.logThreadName=false mjb.logThreadName=true mjb.logTimeStampAdd a timestamp to each line of the log file. Can help to Valid values mjb.logTimeStamp=false mjb.logTimeStamp=true Multi-threadingThese are the multi-thread processing parameters Only change these values if you know what you are doing. Altering these settings could get you banned from the source websites. mjb.MaxThreadsScanThe number of scanning threads Default value mjb.MaxThreadsScan=4 mjb.MaxThreadsProcessThis parameter defines the number of processing threads, it defaults to the number of CPU cores Default value mjb.MaxThreadsProcess=1 Filename Scannerfilename.scanner.language.detectionTurns on or off the language detection scanner for the filename. Valid values filename.scanner.language.detection=false filename.scanner.language.detection=true filename.scanner.skip.keywordsA comma separated list of case-insensitive words to ignore when scanning the video filename Default value filename.scanner.skip.keywords=LIMITED,DiAMOND,AXXO,PUKKA,iDHD,PROPER,REPACK,DSR,STV,UNRATED,RERIP filename.scanner.source.keywordsA comma-separated list of case-insensitive words to use as valid keywords for the source property. Default value filename.scanner.source.keywords=HDTV,PDTV,DVDRip,DVDSCR,DSRip,CAM,R5,LINE,HD2DVD,DVD,DVD5,DVD9,HRHDTV,MVCD,VCD,TS,VHSRip,BluRay,HDDVD,D-THEATER,SDTV Also, for each keyword listed in this property, you can have another property, filename.scanner.source.keywords.xxx (change "xxx" to the keyword) which is a comma-separated, case-insensitive list of keywords which are mapped to the "xxx" keyword. Example filename.scanner.source.keywords.SDTV=NTSC,PAL This causes the NTSC and PAL keywords both to be recognized, but the movie will be given a SOURCE value of SDTV. Default values filename.scanner.source.keywords.SDTV=TVRip,PAL,NTSC filename.scanner.source.keywords.D-THEATER=DTH,DTHEATER filename.scanner.source.keywords.HDDVD=HD-DVD,HDDVDRIP filename.scanner.source.keywords.BluRay=BDRIP,BLURAYRIP,BLU-RAY filename.scanner.source.keywords.DVDRip=DVDR filename.nfo.directoryLibrary relative directory to check for nfo files if they aren't found as part of the normal scan. Leave blank or undefined (put a # at the start of the line) to ignore this search. Example: For the library path D:\Videos\ then this will search in D:\Videos\NFO\ for NFO files. filename.nfo.directory=NFO filename.nfo.parentDirsWhen enabled, all parent directories up to the library root are searched for NFO files. All found nfo files are merged. Values in nfo files in deeper directories override values from directories above. Valid values filename.nfo.parentDirs=false filename.nfo.parentDirs=true filename.nfo.checknewerIf the NFO file for a video file is newer than the video file that is being scanned, this parameter will force a recheck of the movie file, updating it with the new information. Valid values filename.nfo.checknewer=true filename.nfo.checknewer=false filename.extras.keywordsList of keywords to determine if the file is an extra (e.g. Trailer, Bonus content, etc) Filename will be like: "filename title.avi" Default values filename.extras.keywords=trailer,bonus,extra filename.movie.versions.keywordsThese keywords will be stripped out of the filename. Currently they are not stored anywhere and are therefore discarded. Default values filename.movie.versions.keywords=remastered,directors cut,extended cut,final cut Poster Scannerposter.scanner.searchForExistingCoverArtSpecifies if we should look for an existing covert art file Valid values poster.scanner.searchForExistingCoverArt=no poster.scanner.searchForExistingCoverArt=moviename poster.scanner.searchForExistingCoverArt=fixedcoverartname poster.scanner.coverArtExtensionsSpecifies the valid extension for covert art files. Valid values are a coma separated list of extensions Default value poster.scanner.coverArtExtensions=jpg,jpeg,gif,bmp,png poster.scanner.fixedCoverArtNameIf poster.scanner.searchForExistingCoverart=fixedcoverartname then this parameter specifies the basename of the covert art file. Example values poster.scanner.fixedCoverArtName=folder poster.scanner.fixedCoverArtName=covert poster.scanner.fixedCoverArtName=poster poster.scanner.coverArtDirectorySpecifies the subdirectory where to look for covertArt. Valid values is a directory name relative to the movie file. Comment this out if the covertArt is stored in the same directory as movie. Example value poster.scanner.coverArtDirectory=Images poster.scanner.useFolderImageSpecifies if the poster scanner should look for and use folder.* files if found. Warning: if you have a folder.* in your directory then this will use this for thumbnails for ALL videos in that folder. This is really intended for use with TV series. Valid values poster.scanner.useFolderImage=false poster.scanner.useFolderImage=true poster.scanner.SearchPrioritySpecifies a prioritised list of movie poster searches to look for a poster. Each search is tried in turn until a valid poster URL is found. You can remove or change the order of these searches, but there should always be at least one value set. Default value poster.scanner.SearchPriority=moviedb,imdb,impawards,motechnet,moviecovers,google,yahoo poster.scanner.ValidateDetermines if the poster should be validated to ensure it's at least as big as the skin properties poster Width and Height, if not, the poster will be rejected. Default value poster.scanner.Validate=true Valid values poster.scanner.Validate=true poster.scanner.Validate=false poster.scanner.ValidateMatchThis property controls how close to the poster Width and Height should a match be consider for use in YAMJ. Note: this should be a whole percentage without the % sign E.g. 75 will match any poster that is at least 75% of the poster Width / Height So if the poster width is 400, this will match any poster greater than 300 Default value poster.scanner.ValidateMatch=75 poster.scanner.ValidateAspectDetermines if the poster validation should also include a check for the aspect ratio. This ensures that a landscape picture isn't used for a portrait poster. Default value poster.scanner.ValidateAspect=true Valid values poster.scanner.ValidateAspect=true poster.scanner.ValidateAspect=false Boxed Setsmjb.singleSeriesPageIf this parameter is enabled, multiple seasons of a TV series are grouped behind a single entry point. The default behavior is not to group seasons together. Valid values mjb.singleSeriesPage=false mjb.singleSeriesPage=true mjb.sets.minSetCountThis parameter controls the minimum number of movie titles in a boxed set that must appear in a category before they are replaced with a link to the boxed set. The default value is 2, but any number 1 or larger is acceptable. Example values mjb.sets.minSetCount=2 mjb.sets.minSetCount=4 mjb.sets.createPostersSet this property to true to create large set posters as well as the thumbnail posters. Default value mjb.sets.createPosters=false Valid values mjb.sets.createPosters=false mjb.sets.createPosters=true mjb.sets.requireAllIf this parameter is enabled, movies in a boxed set will only be replaced by the set poster when all of the movies in the set appear in a category. This parameter does not override mjb.sets.minSetCount but augments it. So if minSetCount is 4 and requireAll is enabled, a set with fewer than four movies will never be grouped. Default value mjb.sets.requireAll=false Valid values mjb.sets.requireAll=false mjb.sets.requireAll=true mjb.categories.indexListComma-separated list of indexes to generate. Valid indexes include:
Example mjb.categories.indexList=Other,Genres,Title,Rating,Year,Library,Set mjb.categories.displayListComma-separated list of indexes to display on the categories page. If blank or undefined, all categories listed in the indexList are shown. Default value mjb.categories.displayList= mjb.categories.minCountMinimum number of movies in an index before it shows on the categories page Default value mjb.categories.minCount=3 mjb.sets.indexFanartCreate set index fanart for sets. If local set fanart is found it will be used otherwise the fanart from the first video will be used. Valid values mjb.sets.indexFanart=false mjb.sets.indexFanart=true IMDb Plugin Parametersimdb.id.searchSpecifies the search engine to be search for IMDb IDs Valid values imdb.id.search=imdb imdb.id.search=google imdb.id.search=yahoo imdb.id.search=none imdb.perfect.matchTry to find movies in IMDb "perfect match" section. When set to true, the IMDb plugin will search for "movie title (year)" in the "perfect match section", if found, then this entry is used. If not found, the first movie found is returned. Valid values imdb.perfect.match=true imdb.perfect.match=false imdb.getCertificationFromMPAAThis property specifies that you wish to get the certification of the movie from the MPAA rather than another source. If you want to change the movie certification, set this property to false. When this value is false, the country certification from imdb.preferredCountry is used instead. Valid values imdb.getCertificationFromMPAA=true imdb.getCertificationFromMPAA=false Default value imdb.getCertificationFromMPAA=true imdb.preferredCountrySet this to the IMDB country you want YAMJ to use when extracting certifications. Example: IMDB shows the following for certification: Italy:T | Iceland:10 | UK:12 (video rating) | UK:12A (original rating) | Malaysia:U | France:U | Brazil:14 | Argentina:Atp | Australia:M | Canada:14 (Nova Scotia) (original rating) | Canada:G (Quebec) | Canada:PG (Alberta/British Columbia/Manitoba/Ontario) | Canada:PG (Nova Scotia) (re-rating after appeal) | Chile:TE | Denmark:11 | Finland:K-11 | Germany:12 | Hong Kong:IIA | Hungary:14 | Ireland:12 | Netherlands:12 | New Zealand:M | Norway:11 | Peru:PT | Philippines:PG-13 | Portugal:M/12 | Singapore:PG | South Korea:12 | Spain:7 | Sweden:11 | Switzerland:12 (canton of Geneva) | Switzerland:12 (canton of Vaud) | Switzerland:12 (canton of the Grisons) | USA:PG-13 | Greece:K-13 Here you see all the various certifications, seperated by "|". Each certification is in the form country:value. YAMJ will extract the certification with a country value that matches the property imdb.preferredCountry. If the value contains a ( YAMJ discards all text after the first (. YAMJ will use the last value available for a country. In the above example, if imdb.preferredCountry = UK, the certifications are:
YAMJ will use the value 12A. Default value imdb.preferredCountry=USA MediaInfo Scannermediainfo.homeThe directory where the !mediaInfo executable is located. Default value mediainfo.home=./mediaInfo/ mediainfo.metadata.enableHave mediainfo pull meta data tags from media files. This data, if present, will override data in the NFO file. Valid values are: true, false Default value mediainfo.metadata.enable=false Customization Propertiesmjb.internet.pluginThis is the fully qualified name of the plugin class implementing the internet search for movies (both movies data and poster). You can replace this default class with your own in order to develop your customized internet search. The class must implement interface com.moviejukebox.MovieDatabasePlugin Make sure to modify the classpath accordingly in the moviejukebox startup script If you don't know what all this is about, DO NOT CHANGE THIS VALUE. See Plugins for settings for this property Filmweb Plugin Parametersfilmweb.id.searchSpecifies the search engine to be search for filmweb ids Valid values filmweb.id.search=filmweb filmweb.id.search=google filmweb.id.search=yahoo filmweb.id.search=none TheTVDB Plugin Parametersthetvdb.languageSpecifies the language used for searching TheTVDB and the language to have descriptions and text translated to. Valid languages are: da,fi,nl,de,it,es,fr,pl,hu,el,tr,ru,he,ja,pt,zh,cs,sl,en,sv,no Default value thetvdb.language=en thetvdb.dvd.episodesSpecify whether to use the DVD sort or the aired date sort. Valid values are: true, false. true will sort by dvd episode number, false will use aired episode number. Default value thetvdb.dvd.episodes=false Kinopoisk Plugin Parameterskinopoisk.plot.maxlengthSpecifies the maximum plot length Default value kinopoisk.plot.maxlength=400 kinopoisk.ratingSpecifies preferred movie rating method Valid values kinopoisk.rating=imdb kinopoisk.rating=kinopoisk kinopoisk.rating=average OpenSubtitles.Orgopensubtitles.languageThe language used for downloading subtitle from opensubtitles.org Valid Values:
opensubtitles.usernameopensubtitles.passwordOptional Username and Password for opensubtitles.org upload user ranking Apple Movie Trailersappletrailers.resolutionThe desired resolution of trailers from apple trailers site Leave this blank or commented out to disable this feature Valid values appletrailers.resolution=1080p appletrailers.resolution=720p appletrailers.resolution=480p appletrailers.resolution=640 appletrailers.downloadDetermines if the trailers found are downloaded and stored locally or a link is generated for the movie and then streamed as required. Valid values appletrailers.download=false appletrailers.download=true Default value appletrailers.download=false appletrailers.typesincludeThis parameter controls whether the trailer types listed in appletrailers.trailertypes are include (true) or excluded (false) by the plugin If this is set to true, then the trailer is selected only if it contains one of the types. If this is set to false then the trailer is selected only if it does not contain one of the types. Valid values appletrailers.typesinclude=true appletrailers.typesinclude=false appletrailers.trailertypesComma separated list of trailer types to include or exclude (based on appletrailers.typesinclude parameter) Default value appletrailers.trailertypes=tlr,tsr Moviejukebox Listing Pluginmjb.listing.generateSet this parameter to enable / disable the plugin Valid values mjb.listing.generate=true mjb.listing.generate=false Default value mjb.listing.generate=false mjb.listing.pluginThe listing plugin to use Default value mjb.listing.plugin=com.moviejukebox.plugin.MovieListingPluginCsv mjb.listing.output.filenameThe filename to write the output to Default value mjb.listing.output.filename=MovieJukebox-listing mjb.listing.output.destinationWhere to write the output file to. Default is to leave this value unset and the output will be written to the jukebox folder. Default value #mjb.listing.output.destination= Example value mjb.listing.output.destination=C:\ mjb.listing.typesTypes of the video files to include Valid values mjb.listing.types=Movie mjb.listing.types=Trailer mjb.listing.types=TVShow mjb.listing.types=All Default value mjb.listing.types=All mjb.listing.GroupByTypeSet to true to group by type (in order specified in mjb.listing.types) Valid values mjb.listing.GroupByType=true mjb.listing.GroupByType=false Default value mjb.listing.GroupByType=true mjb.listing.clear.UNKNOWNSet to true to blank common UNKNOWN values (default: true) Valid values mjb.listing.clear.UNKNOWN=true mjb.listing.clear.UNKNOWN=false Default value mjb.listing.clear.UNKNOWN=true Output File Encodingmjb.charset.unsafeFilenameCharsUse this to control which characters are encoded in the files that YAMJ creates. By default, it is set to the characters not allowed in Windows filenames, but some filesystems or operating systems may have other restrictions. This affects the filenames in the generated jukebox only; the user interface is unaffected by this setting. Default value mjb.charset.unsafeFilenameChars=<>:\"/\\|?* mjb.charset.filenameEncodingEscapeCharControls the escape character used in filename encoding. This character will therefore also be encoded. If this setting is blank, no encoding will be performed. If this setting contains more than one character, all characters after the first are ignored. Default value mjb.charset.filenameEncodingEscapeChar=$ Movie Meter Pluginmoviemeter.id.searchSpecifies the search engine to be search for MovieMeter IDs Valid values moviemeter.id.search=moviemeter moviemeter.id.search=google moviemeter.id.search=none Default value moviemeter.id.search=moviemeter Film Detla Pluginfilmdelta.plot.maxlengthSpecifies the maximum length for the returned plot Default value filmdelta.plot.maxlength=300 filmdelta.ratingSpecifies preferred movie rating method. Valid values filmdelta.rating=imdb filmdelta.rating=filmdelta filmdelta.rating=average Default value filmdelta.rating=filmdelta filmdelta.getcdonposterSpecifies whether to download movie posters from cdon.se. Valid values filmdelta.getcdonposter=true filmdelta.getcdonposter=false Default value filmdelta.getcdonposter=true Sratim Pluginsratim.subtitleSpecify whether to download movie subtitles from Sratim Valid values sratim.subtitle=true sratim.subtitle=false Default value sratim.subtitle=false sratim.usernameUsername for login to sratim web site - without a login you are limited to 3 subtitles download per day Default value sratim.username= sratim.passwordPassword for your login to the Sratim web site Default value sratim.password= sratim.codeValidation code, leave empty for first run. After first run, a file named 'sratim.jpg' will be created with the validation code image to enter here. Default value sratim.code= |
Sign in to add a comment
Is there any way to get only the subtitles plug in to run? (and not to create and download all other stuff e.g. fanart, html files etc...)