OK, I'll ask one last time...Becasues everyone wants to know!!
#1
I've asked this before, but I keep getting asked why it is this way.

I have trailers set to play "ondown" or "onleft" or whatever, the problem is when "tab" is pressed to go back to menus, the movie or show plays in the trailer window.

This is because the window has "<visible>Player.HasVideo + Control.IsVisible(508)</visible>"

is there any way to make this not happen?
Image
To learn more, click here.
Reply
#2
Maybe with a window onnext or onprevious condition.

Just a thought. Might be way off...
Reply
#3
same thing I said last time you will need to do a hacky string compare on the filename of the now playing video to make sure it hasn't got the word "trailer" in it its about the only way to tell as xbmc has no idea its only playing a trailer and not a full video
Reply
#4
<visible>substring(VideoPlayer.Title,-trailer)</visible>
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
But...I guess that would give problems for Database trailers.
Reply
#6
mcborzu Wrote:<visible>substring(videoplayer.title,-trailer)</visible>

bless you!!!!!!!!!!!!!!!!!!!!

This works perfectly!

By design, the plan is for people to use ember which will ad trailer to the title, this works for that.
Image
To learn more, click here.
Reply
#7
Waffa Wrote:But...I guess that would give problems for Database trailers.

been wondering the same, my guess would be this 'hack' only works for local trailers?
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#8
Just curious but what do you plan to use instead of the trailer window when the user wants to see what's playing?
Reply
#9
Hitcher Wrote:Just curious but what do you plan to use instead of the trailer window when the user wants to see what's playing?

As in "now playing"? Like, on the home screen?
Image
To learn more, click here.
Reply
#10
Waffa Wrote:But...I guess that would give problems for Database trailers.

ronie Wrote:been wondering the same, my guess would be this 'hack' only works for local trailers?

thats easy really you just change it too ListItem.FileName instead but title works because the don't get added to the db anyway so don't have a title
Reply

Logout Mark Read Team Forum Stats Members Help
OK, I'll ask one last time...Becasues everyone wants to know!!0