2011-04-08, 18:54
ldi9999 Wrote:when will this be released?
when it's done. There is no ETR
michaeldecharon Wrote:The last couple of days i'm struggling with the problem, that i can't hide one of the 2 videowindows:
As you can see, the original videowindow (in the left corner) is still showing.
I want to keep both videowindows, only just one at a time in the right view.
For this example the one in the left corner has to be unvisible.
I've used in (BOLD) VideoOverlay.xml:
<control type="group">
<visible>Control.IsVisible(3010)</visible>
<animation effect="fade" start="100" end="0" time="200">Hidden</animation>
<control type="videowindow" id="1">
<description>Video Preview</description>
<posx>21</posx>
<posy>173</posy>
<width>446</width>
<height>309</height>
<aspectratio>stretch</aspectratio>
</control>
Control.IsVisible(3010) where 3010 is the view number.
I think when playing the trailer XBMC losses the focus on view number 3010, so therefor i don't know how to make one of the video windows unvisible depending on the view number
mcborzu Wrote:Cant be done, well can with a substring match:
<visible>!substring(VideoPlayer.Title,-trailer)</visible>
but then people who use url's are left out...
I'd love something like THIS
Hitcher Wrote:Can't you assign an id to one and a visible condition on the other based on whether that control is visible or not?
<control type="videowindow" id="1">
...
</control>
<control type="videowindow" id="2">
<visible>!Control.IsVisible(1)</visible>
...
</control>
stringcompare(Container.ViewMode,name_of_viewmode_3010)
Hitcher Wrote:I meant something like this -
PHP Code:<control type="videowindow" id="1">
...
</control>
<control type="videowindow" id="2">
<visible>!Control.IsVisible(1)</visible>
...
</control>
Hitcher Wrote:I meant something like this -
PHP Code:<control type="videowindow" id="1">
...
</control>
<control type="videowindow" id="2">
<visible>!Control.IsVisible(1)</visible>
...
</control>
michaeldecharon Wrote:Allmost!
In the views where i want the new videowindow (id="2") everything works perfect, but when i'm using the original views it only shows the new videowindow instead of the original (id="1").