replace="value1<->value2" | Replaces value1 with value2 in all variables. You can set value1 or value2 to a line break using #13#10 |
filter="value" | File filter used in "Save as" dialog. Ex.: HTML Files|*.html;*.htm |
encoding="value" | Text encoding. This parameter can be the following value:
|
sortby="value" | Number of the field that should be used for sorting. |
sortdir="value" | Sorting direction.
|
imagepath="value" | Where images are to be saved. This path should be relative to the resulting text file. |
recordtemplate="значение" | Path to a template for generating a file for each record relative to main template file. |
recordfilename=[name]%d.[extension] | How to name files generated using recordtemplate. %d will be replaced with a counter |
pagestpl="value" | Path to a template for generating a list of pages relative to main template file. |
prevtpl="value" | Path to a template used in pagestpl to create a link to a previous page relative to main template file. |
nexttpl="value" | Path to a template used in pagestpl to create a link to a next page relative to main template file. |
pagelinktpl="value" | Path to a template used in pagestpl to create a link to a certain page number relative to main template file. |
pagecurtpl="value" | Path to a template used in pagestpl to output current page number relative to main template file. |
copyfile="file1<->file2" | Copy file1 to file2 |
fullstar="value" | Path to the full star image. (relative to resulting text file) |
halfstar="value" | Path to the half star image. (relative to resulting text file) |
nonestar="value" | Path to the empty star image. (relative to resulting text file) |
itemsperpage="value" | Number of movies per page |
%HEAD%<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>My Video Database</title>
</head>
<body>
%HEAD%
Template Example
%FOOT%
</body>
</html>%FOOT%
{%value} | (without number or options) is used in subtemplates for fields with multiple values, pages subtemplates for page numbers and in rating subtemplates (rating as stars) for rating value. |
{%param=[value]} | is used in subtemplates for fields with different types of data associated (for example actors field can include such information as person id (pid), names, URL, role) |
{%groupparam=[value]} | is used in subtemplates that support grouping (for example: awards, filmography) to identify by what parameter values should be gouped |
Field name | Number | Options |
MID | 0 | |
Num | 1 | |
Title | 2 | |
Origtitle | 3 | |
Aka | 4 | |
Year | 5 | |
MPAA | 6 | |
Release | 7 | |
URL | 8 | |
IMDBRating | 9 | template |
Rating | 10 | template |
OtherRating | 11 | template |
OtherName | 12 | |
Location | 13 | |
Tagline | 14 | |
Description | 15 | |
Comment | 16 | |
DateAdded | 17 | |
Quality | 18 | |
Length | 19 | |
Translation | 20 | |
Resolution | 21 | |
FrameRate | 22 | |
VideoCodec | 23 | |
VideoBitrate | 24 | |
AudioBitrate | 25 | |
Size | 26 | |
Path | 27 | |
MediaType | 28 | |
MediaCount | 29 | |
Features | 30 | |
Barcode | 31 | |
Viewed | 32 | |
ViewDate | 33 | |
Wish | 34 | |
Bookmark | 35 | |
Loaned | 36 | |
Series | 37 | |
EPID | 38 | |
Visible | 39 | |
ParentSeason | 40 | |
Episode | 41 | |
Season | 42 | |
AudioCodec | 43 | template, maxvalues |
Genres | 44 | template, maxvalues |
Countries | 45 | template, maxvalues |
Category | 46 | template, maxvalues |
Labels | 47 | template, maxvalues |
Languages | 48 | template, maxvalues |
Subs | 49 | template, maxvalues |
Studios | 50 | template, maxvalues |
Tags | 51 | template, maxvalues |
Actors | 52 | template, maxvalues, params |
Directors | 53 | template, maxvalues, params |
Writers | 54 | template, maxvalues, params |
Composers | 55 | template, maxvalues, params |
Producers | 56 | template, maxvalues, params |
Borrower | 57 | |
LoanDate | 58 | |
LoanPeriod | 59 | |
UserMail | 60 | |
Links | 61 | template, grouptemplate |
Awards | 62 | template, grouptemplate |
Poster | 63 | width, height, template, maxvalues, params |
Screenshots | 64 | width, height, template, maxvalues, params |
FrontCover | 65 | width, height, template, maxvalues, params |
CDCover | 66 | width, height, template, maxvalues, params |
Credits | 67 | template, grouptemplate |
Episodes | 68 | template, grouptemplate |
PID | 0 | |
Name | 1 | |
TransName | 2 | |
AltNames | 3 | |
Birthday | 4 | |
Death | 5 | |
Birthplace | 6 | |
URL | 7 | |
Rating | 8 | |
Bio | 9 | |
Comment | 10 | |
Bookmark | 11 | |
Visible | 12 | |
Genres | 13 | template, maxvalues |
Filmography | 14 | template, grouptemplate |
Career | 15 | template, maxvalues |
Awards | 16 | template, grouptemplate |
Photo | 17 | width, height, template, maxvalues, params |
width | Maximum image width |
height | Maximum image height |
template | Path to subtemplate for fields with multiple values |
grouptemplate | Path to group subtemplate for fields that support grouping |
maxvalues | Maximum values count for fields with multiple values |
params | if param="full" is set, all associated data is retrieved |
custom | the field is a custom field and the number after value= is it's position |
Field | Values |
Actors | pid, name, transname, url, role |
Directos | pid, name, transname, url, role |
Producers | pid, name, transname, url, role |
Writers | pid, name, transname, url, role |
Composers | pid, name, transname, url, role |
Links | mid, linktype, linkname, num, title, origtitle, year, imdbrating, rating, description, url |
Awards | event, year, result, award, category |
Episodes | epid, mid, epnum, season, num, title, origtitle, year, imdbrating, rating, description, url |
Credits | ctype, pid, name, transname, url, role |
Filmography | ctype, ctypestr, mid, title, origtitle, year, role, url |
All image fields | imgid, imgformat, imgpath |
Number | Meaning |
200 | Total records count |
201 | Total pages count |
202 | Current page number |
203 | Current record number |
204 | Path to the database file (including file name) |
205 | Database name |
206 | Path to the first page (HTML) |
207 | Path to the index file for the current record (HTML) |
208 | Path to the last page (HTML) |
209 | Path to the previous page (HTML) |
210 | Path to the next page (HTML) |
211 | Insert pages template |
212 | List of pages |
213 | Insert previous page template |
214 | Insert next page template |
215 | Path to the current record's file (HTML) |
216 | Path to the previous record's file (HTML) |
217 | Path to the next record's file (HTML) |
218 | Path to a certain page (HTML) |
219 | Path to the first page |
220 | Path to the index file for the current record |
221 | Path to the last page |
222 | Path to the previous page |
223 | Path to the next page |
224 | Path to the current record's file |
225 | Path to the previous record's file |
226 | Path to the next record's file |