Author Topic: Skin tag  (Read 6712 times)

0 Members and 1 Guest are viewing this topic.

Offline CAD

  • Older Power User
  • *****
  • Posts: 168
  • I've got my eye on you!
    • View Profile
Skin tag
« on: November 18, 2009, 05:28:03 am »
Hi,

I'm assuming that tag provides the little + symbol to expand and shrink lists.
      <human category="0"/>

is this correct? what does the category="0" bit do?
what happens if i change it to a 1 (i did this and could not see any difference)

Nostra would you be willing to change pvd_classic skin to have "aka" section use this.
I have movies where they have been translated into many countries and the aka list pushes the other entries
down. having aka list shrunk would be nice option.

ie
Code: [Select]
 <row>
  <column width="120" halign="right" valign="top">
   <fieldlabel field="aka"/>
  </column>
  <column>
<aka/>
  </column>
            <column>
<human category="0"/>
  </column>
 </row>

Also is there a list of skin tags (and what they do).
i would be willing to write a "how to" but i have to understand it myself  :D
« Last Edit: December 03, 2009, 07:01:13 am by CAD »
three fingered salutation

Offline nostra

  • Administrator
  • *****
  • Posts: 2852
    • View Profile
    • Personal Video Database
Re: Skin tag
« Reply #1 on: December 02, 2009, 01:44:54 am »
category by human tag means credit type:
 0 - Actor
 1 - Director
 2 - Writer
 3 - Composer
 4 - Producer

Quote
Nostra would you be willing to change pvd_classic skin to have "aka" section use this.

Use what???

Quote
Also is there a list of skin tags (and what they do).

