Animations conditional -2-
#1
Hi

how can i start a animation when i chance from season-view to episodes-view?

thx &
cheers
Reply
#2
only container.content(xx) is possible afaik.
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
#3
Unfortunately there's no Container.ContentOnNext(parameter) or Container.ContentOnPrevious(parameter).
Reply
#4
Too bad.
Reply
#5
Add

PHP Code:
<control type="button">
    <
onfocus condition="Container.Content(Seasons) + IsEmpty(Window(Videos).Property(Animation))">SetProperty(Animation,1)</onfocus>
    <
onfocus condition="!Container.Content(Seasons) + !IsEmpty(Window(Videos).Property(Animation))">AlarmClock(ClearAnimation,ClearProperty(Animation),00:01,silent)</onfocus>
</
control

to the focusedlayout of your container(s). Then you can animate with the condition Container.Content(Episodes) + !IsEmpty(Window(Videos).Property(Animation)). It's not optimal and I don't know if it will work but you could try.
Image
Reply
#6
interesting idea ´Black .... i will try it.
otherwise i can right a completet new view only for episodes. For example List=51 then will WindowsOpen an WindowsClose work or..?
i hope Laugh
Reply
#7
No, it'll only trigger the first time you enter episode level unless you leave the video library and re-enter.

eg Home > TV Shows > Episodes (yes) > TV Shows > Episodes (no)
Reply

Logout Mark Read Team Forum Stats Members Help
Animations conditional -2-0