Kodi Community Forum
[MOD] Multiplex View with Video Window Mod - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Aeon MQ (https://forum.kodi.tv/forumdisplay.php?fid=68)
+---- Thread: [MOD] Multiplex View with Video Window Mod (/showthread.php?tid=49915)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29


- seedzero - 2009-04-30

Nuka1195 Wrote:PlayMedia(filetoplay,1)

,1 will play the media minimized.

!!!

Nice one Wink

Thanks.


- stoli - 2009-04-30

Nuka1195 Wrote:PlayMedia(filetoplay,1)

,1 will play the media minimized.

Tried changing:

Code:
<ondown>PlayMedia($INFO[ListItem.Trailer])</ondown>

to

Code:
<ondown>PlayMedia($INFO[ListItem.Trailer],1)</ondown>

and it still wants to play maximized - any other ideas or will that just not work in these circumstances?

thanks,
-stoli-


- Nuka1195 - 2009-04-30

other ideas? that's how PlayMedia works.

maybe your build is too old.

works fine for me. from twc script.
Quote:
<onclick>XBMC.PlayMedia($INFO[Window.Property(Video)],1)</onclick>



- stoli - 2009-04-30

Nuka1195 Wrote:maybe your build is too old.

works fine for me. from twc script.

Working with Babylon RC1 from today and the mod as posted in the beginning of this thread. I'll keep working on it and see if I can figure something out.

EDIT: Never mind it works like a champ, thank you Nuka1195!

(slaptoface - I had way too many editors open with different files from different folders, helps if you save the working copy)

Thanks,
-stoli-


- anoobie - 2009-04-30

Nuka1195 Wrote:PlayMedia(filetoplay,1)

,1 will play the media minimized.

This is perfect. Thanks a heap.


- anoobie - 2009-04-30

Freddo Wrote:I'm not a real skinner but I think you need to use something like this :
Code:
<ondown>PlayerControl(stop)</ondown>

Thanks I tried this

Code:
<include name="MultiplexTrailer">
        <ondown>PlayerControl(Stop)</ondown>
    </include>
    
    <include name="MultiplexNoTrailer">
        <ondown>PlayMedia($INFO[ListItem.Trailer],1)</ondown>
    </include>

Code:
<include condition="Player.HasMedia">MultiplexTrailer</include>
            <include condition="!Player.HasMedia">MultiplexNoTrailer</include>

but doesn't work. It just starts the trailer from the beginning when I press down. Any other tips would be appreciated.


- jtap06 - 2009-04-30

Awesome mod! How hard would it be to have the video window not show up unless the info screen is up? I prefer to use the "auto" option.

Thanks again!


- anoobie - 2009-04-30

jtap06 Wrote:Awesome mod! How hard would it be to have the video window not show up unless the info screen is up? I prefer to use the "auto" option.

Thanks again!

I just changed it to do that.


- Freddo - 2009-04-30

anoobie Wrote:Thanks I tried this

Code:
<include name="MultiplexTrailer">
        <ondown>PlayerControl(Stop)</ondown>
    </include>
    
    <include name="MultiplexNoTrailer">
        <ondown>PlayMedia($INFO[ListItem.Trailer],1)</ondown>
    </include>

Code:
<include condition="Player.HasMedia">MultiplexTrailer</include>
            <include condition="!Player.HasMedia">MultiplexNoTrailer</include>

but doesn't work. It just starts the trailer from the beginning when I press down. Any other tips would be appreciated.

Sorry, that's pretty much exactly what I would of done, I'm not sure why it doesn't work, maybe something to do with the include being re-evaluated fast enough to make one ondown activate both conditions? I'm not sure...I guess one workaround would be to have a pair of hidden controls, focused on down and visible on focus and wether the trailer is already playing or not, then have those controls play/stop the trailer onclick.

It adds an extra click to the process but I think it should let you do what your trying to do.


- djh_ - 2009-04-30

The conditional includes (and what a black art they are) only evaluate when the window's regenerated, which I guess doesn't apply to starting and stopping fullscreen movies. If you look at how fast you can switch back and forth between the UI and a playing movie, I'm thinking the window is probably retained in the background.

Try doing it with two controls, both with the same id, that change visibility based on whether or not a trailer's playing. Then have the <onup> command point to that one id and hopefully it'll jump to whichever of the two controls is visible. Each control can then have an <onfocus> command to perform the required actions, and even a secondary SetFocus() command to return control to the wraplist.


- Ayla - 2009-04-30

I have read this whole thread, but I'm still wondering:

With this MOD, do you still have to manually switch to fullscreen when watching a movie, in order to have the trailers play in a window?

Or has it been fixed (or is it non-fixable)?

Thanks Smile


- stoli - 2009-04-30

Ayla Wrote:I have read this whole thread, but I'm still wondering:

With this MOD, do you still have to manually switch to fullscreen when watching a movie, in order to have the trailers play in a window?

Or has it been fixed (or is it non-fixable)?

Thanks Smile

It's fixed and updated in anoobie's first post in this thread.

-stoli-


- Msan - 2009-04-30

Is there a tool/program what will download trailers for all the movies in a folder (with subfolders) available somewhere? I did a search, but couldnt find anything Sad


- diemos - 2009-04-30

I was looking for the same thing. If there is no trailer scraper of some kind, anybody know where I can just download trailers for each movie manually?


- Msan - 2009-04-30

There are lots of places to download them from (google is your friend), but with 100's of movies I really don't want to do that manually Smile