My favorites | Sign in
Logo
                
Search
for
Updated Oct 13, 2009 by Stuart.Boston
Labels: Phase-Deploy, Skin, properties, configuration
SkinConfiguration  
List of the options in the skin.properties files and what they do

Properties

This is a list of the current properties used in the skin.properties file.


General

mjb.homePage

This is the default page displayed when the index.htm is loaded. This can point to any of the html files created in the jukebox directory, or it may be left blank. If left blank, the default page will be the first category listed in categories.xml which has at least one movie.

Default value

mjb.homePage=

Example: To point to the new page, change the value to

mjb.homePage=Other_New_1

mjb.indexFile

The name of the genrated index file. Use the default value for HD skins, but SD skins should change it to index_sd.htm inorder for the NMT to autoload it.

Default value

mjb.indexFile=index.htm

Example: To create index_sd.htm for and SD skin

mjb.indexFile=index_sd.htm

mjb.clean.skip

Regular expression for files that are part of the skin, so they should be skipped during cleaning (if -c is specified at the command line).

Example: Tell YAMJ not to delete the categories.css, exportindex_item_pch.css, or exportdetails_item_popcorn.css files.

mjb.clean.skip=categories.css|exportindex_item_pch.css|exportdetails_item_popcorn.css

or, somewhat similarly

mjb.clean.skip=categories.css|export.*_item_.*.css

genres.max

The maximum number of genres to display for a movie

Example: To list movies in three categories

genres.max=3

actors.max

The maximum number of actors to display for a movie

Example: To display 6 actors in the movie detail page (if supported by the skin)

actors.max=6

mjb.fullMovieInfoInIndexes

Include full movie details in the index xml files

Valid values

mjb.fullMovieInfoInIndexes=true
mjb.fullMovieInfoInIndexes=false

sorting.strip.prefixes

This is a list of articles (The, An, A, etc.) to ignore when sorting the video files.

Default Value

sorting.strip.prefixes="A ","An ","The ","Le ","Les "

indexing.character.groupEnglish

Group all English characters into a single A-Z category. This is most useful for non-English character sets such as Cyrillic or Hebrew. Note: This should only really be used by non-English users.

Valid values

indexing.character.groupEnglish=false
indexing.character.groupEnglish=true

Default value

indexing.character.groupEnglish=false

Plot Summaries

imdb.plot

filmweb.plot

Use the short plot or long plot description from IMDB (imdb.plot) or Filmweb (filmweb.plot). This will be determined by the scanner you use.

Valid values

imdb.plot=short
imdb.plot=long
filmweb.plot=short
filmweb.plot=long

mjb.includeEpisodePlots

Lookup and include the television episode Plot in the XML file. Valid values are true, false

Default value

mjb.includeEpisodePlots=false

Fanart

fanart.movie.download

Download fanart image for movies using the IMDB id. Please note that if the skin does not use fanart, then this will have no discernible effect except to slow down the generation of your jukebox.

Valid values

fanart.movie.download=false
fanart.movie.download=true

fanart.movie.width

fanart.movie.height

These settings affect the resizing of the fanart to the values specified. The default values are for a HD TV (regardless of 1080p or 720p). Change these variables if you need the pictures to fit a SD TV

default values

fanart.movie.width=1280
fanart.movie.height=720

fanart.tv.download

Download fanart image for TV shows using the IMDB id. Please note that if the skin does not use fanart, then this will have no discernible effect except to slow down the generation of your jukebox.

Valid values

fanart.tv.download=false
fanart.tv.download=true

fanart.tv.width

fanart.tv.height

These settings affect the resizing of the fanart to the values specified. The default values are for a HD TV (regardless of 1080p or 720p). Change these variables if you need the pictures to fit a SD TV

default values

fanart.tv.width=1280
fanart.tv.height=720

fanart.scanner.fanartExtensions

This determines the extensions of the files that will be scanned for fanart.

Default value

fanart.scanner.fanartExtensions=jpg,jpeg,gif,bmp,png

fanart.scanner.fanartToken

