@sualfred
sry for late reply, bin die letzten stunden daran gesessen!
Ich bin voll gehypted und es funkioniert super!
Schau dir an was ich provisorisch daraus geschustert habe:
Video Preview
Code 1 mit deiner Hilfe -> RunScript to split a value to a property of your choice (manually approach)
<!-- Director Thumb -->
<!-- Hidden control -->
<control type="group">
<animation effect="fade" start="0" end="100" time="1000" delay="3000">Visible</animation>
<animation effect="fade" start="0" end="100" time="1000" delay="5500">WindowOpen</animation>
<animation effect="fade" start="100" end="0" time="500">Hidden</animation>
<animation effect="fade" start="100" end="0" time="500">WindowClose</animation>
<visible>Container.Content(movies) + [Container(149).HasFocus(10) | Container(149).HasFocus(13)] + Control.Hasfocus(149)</visible>
<control type="list" id="123">
<left>-3000</left>
<top>-3000</top>
<height>1</height>
<width>1</width>
<autoscroll>true</autoscroll>
<scrolltime>6000</scrolltime>
<itemlayout/>
<focusedlayout/>
<content>
<item>
<label>$INFO[Window(home).Property(director.0)]</label>
<onclick>noop</onclick>
<visible>!String.IsEmpty(Window(home).Property(director.0))</visible>
</item>
<item>
<label>$INFO[Window(home).Property(director.1)]</label>
<onclick>noop</onclick>
<visible>!String.IsEmpty(Window(home).Property(director.1))</visible>
</item>
<item>
<label>$INFO[Window(home).Property(director.2)]</label>
<onclick>noop</onclick>
<visible>!String.IsEmpty(Window(home).Property(director.2))</visible>
</item>
<item>
<label>$INFO[Window(home).Property(director.3)]</label>
<onclick>noop</onclick>
<visible>!String.IsEmpty(Window(home).Property(director.3))</visible>
</item>
<item>
<label>$INFO[Window(home).Property(director.4)]</label>
<onclick>noop</onclick>
<visible>!String.IsEmpty(Window(home).Property(director.4))</visible>
</item>
<item>
<label>$INFO[Window(home).Property(director.5)]</label>
<onclick>noop</onclick>
<visible>!String.IsEmpty(Window(home).Property(director.5))</visible>
</item>
<item>
<label>$INFO[Window(home).Property(director.6)]</label>
<onclick>noop</onclick>
<visible>!String.IsEmpty(Window(home).Property(director.6))</visible>
</item>
<item>
<label>$INFO[Window(home).Property(director.7)]</label>
<onclick>noop</onclick>
<visible>!String.IsEmpty(Window(home).Property(director.7))</visible>
</item>
<item>
<label>$INFO[Window(home).Property(director.8)]</label>
<onclick>noop</onclick>
<visible>!String.IsEmpty(Window(home).Property(director.8))</visible>
</item>
<item>
<label>$INFO[Window(home).Property(director.9)]</label>
<onclick>noop</onclick>
<visible>!String.IsEmpty(Window(home).Property(director.9))</visible>
</item>
<item>
<label>$INFO[Window(home).Property(director.10)]</label>
<onclick>noop</onclick>
<visible>!String.IsEmpty(Window(home).Property(director.10))</visible>
</item>
</content>
</control>
<!-- Fake multiimage control -->
<control type="image">
<left>1083</left>
<top>123</top>
<width>397</width>
<height>573</height>
<texture background="true">thumbs/thumb_back_black.png</texture>
<aspectratio align="center" aligny="center">stretch</aspectratio>
</control>
<control type="image">
<left>1083</left>
<top>123</top>
<width>397</width>
<height>573</height>
<aspectratio align="center" aligny="bottom">stretch</aspectratio>
<texture background="true">$INFO[Container(123).ListItem.Label,resource://resource.images.moviedirectorthumbs/,.jpg]</texture>
<fadetime>1000</fadetime>
</control>
<control type="image">
<left>1083</left>
<top>650</top>
<width>397</width>
<height>46</height>
<texture>darkgrey.png</texture>
<colordiffuse>$INFO[Skin.String(colortexture)]</colordiffuse>
<include>Animation_DefaultGlass</include>
<aspectratio align="center" aligny="center">stretch</aspectratio>
</control>
<control type="textbox">
<font>Font_plot4</font>
<align>center</align>
<left>1080</left>
<top>657</top>
<width>397</width>
<height>40</height>
<label>$INFO[Container(123).ListItem.Label]</label>
</control>
</control>
Alles anzeigen
Code 2 -> -> Skin hack with the getdbid content path -> works everywhere were you can provide a dbtype and dbid and is faster than the focus monitor
<!-- Director Thumb -->
<!-- Hidden control -->
<control type="group">
<animation effect="fade" start="0" end="100" time="1000" delay="3000">Visible</animation>
<animation effect="fade" start="0" end="100" time="1000" delay="5500">WindowOpen</animation>
<animation effect="fade" start="100" end="0" time="500">Hidden</animation>
<animation effect="fade" start="100" end="0" time="500">WindowClose</animation>
<visible>Container.Content(movies) + [Container(149).HasFocus(10) | Container(149).HasFocus(13)] + Control.Hasfocus(149)</visible>
<control type="list" id="124">
<left>-3000</left>
<top>-3000</top>
<height>1</height>
<width>1</width>
<autoscroll>true</autoscroll>
<scrolltime>6000</scrolltime>
<itemlayout/>
<focusedlayout/>
<content>plugin://script.embuary.helper/?info=bydbid&dbid=$INFO[ListItem.DBID]&type=$INFO[ListItem.DBType]</content>
</control>
<control type="list" id="125">
<left>-3000</left>
<top>-3000</top>
<height>1</height>
<width>1</width>
<autoscroll>true</autoscroll>
<scrolltime>6000</scrolltime>
<itemlayout/>
<focusedlayout/>
<content>
<item>
<label>$INFO[Container(124).ListItem.Property(director.0)]</label>
<onclick>noop</onclick>
<visible>!String.IsEmpty(Container(124).ListItem.Property(director.0))</visible>
</item>
<item>
<label>$INFO[Container(124).ListItem.Property(director.1)]</label>
<onclick>noop</onclick>
<visible>!String.IsEmpty(Container(124).ListItem.Property(director.1))</visible>
</item>
<item>
<label>$INFO[Container(124).ListItem.Property(director.2)]</label>
<onclick>noop</onclick>
<visible>!String.IsEmpty(Container(124).ListItem.Property(director.2))</visible>
</item>
<item>
<label>$INFO[Container(124).ListItem.Property(director.3)]</label>
<onclick>noop</onclick>
<visible>!String.IsEmpty(Container(124).ListItem.Property(director.3))</visible>
</item>
<item>
<label>$INFO[Container(124).ListItem.Property(director.4)]</label>
<onclick>noop</onclick>
<visible>!String.IsEmpty(Container(124).ListItem.Property(director.4))</visible>
</item>
<item>
<label>$INFO[Container(124).ListItem.Property(director.5)]</label>
<onclick>noop</onclick>
<visible>!String.IsEmpty(Container(124).ListItem.Property(director.5))</visible>
</item>
<item>
<label>$INFO[Container(124).ListItem.Property(director.6)]</label>
<onclick>noop</onclick>
<visible>!String.IsEmpty(Container(124).ListItem.Property(director.6))</visible>
</item>
<item>
<label>$INFO[Container(124).ListItem.Property(director.7)]</label>
<onclick>noop</onclick>
<visible>!String.IsEmpty(Container(124).ListItem.Property(director.7))</visible>
</item>
<item>
<label>$INFO[Container(124).ListItem.Property(director.8)]</label>
<onclick>noop</onclick>
<visible>!String.IsEmpty(Container(124).ListItem.Property(director.8))</visible>
</item>
<item>
<label>$INFO[Container(124).ListItem.Property(director.9)]</label>
<onclick>noop</onclick>
<visible>!String.IsEmpty(Container(124).ListItem.Property(director.9))</visible>
</item>
<item>
<label>$INFO[Container(124).ListItem.Property(director.10)]</label>
<onclick>noop</onclick>
<visible>!String.IsEmpty(Container(124).ListItem.Property(director.10))</visible>
</item>
</content>
</control>
<!-- Fake multiimage control -->
<control type="image">
<left>1083</left>
<top>123</top>
<width>397</width>
<height>573</height>
<texture background="true">thumbs/thumb_back_black.png</texture>
<aspectratio align="center" aligny="center">stretch</aspectratio>
</control>
<control type="image">
<left>1083</left>
<top>123</top>
<width>397</width>
<height>573</height>
<aspectratio align="center" aligny="bottom">stretch</aspectratio>
<texture background="true">$INFO[Container(125).ListItem.Label,resource://resource.images.moviedirectorthumbs/,.jpg]</texture>
<fadetime>1000</fadetime>
</control>
<control type="image">
<left>1083</left>
<top>650</top>
<width>397</width>
<height>46</height>
<texture>darkgrey.png</texture>
<colordiffuse>$INFO[Skin.String(colortexture)]</colordiffuse>
<include>Animation_DefaultGlass</include>
<aspectratio align="center" aligny="center">stretch</aspectratio>
</control>
<control type="textbox">
<font>Font_plot4</font>
<align>center</align>
<left>1080</left>
<top>657</top>
<width>397</width>
<height>40</height>
<label>$INFO[Container(125).ListItem.Label]</label>
</control>
</control>
Alles anzeigen
Beides mit 1:1 den selben positiven Ergebnis!
Die dritte Möglichkeit -> "Focus monitor for the focused item (only in media windows)" verstehe ich noch nicht so ganz oder habs im wiki übersesen.
___
Frage: Habe ich bei den 3 opportunities jetzt nichts durcheinander gebracht?
Wichtigste Frage: Welche von den Möglichkeiten ist am Ressourcen schonend'sten/schnellsten?
In der DialogVideoInfo ist es ja noch relativ egal, aber wenn ich das dann auf views ausweite will wo wieder schnell gescrollt werden muss ist es wieder wichtig.
Eine Kleinigkeit noch: Könnte man irgendwie bewerkstelligen das der scoll timer erst anfängt bzw. von vorne bei visible Control.Hasfocus()
Das multiimage läuft immer unsichtbar weiter egal ob gerade onfocus oder nicht. Ähnlich wie bei container.onnext oder einer window open da geht der timer auch von vorne los.
___
Und ich muss nochmal ein großes herzliches Dankeschön erwähnen! I am really happy!
Das ist das ultimative feature wo ich jetzt bei meinen projekten weiter arbeiten kann.
Ich hoffe, ab und dann darf ich mal ne frage stellen wenns um den feinschliff geht.