Solved DiscArt spinning speed change
#1
Hello everyone,
I'm trying to change the discart speed when the player pause and plays again. the problem is the transitions, the disc with the code below always starts from 0 degrees and not from the last position. however when I remove the " reversible="false"" from the second condition, the transition from pause to playing is correct. the disc spins with more speed and starts from the last position. but when i remove the "reversible="false"" from the firstcondition it doesn't really work like the first. So the transition from playing to pause is not correct.

PHP Code:
<animation effect="rotate" end="-360" center="auto" time="2800" loop="true" reversible="false"
 
condition="!Player.Paused + ListItem.IsPlaying">Conditional</animation>
<
animation effect="rotate" end="-360" center="auto" time="7800" loop="true" reversible="false" 
condition="Player.Paused + ListItem.IsPlaying">Conditional</animation

Hope you guys can help me
Best regards
Reply
#2
The listItem.isPlaying works on albums? For me it only works on movies now. I had the impression that when I first implemented it worked on albums too.
Can anybody clarify this for me, thanks

PHP Code:
<!-- Album Info -->
                <
control type="group">
                    <
visible>!Container.Content(artists)</visible>
                    <
visible>!Control.IsVisible(50) + IsEmpty(Window.Property(content))</visible>
                    <
left>ListSquareX</left>
                    <
right>SidePad</right>
                    <
bottom>224</bottom>
                    <
top>PosterPad</top>
                    <
control type="image">
                    <
right>0</right>
                        <
width>410</width>
                        <
height>410</height>
                        <
fadetime>300</fadetime>
                        <
animation effect="rotate" end="-360" center="auto" time="2800" loop="true" reversible="false" 
condition="!Player.Paused + ListItem.IsPlaying">Conditional</animation>
                        <
animation effect="rotate" end="-360" center="auto" time="7800" loop="true" 
condition="Player.Paused + ListItem.IsPlaying">Conditional</animation
                        <
texture>$INFO[Window(Home).Property(SkinHelper.Music.DiscArt)]</texture>
                        
                    </
control>


continues 
Reply
#3
Already solved the animations problem. THe isPlaying only works for songs and video not full albums

Thanks
Reply

Logout Mark Read Team Forum Stats Members Help
DiscArt spinning speed change0