Dear Skinning Pros - Is this possible?
#16
What the correct onclick to play the movie?

I've tried different variations of:
<onclick>XBMC.PlayMedia()</onclick>

but no luck, I've gotten the buttons to link to Movie Info, trailer, just cant get the right "Play main movie" onclick....

Waffa Wrote:Hey mcborzu,
Looked in Night for Show/hide...needs some work report it in bugs.

Could you explain a little further or screenshot?, Just post in my bugs thread when you got time...

***Nevermind you just did thx Waffa***
Image

Check out The Carmichael - A Skin For XBMC

Check out Night - A Skin For XBMC

Check out Unfinished - A Skin For XBMC
Reply
#17
Thanks for that but it's not quite what I am looking for. All I want is to launch 'dialogvideoinfo' when a movie is selected with the enter button.

Movies-->Title-->Toy Story-->Info screen with Play Movie and Play Trailer options.

However it seems that the only option when you select a movie is for it to play. I thought there might be some way to overwrite this.

It works fine if I change the keymap so that the enter button brings up info, however this means the same thing happens in tv shows which is no good.

So either I need to:
-Change xbmc code to allow overwrite of the select command (no chance!)
-Change xbmc code so that TV and Movies operate seperately in the keymap(no chance!)
-Find a trick using buttons/multiselects/sendclick/hidden stuff etc to achieve the same effect (Out of ideas!)
Reply
#18
mcborzu Wrote:What the correct onclick to play the movie?

I've tried different variations of:
<onclick>XBMC.PlayMedia()</onclick>

but no luck, I've gotten the buttons to link to Movie Info, trailer, just cant get the right "Play main movie" onclick....



Could you explain a little further or screenshot?, Just post in my bugs thread when you got time...

***Nevermind you just did thx Waffa***
Try SendClick(windowid,id)

given in the window id and control.....list id.
Reply
#19
One other thought is an include condition:

<include condition="Container.Content(movies)">movieondown</include>
<include condition="!Container.Content(movies)">not_movieondown</include>

Then those reference two includes:

PHP Code:
<include name="movieondown">
        <
ondown>ActivateWindow(movieinformation)</ondown>
    </include> 

PHP Code:
<include name="not_movieondown">
        <
ondown>52</ondown>
    </include> 

Now ondown in movies will activate the info but if not in movies it will just go to whatever you want - view options, scrollbar, nothing, etc...
Image

Check out The Carmichael - A Skin For XBMC

Check out Night - A Skin For XBMC

Check out Unfinished - A Skin For XBMC
Reply
#20
No option for Roders he wants to use the enter button which is hard coded.

Your doing it with ondown, I prefer the old way ...the info button Big Grin
But hey it's still a good option for your skin.
Reply
#21
Waffa Wrote:Try SendClick(windowid,id)

given in the window id and control.....list id.

<onclick>SendClick(25,50)</onclick>

Didn't work for me...
Image

Check out The Carmichael - A Skin For XBMC

Check out Night - A Skin For XBMC

Check out Unfinished - A Skin For XBMC
Reply
#22
Waffa Wrote:No option for Roders he wants to use the enter button which is hard coded.

Your doing it with ondown, I prefer the old way ...the info button Big Grin
But hey it's still a good option for your skin.

Yeah there's any number of ways to bring up info, but I use an apple tv and the remote has very few buttons (which is a good thing imo). At the minute info comes up if you hold the play button but I think this is very counter intuitive. My skin is all about speed, simplicity and ease of use for anyone. I'll have to settle for onright or ondown at the minute (also counter intuitive Sad).
Reply

Logout Mark Read Team Forum Stats Members Help
Dear Skinning Pros - Is this possible?0