OK i've managed to modify this excellent version of Confluence to add the metadata actors script addon.
I need to explain i take no credit for this and used addon editions from
Mudislanders convergence skin.
Mudislander must be credited for the actual mod,, all i did was splice his code into
Spacemonkeys excellent skin to make things more appealing to me.
You'll need to edit the the following file
DialogVideoInfo.xml
Open it up (I suggest using Notepad ++) and find the following
On or around line 9
PHP Code:
<animation effect="slide" start="1100,0" end="0,0" time="400" tween="quadratic" easing="out">WindowOpen</animation>
<animation effect="slide" start="0,0" end="1100,0" time="400" tween="quadratic" easing="out">WindowClose</animation>
add directly below
PHP Code:
<animation effect="slide" start="1100,0" end="0,0" time="400" tween="quadratic" easing="out" condition="!StringCompare(Window.Property(script.metadata.actors.isactive),1)">Conditional</animation>
<animation effect="slide" start="0,0" end="1100,0" time="400" tween="quadratic" easing="out" condition="StringCompare(Window.Property(script.metadata.actors.isactive),1)">Conditional</animation>
find the following on or around starting on line 1025 to 1097
PHP Code:
<control type="image">
<description>Actor image</description>
<posx>210</posx>
<posy>480</posy>
<width>160</width>
<height>160</height>
<texture>$INFO[Container(50).Listitem.Icon]</texture>
<aspectratio>keep</aspectratio>
<visible>Control.IsVisible(50)</visible>
</control>
<control type="panel" id="50">
<posx>380</posx>
<posy>520</posy>
<width>860</width>
<height>120</height>
<onleft>9000</onleft>
<onright>61</onright>
<onup>61</onup>
<ondown>9000</ondown>
<viewtype label="">list</viewtype>
<pagecontrol>61</pagecontrol>
<scrolltime tween="cubic" easing="out">500</scrolltime>
<orientation>vertical</orientation>
<itemlayout height="40" width="430">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>430</width>
<height>40</height>
<texture border="5">button-nofocus.png</texture>
</control>
<control type="label">
<posx>10</posx>
<posy>0</posy>
<width>410</width>
<height>40</height>
<font>font12</font>
<align>left</align>
<aligny>center</aligny>
<selectedcolor>white</selectedcolor>
<info>ListItem.Label</info>
</control>
</itemlayout>
<focusedlayout height="40" width="430">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>430</width>
<height>40</height>
<visible>!Control.HasFocus(50)</visible>
<texture border="5">button-nofocus.png</texture>
</control>
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>430</width>
<height>40</height>
<visible>Control.HasFocus(50)</visible>
<texture border="5">button-focus2.png</texture>
</control>
<control type="label">
<posx>10</posx>
<posy>0</posy>
<width>410</width>
<height>40</height>
<font>font12</font>
<align>left</align>
<aligny>center</aligny>
<selectedcolor>white</selectedcolor>
<info>ListItem.Label</info>
</control>
</focusedlayout>
</control>
replace with
PHP Code:
<control type="button" id="52">
<posx>210</posx>
<posy>470</posy>
<width>700</width>
<height>40</height>
<font>font13</font>
<label>$INFO[Container(50).ListItem.Label]</label>
<textcolor>white</textcolor>
<focusedcolor>white</focusedcolor>
<texturefocus>MenuItemFO.png</texturefocus>
<texturenofocus>MenuItemNF.png</texturenofocus>
<onleft>61</onleft>
<onright>61</onright>
<onup>49</onup>
<ondown>50</ondown>
<onclick>RunScript(script.metadata.actors,$INFO[Container(50).ListItem.Label])</onclick>
<visible>Control.IsVisible(50)</visible>
</control>
<control type="wraplist" id="50">
<posx>300</posx>
<posy>520</posy>
<width>870</width>
<height>120</height>
<onleft>50</onleft>
<onright>50</onright>
<onup>52</onup>
<ondown>61</ondown>
<viewtype label="">list</viewtype>
<pagecontrol>61</pagecontrol>
<scrolltime>200</scrolltime>
<focusposition>3</focusposition>
<orientation>horizontal</orientation>
<itemlayout width="110" height="110">
<control type="image">
<posx>5</posx>
<posy>5</posy>
<width>100</width>
<height>100</height>
<aspectratio scalediffuse="false">scale</aspectratio>
<texture diffuse="thumb-diffuse.png">$INFO[ListItem.Icon]</texture>
</control>
</itemlayout>
<focusedlayout width="110" height="110">
<control type="image">
<posx>2</posx>
<posy>2</posy>
<width>106</width>
<height>106</height>
<texture border="4">thumb-shadow2.png</texture>
<animation effect="zoom" start="2,2,106,106" end="-14,-14,138,138" time="200">focus</animation>
<animation effect="zoom" start="-14,-14,138,138" end="2,2,106,106" time="200">unfocus</animation>
<visible>Control.HasFocus(50)</visible>
</control>
<control type="image">
<posx>5</posx>
<posy>5</posy>
<width>100</width>
<height>100</height>
<aspectratio scalediffuse="false">scale</aspectratio>
<texture diffuse="thumb-diffuse.png">$INFO[ListItem.Icon]</texture>
<animation effect="zoom" start="5,5,100,100" end="-10,-10,130,130" time="200">focus</animation>
<animation effect="zoom" start="-10,-10,130,130" end="5,5,100,100" time="200">unfocus</animation>
</control>
</focusedlayout>
</control>
Obviously make sure that script.metadata.actors is installed and you should be good.
Now you'll note the actor thumbs display instead of a scrollable list. Clicking the thumb acts as it would do and shows all movies in your database related to that actor. Above the thumb (left hand side) you'll see the actors name. Clicking on that brings up his/her bio and you can list films they have starred in, whether or not in your database, and play trailers etc as well.
Haven't modified directors or writers yet but when i do i'll post my findings.