Trailer window appears when music is playing.
#1
I have the following condition on my trailer window:

<visible>Player.HasMedia + Control.IsVisible(508)</visible>

The problem is that when a song is playing and I navigate into the movie view (508), the window is up as if the trailer is playing. How can I make it only appear if the trailer is playing?
Reply
#2
It's best to separate them i.e-

Player.HasVideo and Player.HasAudio

Player.HasMedia as you have seen will show for both music and video
Image

Check out The Carmichael - A Skin For XBMC

Check out Night - A Skin For XBMC

Check out Unfinished - A Skin For XBMC
Reply
#3
mcborzu Wrote:It's best to separate them i.e-

Player.HasVideo and Player.HasAudio

Player.HasMedia as you have seen will show for both music and video

Worked like a charm, thanks!


That leads me to the next question though, how can I make the "Stop Trailer" button only appear when the trailer is playing and not when the movie is selected. When I hit enter to start a movie, the label changes from Play Trailer to Stop Trailer as if the trailer was played. It goes away when the video goes full screen but it bothers me that it flashes and changes.
Reply
#4
If you mean it shows for that 1-2 seconds before you enter the fullscreen movie...Probably a conditional animation with a delay of 2000 or 4000, you know play with a value till it works.
Image

Check out The Carmichael - A Skin For XBMC

Check out Night - A Skin For XBMC

Check out Unfinished - A Skin For XBMC
Reply
#5
mcborzu Wrote:If you mean it shows for that 1-2 seconds before you enter the fullscreen movie...Probably a conditional animation with a delay of 2000 or 4000, you know play with a value till it works.

I'll give that shot, thanks!
Reply

Logout Mark Read Team Forum Stats Members Help
Trailer window appears when music is playing.0