Kodi Community Forum
[WIP] Welo - a new skin for XBMC in the making - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+--- Thread: [WIP] Welo - a new skin for XBMC in the making (/showthread.php?tid=85142)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39


- nietsen - 2011-04-08

ldi9999 Wrote:when will this be released?

when it's done. There is no ETR


- krish_2k4 - 2011-04-10

any updates?


- ubuntuf4n - 2011-04-10

check the previous post.


Different videowindows for different views - michaeldecharon - 2011-04-10

The last couple of days i'm struggling with the problem, that i can't hide one of the 2 videowindows:

Image

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


- Zephyros - 2011-04-10

How can I help with the translation? I can translate the skin to Greek! Smile


- mcborzu - 2011-04-10

michaeldecharon Wrote:The last couple of days i'm struggling with the problem, that i can't hide one of the 2 videowindows:

Image

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

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


- michaeldecharon - 2011-04-10

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

Thanks I'll give it a try!

But then when you exit a movie from fullscreen, I still got two videowindows instead of one.

I know it's possible because the aeon skin works similar.


- Hitcher - 2011-04-10

Can't you assign an id to one and a visible condition on the other based on whether that control is visible or not?


- michaeldecharon - 2011-04-10

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?

That's exactly what I'm trying to achieve.

The view has id 3010 but when playing the trailer I think the focus gets on another id.

Is there a way to log which screen/id gets the focus?


- Hitcher - 2011-04-10

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 - 2011-04-10

If you want to base things on which view mode is currently being used then you'll need to use a StringCompare.

ie

PHP Code:
stringcompare(Container.ViewMode,name_of_viewmode_3010



- michaeldecharon - 2011-04-10

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

That sounds logic!

I will give it a try.

Thanks for your afford!


- michaeldecharon - 2011-04-10

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

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").


- michaeldecharon - 2011-04-10

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").

Problem solved.

Just cut the code from VideoOverlay and pasted in the Includes file, within my different videodetails. Where each videodetail only shows depending on the specific views and therefore only shows the right videowindow, new or original.


- meridius - 2011-04-11

Who's designing this skin now ? are u both doing this skin now and how's it comming along as I have not viewd this thread for weeks.

Any date on release

Cheers