Play Trailer for selected movie

Help each other out

Play Trailer for selected movie

Postby jowaldo on Sat Apr 10, 2004 12:56 am

I would like to add a "trailer" button to my skin, but can't quite figure it out. I made a trailers folder and have subfolders under each of those named exactly the same as the movies they correspond to, and under that is a video_ts folder for it.

In the event manager there is the "play trailer" option, but it wants a path to an individual file... that won't do the trick.

Basically I just want to click the trailer button and it will play the trailer for the selected movie in zoomplayer fullscreen then quit automatically at the end. I'm not interested in random trailers or trailers before a movie.

This is possible now isn't it?
jowaldo
 
Posts: 903
Joined: Wed May 21, 2003 7:17 pm

Postby chadwolcott on Sat Apr 10, 2004 2:38 am

jowaldo,

I actually set something similar last week. The main difference is that my trailers aren't' ripped DVDs, they are all avi/mov/mpg. But conceptually it is the same. First I have a zp skin that is just the video window, nothing else not even a box around it so that it looks like part of xlobby it just covers the info area (See Below). To launch the trailer I have a button with an OS->Execute File event that launches ZP with the following arguements:

/X:270 /Y:145 /W:660 /H:320 /MOUSEOFF /Q "\\Sidious\Media\Trailers\%movies>title%.*"

If you know the ZP commandline options this makes a window 660x320 at 270,145 (X,Y) with no mouse, quits after play then the path to the file.

Each trailer is named the same as the movie name so the path is easy. I would think yours should be the same. Hope this helps

Image
Image
chadwolcott
 
Posts: 107
Joined: Fri Sep 05, 2003 2:34 pm
Location: Boston, MA

Postby mattdisaster on Sat Apr 10, 2004 4:46 am

All I have to say is that's one sweaty jon travolta.

-matt
mattdisaster
 
Posts: 257
Joined: Tue May 27, 2003 6:40 am
Location: Branford, CT

Postby jowaldo on Sat Apr 10, 2004 8:20 am

Thanks chad :)

I'll have to give that a try... don't know how its gonna work with the video_ts style folders/rips though.

And matt yeah that is :?
jowaldo
 
Posts: 903
Joined: Wed May 21, 2003 7:17 pm

Postby chadwolcott on Sat Apr 10, 2004 12:23 pm

It should actually be easy, you just have to put the %movies>title% in the right place.
chadwolcott
 
Posts: 107
Joined: Fri Sep 05, 2003 2:34 pm
Location: Boston, MA

Postby jowaldo on Sat Apr 10, 2004 6:14 pm

chadwolcott wrote:It should actually be easy, you just have to put the %movies>title% in the right place.


Thanks chad! That did the trick!

I used:

/X:270 /Y:145 /W:660 /H:320 /MOUSEOFF /Q "c:\xlobby\trailers\%movies>title%\video_ts\VIDEO_TS.IFO"
jowaldo
 
Posts: 903
Joined: Wed May 21, 2003 7:17 pm

Postby slaman on Sun Oct 15, 2006 12:51 am

Hi all,

Thanks for the tips... I am trying something a little bit different.

Instead of storing the path/filename of a particular trailer, I am storing a URL from which I can stream it... I created an event in the exact same manner as you did, except MPC opens and nothing plays...

Two things I can think of:

1. MPC cannot play URLs using the "pathname" parameter - anyone know if this is true?

2. %movies>trailer% isn't being passed correctly

Thoughts?
slaman
 
Posts: 145
Joined: Sat Oct 14, 2006 10:30 pm

Postby slaman on Mon Oct 16, 2006 4:33 pm

Got it working... I think the link I was using was broken (apple.com likes to take down trailers...)

I'm now storing them locally instead.
slaman
 
Posts: 145
Joined: Sat Oct 14, 2006 10:30 pm