Here is the list. I think most of them are self explanatory:
Code: [Select]
XML_MOVIE         = 'movie';
  XML_MID           = 'mid';
  XML_NUMBER        = 'num';
  XML_TITLE         = 'title';
  XML_ORIGTITLE     = 'origtitle';
  XML_AKA           = 'aka';
  XML_YEAR          = 'year';
  XML_GENRE         = 'genre';
  XML_COUNTRY       = 'country';
  XML_STUDIO        = 'studio';
  XML_RELEASE       = 'release';
  XML_MPAA          = 'mpaa';
  XML_LOCATION      = 'location';
  XML_CATEGORY      = 'category';
  XML_TAGLINE       = 'tagline';
  XML_DESCRIPTION   = 'description';
  XML_MEDIACOUNT    = 'count';
  XML_MEDIATYPE     = 'type';
  XML_RATING        = 'rating';
  XML_IMDBRATING    = 'imdbrating';
  XML_OTHERRATING   = 'orating';
  XML_OTHERNAME     = 'orname';
  XML_RIPTYPE       = 'rip';
  XML_DURATION      = 'length';
  XML_LANGUAGES     = 'langs';
  XML_TRANSLATION   = 'translation';
  XML_RESOLUTION    = 'resolution';
  XML_VIDEOCODEC    = 'videocodec';
  XML_VIDEOBITRATE  = 'videobitrate';
  XML_AUDIOCODEC    = 'audiocodec';
  XML_AUDIOBITRATE  = 'audiobitrate';
  XML_AUDIOCOUNT    = 'audiocount';
  XML_SAMPLING      = 'sampling';
  XML_CHANNELS      = 'channels';
  XML_RELEASEDATE   = 'rdate';
  XML_BUDGET        = 'budget';
  XML_MONEY         = 'money';
  XML_ASPECT        = 'aspect';
  XML_SIZE          = 'size';
  XML_URL           = 'url';
  XML_PATH          = 'path';
  XML_COMMENT       = 'comment';
  XML_DATE          = 'dateadded';
  XML_MODDATE       = 'moddate';
  XML_BARCODE       = 'code';
  XML_MEDIALABEL    = 'medialabel';
  XML_LOAN          = 'loan';
  XML_SUBS          = 'subs';
  XML_FRAMERATE     = 'framerate';
  XML_FEATURES      = 'features';
  XML_VIEWED        = 'viewed';
  XML_BOOKMARKED    = 'bookmark';
  XML_WISH          = 'wish';
  XML_SERIES        = 'series';
  XML_EPISODES      = 'episodes';
  XML_SEASON        = 'season';
  XML_EPISODE       = 'episode';
  XML_EPNUM         = 'epnum';
  XML_VISIBLE       = 'visible';
  XML_CUSTOMVALUE   = 'custom';
  XML_CUSTOM        = 'value';
  XML_CUSTOMID      = 'customid';
  XML_LOANDATE      = 'loandate';
  XML_LOANNAME      = 'loanname';
  XML_LOANPERIOD    = 'loanperiod';
  XML_EMAIL         = 'email';
  XML_VIEWDATE      = 'viewdate';
  XML_TAGS          = 'tags';
  XML_AWARDS        = 'awards';
  XML_EVENT         = 'event';
  XML_RESULT        = 'result';
  XML_AWARD         = 'award';
  XML_AWARD_CAT     = 'cat';
  XML_LINKS         = 'links';
  XML_AUDIO         = 'astreams';
  XML_VIDEO         = 'vstream';
  XML_ORIGLANG      = 'origlang';
  XML_EXTENSION     = 'extension';


  XML_HUMAN         = 'human';
  XML_PID           = 'pid';
  XML_NAME          = 'name';
  XML_TRANSNAME     = 'transname';
  XML_ALTNAMES      = 'altnames';
  XML_BIRTHDAY      = 'birthday';
  XML_BIRTHPLACE    = 'birthplace';
  XML_BIO           = 'bio';
  XML_FILMOGRAPHY   = 'filmography';
  XML_TYPE          = 'category';
  XML_ROLE          = 'role';
  XML_DEATH         = 'death';
  XML_AGE           = 'age';

  XML_IMAGES        = 'images';
  XML_IMGTYPE       = 'imgtype';
  XML_IMGPATH       = 'imgpath';
  XML_IMGURL        = 'imgurl';
  XML_IMGFORMAT     = 'imgformat';
  XML_IMGDATA       = 'imgdata';


  XML_SKIN_MOVIE    = 'pvd_skin_movie';
  XML_SKIN_PERSON   = 'pvd_skin_person';
  XML_SKIN_NAME     = 'skinname';
  XML_SKIN_AUTHOR   = 'author';
  XML_SKIN_VERSION  = 'version';
  XML_SKIN_DESC     = 'description';
  XML_SKIN_IMG      = 'preview';
 
  XML_BORDER        = 'border';
  XML_SECTION       = 'section';
  XML_COLOR         = 'color';
  XML_CUSTOMSECTION = 'customsection';
  XML_EXPANDSECTION = 'expandsection';
  XML_COLUMN        = 'column';
  XML_FONT          = 'font';
  XML_CATFONT       = 'catfont';
  XML_FONTNAME      = 'name';
  XML_FONTSIZE      = 'size';
  XML_FONTBOLD      = 'bold';
  XML_LABELFONT     = 'labelfont';
  XML_FIELDFONT     = 'fieldfont';
  XML_FONTITALIC    = 'italic';
  XML_FIELDLABEL    = 'fieldlabel';
  XML_CUSTOMLABEL   = 'customfieldlabel';
  XML_LABEL         = 'label';
  XML_CAPTION       = 'caption';
  XML_ROW           = 'row';
  XML_BROWSE        = 'browsebtn';
  XML_DELSTREAM     = 'delstreambtn';
  XML_ADDSTREAM     = 'addstreambtn';
  XML_POSTERLEFT    = 'prevposterbtn';
  XML_POSTERRIGHT   = 'nextposterbtn';
  XML_POSTERADD     = 'addposterbtn';
  XML_POSTERLABEL   = 'postercountlabel';
  XML_VIDEOLABEL    = 'videostreamlabel';
  XML_VIDEODATALBL  = 'videodatalabel';
  XML_AUDIOLABEL    = 'audiostreamlabel';
  XML_AUDIODATALBL  = 'audiodatalabel';
  XML_SIZELABEL     = 'sizelabel';
  XML_DURATIONLABEL = 'lengthlabel';
  XML_FPSLABEL      = 'fpslabel';
  XML_HZLABEL       = 'hzlabel';
  XML_KBPSLABEL     = 'kbpslabel';
  XML_SPLITTER      = 'splitter';
  XML_SPACER        = 'spacer';
  XML_PAGECONTROL   = 'pagecontrol';
  XML_TAB           = 'tab';
  XML_SHOPBTN       = 'shopbtn';
  XML_SHOPSELBTN    = 'shopselbtn';
  XML_DEFAULTLINKS  = 'linkdefs';
  XML_SEPARATOR     = 'separator';

  XML_ATTR_AUTOSIZE    = 'autosize';
  XML_ATTR_WIDTH       = 'width';
  XML_ATTR_MAXWIDTH    = 'maxwidth';
  XML_ATTR_MAXHEIGHT   = 'maxheight';
  XML_ATTR_MINWIDTH    = 'minwidth';
  XML_ATTR_MINHEIGHT   = 'minheight';
  XML_ATTR_HEIGHT      = 'height';
  XML_ATTR_SHAPE       = 'shape';
  XML_ATTR_SPACING     = 'space';
  XML_ATTR_CENTER      = 'center';
  XML_ATTR_LEFT        = 'left';
  XML_ATTR_RIGHT       = 'right';
  XML_ATTR_TOP         = 'top';
  XML_ATTR_BOTTOM      = 'bottom';
  XML_ATTR_HALIGN      = 'halign';
  XML_ATTR_VALIGN      = 'valign';
  XML_ATTR_FIELD       = 'field';
  XML_ATTR_FORMAT      = 'format';
  XML_ATTR_BTNCOL      = 'imgctrlcol';
  XML_ATTR_CHILDWIDTH  = 'cwidth';
  XML_ATTR_CHILDHEIGHT = 'cheight';
  XML_ATTR_WORDWRAP    = 'wordwrap';
  XML_ATTR_PERMANENT   = 'permanent';
  XML_ATTR_STRETCH     = 'stretch';
  XML_ATTR_LINKCOLOR1  = 'linkcolor1';
  XML_ATTR_LINKCOLOR2  = 'linkcolor2';
  XML_ATTR_UNDERLINE   = 'underline';
  XML_ATTR_TRANSPARENT = 'transparent';

  XML_POSTER           = 'poster';
  XML_PHOTO            = 'photo';
  XML_IMAGELIST        = 'imagelist';
  XML_SCREENSHOTS      = 'screenshots';
  XML_FRONTCOVER       = 'froncover';
  XML_CDCOVER          = 'cdcover';