This is the extension to the video name to scan for fanart. This should be a value that shouldn't occur in any video filenames and should occur at the end of the video filename. If no fanart is found for a video, the normal download will be run.

Example

This.Is.My.Movie.mkv
This.Is.My.Movie.Fanart.jpg

Default value

fanart.scanner.fanartToken=.Fanart

Thumbnails

mjb.nbThumbnailsPerPage

mjb.nbThumbnailsPerLine

These values control the thumbnail settings on the index page. nbThumbnailsPerPage controls the number of thumbnails displayed on the page, while nbThumbnailsPerLine controls the number of thumbnails on each row.

Default values

mjb.nbThumbnailsPerPage=10
mjb.nbThumbnailsPerLine=5

mjb.nbTvThumbnailsPerPage

mjb.nbTvThumbnailsPerLine

These two values overwrite the mjb.nbThumbnailsPerPage & mjb.nbThumbnailsPerLine values for the TV Show indexes. These are for use with season banners for those skins that use them as banners are a different size to normal posters

Default values If these properties are not populated then they will default to the values of mjb.nbThumbnailsPerPage & mjb.nbThumbnailsPerLine respectively.

mjb.filter.genres

Reduce the number of genres

Default value

mjb.filter.genres=true

thumbnails.format

Format of the thumbnails generated

Valid values

thumbnails.format=png
thumbnails.format=jpeg

thumbnails.width

thumbnails.height

The dimensions of the thumbnails to generate for the index page.

Default values

thumbnails.width=171
thumbnails.height=243

thumbnails.normalize

This parameter controls the thumbnails resizing policy.

When true, the generated thumbnails will be exactly WIDTHxHEIGHT (=> cropped images) When false, the original poster aspect ratio is respected

Valid values

thumbnails.normalize=true
thumbnails.normalize=false

thumbnails.reflection

Add reflection to the generated thumbnails: true or false

Valid values

thumbnails.reflection=true
thumbnails.reflection=false

thumbnails.logoHD

Add a HD logo to the thumbnail when the movie is 720p or 1080p : true or false

Valid values

thumbnails.logoHD=true
thumbnails.logoHD=false

thumbnails.logoTV

Add a TV logo to the thumbnail if the video is a TV Show: true or false

Valid values

thumbnails.logoTV=true
thumbnails.logoTV=false

thumbnails.logoSet

Add a logo to the thumbnails of set posters to indicate that they are sets: true or false

Valid values

thumbnails.logoSet=true
thumbnails.logoSet=false

thumbnails.language

Add a language specific icon (flag) to the thumbnail : true or false

Valid values

thumbnails.language=true
thumbnails.language=false

thumbnails.perspective

Add a perspective effect to the generated thumbnails

Valid values

thumbnails.perspective=true
thumbnails.perspective=false

thumbnails.reflectionHeight

This controls how much of the poster to reflect, this is listed as a percentage of the poster height.

Default Value

thumbnails.reflectionHeight=12.5

thumbnails.reflectionStart

thumbnails.reflectionEnd

These two parameters control where the reflection gradient effect will occur on the reflection portion of the image as a percentage of the reflection height. The default values are 0% and 100%.

Default values

thumbnails.reflectionStart=0.0
thumbnails.reflectionEnd=100.0

thumbnails.opacityStart

thumbnails.opacityEnd

These two parameters control the opacity of the gradient effect. They range from 0% which is clear to 100% which is totally opaque.

Default values

thumbnails.opacityStart=30.0
thumbnails.opacityEnd=100.0

thumbnails.perspectiveTop

thumbnails.perspectiveBottom

These control the percentage that the corners dip to give the perspective view, this is listed as a percentage of the poster height.

Default Value

thumbnails.perspectiveTop=3
thumbnails.perspectiveBottom=3

thumbnails.perspectiveDirection

This controls the direction of the perspective. The Left and Right values are the side of the poster that dips away.

For the "both" parameter an additional graphic is created named "mirror" which is equivalent to the left perspective. The standard graphic is equivalent to the right perspective.

Valid Values

thumbnails.perspectiveDirection=right
thumbnails.perspectiveDirection=left
thumbnails.perspectiveDirection=both

