ThumbGen Templates Documentation
 Share
The version of the browser you are using is no longer supported. Please upgrade to a supported browser.Dismiss

View only
 
ABCDEFGHIJKLMNOPQRST
1
ThumbGen Templates Documentation
2
3
4
5
List of supported tokens (v1.2.1+)
6
7
NOTE: The original templates credits and ideas belong to TviXiE (www.tvixie.com) and some of the tokens are compatible with the TviXiE templates.
8
9
Token NameMeaningExample
10
%PATH% Template folder without trailing backslash C:\ThumbGen\Templates\MyTemplate
11
%BACKGROUND% Path to the backdrop selected in ThumbGen {image selected as backdrop}
12
%FANART1% Path to the Fanart 1 selected in ThumbGen {image selected as fanart1}
13
%FANART2% Path to the Fanart 2 selected in ThumbGen {image selected as fanart2}
14
%FANART3% Path to the Fanart 3 selected in ThumbGen {image selected as fanart3}
15
%TITLEPATH% Current movie folder path without trailing backslash C:\Movies\Cars
16
%MOVIEFILENAME% Current movie filename Spread.2009.mkv (for c:\movies\spread\spread.2009.mkv)
17
%MOVIEFILENAMEWITHOUTEXT% Current movie filename without extension Spread.2009 (for c:\Movies\Spread\Spread.2009.mkv)
18
%MOVIEFOLDER% Current movie folder name Spread (for c:\Movies\Spread\Spread.2009.mkv)
19
%MOVIEPARENTFOLDER% Current movie parent folder name Movies (for c:\Movies\Spread\Spread.2009.mkv)
20
%COVER% Path to the Cover selected in ThumbGen {image selected as cover}
21
%TITLE% Movie Title Inglorious Basterds
22
%ORIGINALTITLE% Original movie title Inglourious Basterds
23
%PLOT% Synopsis Some description of the movie.
24
%TAGLINE% The Tagline Some tagline
25
%COMMENTS% Free "joker" field for the user own data Some free test the user can place on the sheet
26
%YEAR% Year2009
27
%RUNTIME% Duration of the movies (minutes)135
28
%ACTORS% List of actors John Wayne, Bridget Fonda *
29
%GENRES% List of genres Comedy, Drama *
30
%DIRECTORS% List of directors Quentin Tarantino *
31
%CERTIFICATION% Movie certification PG-13
32
%RELEASEDATE% Release date 12.03.2010 (formatted using collector's format)
33
%MPAA% MPAA Rating from IMDb Rated R for strong sexual content, nudity and language
34
%IMDBID% IMDb Id of the movie tt1186370
35
%CERTIFICATIONTEXT% Movie certification PG-13
36
%COUNTRIES% List of countries Germany, USA *
37
%STUDIOS% List of studios Warner Bros., Pixar *
38
%ALLSUBTITLES% List of distinct embedded/external subtitles (English names) English, Spanish,German *
39
%ALLSUBTITLESTEXT% List of distinct embedded/external subtitles (native names) English, Espanol,Deutsch *
40
%SUBTITLES% List of embedded subtitles (English names) English, French *
41
%SUBTITLES1% … %SUBTITLES5% Individual embedded subtitles (English names) English
42
%SUBTITLESTEXT% List of embedded subtitles (Native names) English, Francais, Deutsch *
43
%EXTERNALSUBTITLESTEXT% List of embedded subtitles (Native names) English, Francais, Deutsch *
44
%EXTERNALSUBTITLES% List of external subtitles (English names) English, French *
45
%EXTERNALSUBTITLES1% … %EXTERNALSUBTITLES5% Individual external subtitles (English names) English
46
%RATING% The rating of the movie (x of 10) 6.8/10
47
%RATINGPERCENT% The rating as percent68
48
%RATINGSTARS% The rating stars (star image loaded from /Template/Settings/Rating/@Filename {the stars rating image}
49
%SEASON% The autodetected season number for the current movie4
50
%EPISODE% The autodetected episode (or CD) number for the current movie2
51
%EPISODETITLE% The current episode name Fire + Water
52
%EPISODEPLOT% Synopsis of the current episode Some description of the episode.
53
%EPISODERELEASEDATE% Release date of the current episode 12.03.2010 (formatted using collector's format)
54
%EPISODELIST% List of episodes for the current season 1, 2, 3 *
55
%EPISODENAMESLIST% List of episodes titles for the current season Title One, Title Two *
56
%EPISODEGUESTSTARS% List of guest stars for the current episode John B, John C *
57
%EPISODEWRITERS% List of writers for the current episode John B, John C *
58
%MEDIAFORMATTEXT% See below list of media values supported. Loaded from /Template/MediaFormats/MediaFormat/@Name Returns value from @Text attribute MKV
59
%SOUNDFORMATTEXT% See below list of sound values supported. /Template/SoundFormats/SoundFormat/@Name Returns value from @Text attribute MP3
60
%RESOLUTIONTEXT% See below list of resolution values supported. /Template/Resolutions/Resolution/@Name Returns value from @Text attribute 1080P
61
%VIDEOFORMATTEXT% See below list of video values supported. /Template/VideoFormats/VideoFormat/@Name Returns value from @Text attribute AVC
62
%FRAMERATETEXT% Frame rate of the movie (original value)23.976
63
%FRAMERATE% Formatted frame rate of the movie (to allow mapping to filenames). The ‘.’ character is replaced by the ‘_’ character. 23_976
64
%ASPECTRATIOTEXT% Aspect ratio of the movie (original value) 16:9 or 2.35:1 or 4:3
65
%ASPECTRATIO% Formatted aspect ration (to allow mapping to filenames). The ‘.’ character is replaced by the ‘_’ character and the ‘:’ character is replaced by ‘-’. 16-9 or 2_35-1 or 4-3
66
%VIDEORESOLUTION% The movie resolution 1920x1080
67
%VIDEORESOLUTIONTEXT% The movie resolution 1920x1080
68
%VIDEOCODECTEXT% The CodecID value for the video codec AVC
69
%VIDEOBITRATETEXT% The video bitrate 977 Kbps
70
%AUDIOCODECTEXT% The CodecID value for the audio codec AC-3
71
%AUDIOCHANNELSTEXT% The number of audio channels2
72
%AUDIOBITRATETEXT% The audio bitrate 128 Kbps
73
%DURATIONTEXT% The detected (mediainfo) duration of the movie (formatted in hours and minutes) 1h 36m
74
%DURATION% The detected (mediainfo) duration of the movie (minutes)98
75
%DURATIONSEC% The detected (mediainfo) duration of the movie (seconds)5880
76
%FILESIZETEXT% The detected (mediainfo) filesize of the movie (formatted using KB, MB and GB) 781.95 MB
77
%CONTAINERTEXT% The detected (mediainfo) container format (as it comes from MediaInfo) Matroska
78
%LANGUAGECODE% The two letter ISO code of the language of the first audio stream en
79
%LANGUAGE% The language of the first audio stream (always the English name) Spanish
80
%LANGUAGES% The languages of all audio streams (always the English names) Spanish/English/Italian *
81
%LANGUAGECODES% The two letter ISO code of the languages of all audio streams es/en/it *
82
%CERTIFICATIONCOUNTRYCODE% The two letter code of the country selected in Options/IMDB as Certification Country (default value: us) es
83
%LANGUAGES1% … %LANGUAGES5% Individual audio languages (English names) English
84
85
86
87
(*) You can control how many items and what the separator between each item will be by opening the template.xml file in a text editor (Notepad) and locate the following rows: <Actors Separator=", " MaximumValues="5" /> <Genres Separator=", " MaximumValues="5" /> <Directors Separator=", " MaximumValues="5" /> <Countries Separator=", " MaximumValues="5" /> <Studios Separator=", " MaximumValues="5" /> <Subtitles Separator=”,” MaximumValues=”5”/> <Episodes Separator=”,” MaximumValues=”5”/> <EpisodesNames Separator=”,” MaximumValues=”5”/> <Languages Separator=”,” MaximumValues=”5”/> <LanguageCodes Separator=”,” MaximumValues=”5”/>
88
Separator specifies which separator you want to use and MaximumValues specifies the maximum number of items you want to show.
89
To every text variable you can append different casing conversions:
90
{UPPER} - Makes the whole text in upper case (eg. %TITLE%{UPPER} will make the whole title uppercase)
91
{LOWER} - Makes the whole text in lower case (eg. %TITLE%{LOWER} will make the whole title lowercase)
92
{TITLECASE} - Makes the whole text in title casing format (eg. %TITLE%{TITLECASE} a title of "The whole nine yards" becomes "The Whole Nine Yards")
93
94
Possible values for 'TextAlignment:' are: BottomCenter, BottomLeft, BottomRight, MiddleCenter, MiddleLeft, MiddleRight, TopCenter, TopLeft, TopRight
95
96
97
List of media info values supported (v1.1.2+)
98
99
Resolutions:
100
720P, 1080P, 288P, 480P, 576P
Loading...