| Personal Video Database Skin Engine Manual |
| File structure: | » |
| <pvd_skin_movie> | <pvd_skin_person> | ||||
| Skin information | |||||
| <skinname> Name of the skin </skinname> | |||||
| <version> Version Number </version> | |||||
| <author> Name of the author </author> | |||||
| <description> Short description of the skin </description> | |||||
| <preview> Relative path to a preview image (all common image formats) </preview> | |||||
| <stars> Relative path to star images for rating controls (BMP only) </stars> | |||||
| <btns> Relative path to button images (BMP only) </btns> | |||||
| Skin defaults | |||||
| <labelfont> Default font for all field labels </labelfont> | |||||
| <fieldfont> Default font for all field controls </fieldfont> | |||||
| <color> Default background color </color> | |||||
|
<linkdefs>
<linkcolor_record> Default color for a record link (record is not visible in database) </linkcolor_record> <linkcolor_visrecord> Default color for a record link (record is visible in database) </linkcolor_visrecord> <linkcolor_memo> Default color for links in Link Memo controls </linkcolor_memo> <linkcolor_combo> Default color for links in Link Check Combo controls </linkcolor_combo> <underline_record> Set to true if you want record links to be underlined and to false if not </underline_record> <underline_memo> Set to true if you want links in Link Memo controls to be underlined and to false if not </underline_memo> <underline_combo> Set to true if you want links in Link Check Combo controls to be underlined and to false if not </underline_combo> </linkdefs> |
|||||
| Section types (containers) | Section <section> | Page control <pagecontrol> | |||
| Custom Section <customsection> | |||||
| Flow Section <screenshots> and <imagelist> | |||||
| Expandable Section <expandsection> | |||||
| Audio Section <astreams> | |||||
| Tab Section <tab> | |||||
| <caption> Tab caption</caption> | |||||
| <color> Section background color </color> | |||||
| <border> Describe section border </border> | |||||
| <color> Border color </color> | |||||
| Row <row> | |||||
| Column <column> | |||||
| Controls | Labels | Field edit controls (see Field definitions and types) | Additional | ||
| Field Label <fieldlabel> | Simple Memo | Separator <separator> | Sections (see Section types) | ||
| Custom Field Label <customfieldlabel> | Simple Edit | Buttons (see Special controls) | |||
| User Defined Label <label> | Expandable Memo | Splitter <splitter> | |||
| Poster count label <postercountlabel> | Link Memo | Spacer <spacer> | |||
| Audio stream label <audiostreamlabel> | Link Check Combo | ||||
| Video stream label <videostreamlabel> | Combo Box | ||||
| Measurement labels (MB, GB, Min, etc.) (see Special controls) | Check Combo Box | ||||
| Check Box | |||||
| Not editable fields (see Field definitions and types) | Rating Stars | ||||
| Tree | |||||
| Image | |||||
| <color> Background color </color> | |||||
| Fonts | Font definition <font> | ||||
| <name> Font name </name> | |||||
| <size> Font size </size> | |||||
| <color> Font color </color> | |||||
| <bold/> | |||||
| <italic/> | |||||
| Attributes (properties): | « » |
| All Sections <section>, <customsection>, <expandsection>, <pagecontrol>, <tab>, <screenshots>, <imagelist>, <astreams> | |
| spacing=”X” | Top and bottom offset between rows in pixel |
| permanent=”B” | Set this attribute to true if you want the control to always be displayed |
| width=”X” | Section width in pixels or percent (add percent sign to the value) |
| height=”X” | Section height in pixels |
| Flow Section <screenshots>, <imagelist> | |
| cwidth=”X” | Maximum width of an item in a section in pixel |
| cheight=”X” | Maximum height of an item in a section in pixel |
| Border <border> | |
| width=”X” | Border thickness in pixel |
| shape=”C” | Shape of the border. Possible values: rect, roundrect, ellipse |
| Row <row> | |
| width=”X” | Row width in pixels |
| height=”X” | Row height in pixels |
| Column <column> | |
| width=”X” | Column width in pixels or percent (add percent sign to the value) |
| height=”X” | Column height in pixels |
| spacing=”X” | Left and right offset between columns in pixel |
| autosize=”B” | Set to true if column width should be calculated according to controls it contains |
| halign=”C” | Horizontal alignment of all controls in the column. Possible values: left, center, right |
| valign=”C” | Vertical alignment of all controls in the column. Possible values: top, center, bottom |
| imgctrlcol=”B” | Set to true if the column contains special image buttons (next, prev, add, count) |
| All Labels <label>, <fieldlabel>, <customfieldlabel>, <postercountlabel>, <videostreamlabel>, <videodatalabel>, <audiostreamlabel>, <audiodatalabel>, <sizelabel>, <lengthlabel>, <fpslabel>, <hzlabel>, <kbpslabel> | |
| width=”X” | Label width in pixels |
| maxwidth=”X” | Maximum label width in pixels |
| minwidth=”X” | Minimum label width in pixels |
| maxheight=”X” | Maximum label height in pixels |
| minheight=”X” | Minimum label height in pixels |
| halign=”C” | Horizontal alignment of the text inside the label. Possible values: left, center, right |
| valign=”C” | Vertical alignment of the text inside the label. Possible values: top, center, bottom |
| wordwrap=”B” | Set to true if the text in the label should wrap to the next line if it does not fit. |
| permanent=”B” | Set this attribute to true if you want the control to always be displayed |
| Field Label <fieldlabel>, Custom label <customfieldlabel> | |
| field=”S” | Name of the field |
| Field Label <fieldlabel> | |
| human=”X” | Must be used instead of field attribute. Defines which type of credits to show. Possible values: 0 – Actors, 1 – Directors, 2 – Writers, 3 – Composers, 4 - Producers |
| Splitter <splitter> | |
| width=”X” | Splitter width in pixels |
| Separator <separator> | |
| width=”X” | Separator width in pixels |
| height=”X” | Separator height in pixels |
| Spacer <spacer> | |
| width=”X” | Spacer width in pixels |
| height=”X” | Spacer height in pixels |
| Images <poster>, <photo>, <froncover>, <cdcover> | |
| permanent=”B” | Set this attribute to true if you want the control to always be displayed |
| autosize=”B” | Set to true if column width should be calculated according to image it contains |
| stretch=”B” | Set to true if you want the image to fill all the space available |
| transparent=”B” | Set to true if the color from the upper left corner of the image should be transparent |
| Trees <awards>, <links>, <filmography> | |
| permanent=”B” | Set this attribute to true if you want the control to always be displayed |
| width=”X” | Tree width in pixels |
| Simple Edits | |
| width=”X” | Width in pixels |
| autosize=”B” | Set to true if control width should be calculated according to text it contains |
| Simple Memo | |
| permanent=”B” | Set this attribute to true if you want the control to always be displayed |
| halign=”C” | Horizontal alignment of the text in the control. Possible values: left, center, right |
| Expandable Memo | |
| width=”X” | Control width in pixels |
| height=”X” | Control height in pixels |
| permanent=”B” | Set this attribute to true if you want the control to always be displayed |
| halign=”C” | Horizontal alignment of the text in the control. Possible values: left, center, right |
| collapsedlines=”X” | Number of lines that should be visible when the control is collapsed |
| Link Memo | |
| width=”X” | Control width in pixels |
| height=”X” | Control height in pixels |
| permanent=”B” | Set this attribute to true if you want the control to always be displayed |
| halign=”C” | Horizontal alignment of the text in the control. Possible values: left, center, right |
| collapsedlines=”X” | Number of lines that should be visible when the control is collapsed |
| valsperline=”X” | Number of separate values that should be shown on one line |
| linkcolor1=”X” | Color of separate values |
| linkcolor2=”X” | Color of a “visited” or “visible” value. (only applicable to record values line names or titles) |
| Link Check Combo | |
| width=”X” | Control width in pixels |
| height=”X” | Control height in pixels |
| permanent=”B” | Set this attribute to true if you want the control to always be displayed |
| valsperline=”X” | Number of separate values that should be shown on one line |
| linkcolor1=”X” | Color of separate values |
| linkcolor2=”X” | Color of a “visited” or “visible” value. (only applicable to record values line names or titles) |
| Check Combo Box, Combo Box | |
| width=”X” | Control width in pixels |
| height=”X” | Control height in pixels |
| permanent=”B” | Set this attribute to true if you want the control to always be displayed |
| Rating Stars | |
| width=”X” | Control width in pixels |
| height=”X” | Control height in pixels |
| permanent=”B” | Set this attribute to true if you want the control to always be displayed |
| maxvalue=”X” | Defines the maximum value accepted by the control |
| precision=”X” | Defines how the rating is incremented when you hover over stars with a mouse. Possible values: 1 - 0.1, 2 - 0.2, 5 - 0.5, 10 - 1 |
| mode=”X” | Defines how the rating is visualized. Possible values: 0 - Edit box and stars, 1 - Stars, 2 - Edit box |
| Check Box | |
| permanent=”B” | Set this attribute to true if you want the control to always be displayed |
| Field definitions and types: | « » |
| Control | Features | Fields |
| Simple Memo | multiline | File Path <path> |
| Simple Edit | single line |
Title <title>,
Original Title <origtitle>, ID <num>, Year <year>,
Release <release>, Media
Count <mediacount>, Duration <length>, Resolution <resolution>, Video Bitrate <videobitrate>, Audio Bitrate <audiobitrate>, Audio
Sampling <sampling>, Audio Channels <channels>, Release date <rdate>, Budget <budget
>, Box Office <money>, File
Size <size>, Date Added <dateadded>, Barcode <barcode>, Media Label <medialabel>, Frame Rate <framerate>, Video Sampling <sampling>, Custom Short Text, Custom Long
Text, Custom Number, Custom Real Number <custom
field=”S”>
Name <name>, Translated Name <transname>, Birthday <birthday>, Birthplace <birthplace>, Date of Death <death> |
| Expandable Memo | multiline, expand/collapse |
Also know as <aka>, MPAA <mpaa>
Alternative Names <altnames> |
| Link Memo | multiline, expand/collapse, clickable text values |
Actors <human
category="0">, Directors <human
category="1">, Writers <human
category="2">, Composers <human
category="3">, Producers <human
category="4">, Tags <tags>,
URL <url>, Studio <studio>, Tagline <tagline>,
Description <description>, Comment <comment>, Features <features>, Custom Memo <custom field=”S”>
Biography <bio> |
| Link Check Combo | multiline, expand/collapse, clickable text values, combo box with checks in edit mode |
Genre <genre>, Country
<country>, Category <category>
Genre <genre> |
| Combo Box | single line, combo box in edit mode | Media Location <location>, Media Type <type>, Quality <rip>, Translation <translation>, Video Codec <videocodec>, Audio Codec <audiocodec>, Language <langs>, Original Language <origlang> |
| Check Combo Box | single line, combo box with checks in edit mode | Subtitles <subtitles>, Custom Select List, Custom Multi Select List <custom field=”S”> |
| Rating Stars | single line edit box with stars |
Rating <rating>,
Additional Rating <orating>, IMDB Rating
<imdbrating>, Custom Rating <custom field=”S”>
Rating <rating> |
| Check Box | a simple check box | Seen <viewed>, Wish <wish>>, Custom Check Box <custom field=”S”> |
| Label | just text (can not be edited or selected) |
Additional Rating Name <orname>,
Loaned to <loanname>, Date Modified <moddate>
Age <age>, Date Modified <moddate> |
| Tree | tree view |
Connections <links>,
Awards <awards>
Filmography <filmography>, Awards <awards> |
| Image | draws an image |
Poster <poster>,
Front Cover <froncover>, Disc Scan <cdcover>
Photo <photo> |
| Flow Section | controls are placed in rows; rows are filled sequentially. |
Poster List <imagelist>,
Screenshots <screenshots>
Photo List <imagelist> |
| Audio Section | control used for audio streams, contains multiple expandable sections each representing an audio stream. | Audio Streams <astreams> |
| Special controls: | « |
| Buttons | |
| <shopbtn> | Search in shop (visible only in wish movies) |
| <shopselbtn> | Select shop (visible only in wish movies) |
| <prevposterbtn> | Previous poster |
| <nextposterbtn> | Next poster |
| <addposterbtn> | Add poster |
| <browsebtn> | Select file(s) |
| <delstreambtn> | Delete audio stream |
| <addstreambtn> | Add audio stream |
| Labels | |
| <postercountlabel> | Poster count label |
| <sizelabel> | File size measurement (MB/GB) depending on size format settings |
| <lengthlabel> | Duration measurement depending on duration format settings |
| <fpslabel> | Frame rate measurement |
| <hzlabel> | Sampling measurement label |
| <kbpslabel> | Bitrate measurement label |