Default Value

thumbnails.perspectiveDirection=right

Posters

posters.format

posters.width

posters.height

posters.normalize

posters.reflection

posters.logoHD

posters.logoTV

posters.language

posters.perspective

All of the same properties for the thumbnail rendering can be applied to the detail Poster image

Default values

  * posters.format=png
  * posters.width=400
  * posters.height=600
  * posters.normalize=false
  * posters.reflection=true
  * posters.logoHD=false
  * posters.logoTV=false
  * posters.language=false
  * posters.perspective=true

mjb.sets.createPosters

If enabled, posters will be created for set masters. Disabled by default. Valid values

  * mjb.sets.createPosters=false
  * mjb.sets.createPosters=true

VideoImages

Most of the same settings for thumbnails and posters can be used for the video images if they are enabled in the skin.

Default values

videoimages.format=jpg
videoimages.width=400
videoimages.height=225
videoimages.normalize=false
videoimages.reflection=false
videoimages.reflectionHeight=12.5
videoimages.reflectionStart=0.0
videoimages.reflectionEnd=100.0
videoimages.opacityStart=30.0
videoimages.opacityEnd=100.0
videoimages.perspective=false
videoimages.perspectiveTop=3.0
videoimages.perspectiveBottom=3.0
videoimages.perspectiveDirection=right

mjb.includeVideoImages

This setting will download episode images from TheTVDB.com for each of the TV Series episodes. If there is no image associated with the video, then a dummy image is used

Valid values

mjb.includeVideoImages=false
mjb.includeVideoImages=true

Season Wide Banners

Most of the same settings for thumbnails and posters can be used for season wide banners if they are enabled in the skin.

Default values

banners.format=jpg
banners.width=400
banners.height=225
banners.normalize=false
banners.reflection=false
banners.reflectionHeight=12.5
banners.reflectionStart=0.0
banners.reflectionEnd=100.0
banners.opacityStart=30.0
banners.opacityEnd=100.0
banners.perspective=false
banners.perspectiveTop=3.0
banners.perspectiveBottom=3.0
banners.perspectiveDirection=right

mjb.includeWideBanners

This setting will download episode images from TheTVDB.com for each of the TV Series episodes. If there is no image associated with the video, then a dummy image is used

Valid values

mjb.includeWideBanners=false
mjb.includeWideBanners=true

mjb.onlySeriesBanners

Only download series banners and not specific season banners

Valid values

mjb.onlySeriesBanners=false
mjb.onlySeriesBanners=true

mjb.cylceSeriesBanners

Attempt to download different series banners for each season This works if "mjb.seriesOnlyBanners=false" and there are no season banners and "mjb.seriesOnlyBanners=true"

Valid values

mjb.cylceSeriesBanners=true
mjb.cylceSeriesBanners=false

Plugins

This is the fully qualified name of the plugin class implementing the thumbnail, poster, video images and background generator for movie posters.

You can replace this default class with your own in order to develop your customized image creator.

The class must implement interface com.moviejukebox.MovieImagePlugin. 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 THESE VALUES.

Default values

mjb.image.plugin=com.moviejukebox.plugin.DefaultImagePlugin
mjb.background.plugin=com.moviejukebox.plugin.DefaultBackgroundPlugin

High-Definition

== highdef.differentiate == ` Differentiate between 720p and 1080p. If this property is not set or false, then the highdef.720.width will be used to determine if a video is HD

Default value

highdef.differentiate=false

Valid values

highdef.differentiate=false
highdef.differentiate=true

highdef.720.width

The width of the video to define 720p. Note this will be used if highdef.differentiate=false to calculate a high-definition video

Default value

highdef.720.width=1280

highdef.1080.width

The width of the video to define 1080p

Default value

highdef.1080.width=1920

Comment by alexxx.magni, May 24, 2009

Be aware that if you are using a PAL system, the default values for background size are wrong, resulting in cropping. Change the values of background.width , background.height from 720x480 (NTSC) to 720x576


Sign in to add a comment
Hosted by Google Code