It's a copy from PVD sources. Values you need are between ''
Gentlemen, you can’t fight in here! This is the War Room!

Offline CAD

  • Older Power User
  • *****
  • Posts: 168
  • I've got my eye on you!
    • View Profile
Re: Skin tag
« Reply #2 on: December 03, 2009, 06:59:38 am »
Code: [Select]
Nostra would you be willing to change pvd_classic skin to have "aka" section use this.
Use what???

Sorry Nostra,
I should have made myself far more clear.

i would like to limit the "Also known as:" field for movie entries.
When importing a well known movie, you may get 20+  "Also known as:" entries for the movie as it has been released in different languages. This pushes other information down and off the screen.

Some fields have a little "+" next to them (such as writers,producer,actors) to allow a summary ("+") or expanded ("-") list.
I am trying to get the "+" button in against the "Also known as:" field for movies.

I modified your skin to:

Code: [Select]
<row>
 <column width="120" halign="right" valign="top">
  <fieldlabel field="aka"/>
 </column>
 <column>
<aka/>
 </column>
            <column>
<human category="0"/>
 </column>
</row>


This produced the desired results :)
I now have  a little "+" next to "Also known as:" field

im assumming the <human category="0"/>
 produces the "+" - but i'm not sure if it is the best way of doing it

I love your default skin and would like this to be included as a default for future releases.

Begging your humble indulgance, i would like to see this made as a default for this skin :)

PS thanks for the info on skin tags - GREAT  ;D


« Last Edit: December 03, 2009, 07:03:49 am by CAD »
three fingered salutation