VideoLAN. Finally a player works for me.

Information related to the pre-release commercial version of xlobby

Re: VideoLAN. Finally a player works for me.

Postby sharp_1 on Wed Nov 21, 2007 3:27 pm

Marbles_00 wrote:You can have external players play within a window of xlobby by using the xmovewindow plugin. You just need to get window class name of the viewer. Xmovewindow has a great tutorial in setting it up. Could be just what you need.

Thanks Marbles_00

VideoLAN has a x and y offset display command line that you can use.
Marque display sub filter

Module name : marq
--marq-marquee <string> Marquee text to display.
--marq-x <integer> X offset from the left in pixels.
--marq-y <integer> Y offset from the top in pixels.
--marq-timeout <timeout> Defines the time the marquee must remain displayed in milliseconds. Default value is 0 (remain forever).
sharp_1
 
Posts: 630
Joined: Tue Jan 31, 2006 1:01 am
Location: Wisconsin

Re: VideoLAN. Finally a player works for me.

Postby Jay on Wed Nov 21, 2007 3:36 pm

sharp_1 wrote:Well I know I'm close but still not able to get it to work. No error messages so I know the new FILE TYPE I created must not be working at all.

Here is what I have so far:

Made sure my offline movie checkbox was unchecked in the setup>database>movies
Image

Then created my FILE TYPE:
Image

Still nothing is working for me except for when I manually send a argument thru xl to the vlc.exe that looks like this: -f vlc dvdsimple: "file_location" and also had created an online movie event where I ran a .bat file to play a movie..but that stopped working.


Well, your approach seems overly complicated to me. Except for the -f. I just right-click on the player a choose fullscreen when I want. Anyway...
I needed to add all of these, not just "%parameter%" >Command line switches: "%parameter%" "%path%" "%file%"
Maybe the diff is in our folder structure. Hmm, actually, I didn't test without first path, then file. It worked will all 3 so I quit :)

Just in case, to actually launch vlc I added a button on the movieviewer overlay which triggers the event movies:play movie
Jay
 
Posts: 869
Joined: Thu Oct 13, 2005 6:28 pm
Location: Kiawah Island, SC US

Re: VideoLAN. Finally a player works for me.

Postby Jay on Wed Nov 21, 2007 3:38 pm

Thanks for the Xmovewindow tip Marbles.
Jay
 
Posts: 869
Joined: Thu Oct 13, 2005 6:28 pm
Location: Kiawah Island, SC US

Re: VideoLAN. Finally a player works for me.

Postby sharp_1 on Wed Nov 21, 2007 5:53 pm

Jay:

Can you give me a screenshot of your file type setup screen? I want to compare mine with yours.

Thanks,
sharp_1
 
Posts: 630
Joined: Tue Jan 31, 2006 1:01 am
Location: Wisconsin

Re: VideoLAN. Finally a player works for me.

Postby Jay on Wed Nov 21, 2007 7:44 pm

Here ya go.
BTW, Videos is a somewhat different animal than Movies. I moved my home movies to the Movie folder to save time. The only one that won't play on VLC thru XL is an avi, even though I've spec'd avi in the associations. I'll look at it later.
Attachments
file_types.jpg
Jay
 
Posts: 869
Joined: Thu Oct 13, 2005 6:28 pm
Location: Kiawah Island, SC US

Re: VideoLAN. Finally a player works for me.

Postby Jay on Wed Nov 21, 2007 10:03 pm

sharp_1, how are you making out? I'm leaving for SoCal very early tomorrow and will be outta touch until late Monday night/Tuesday morning EST.
Another BTW. VLC's 'Always on Top' works great with XL.
Jay
 
Posts: 869
Joined: Thu Oct 13, 2005 6:28 pm
Location: Kiawah Island, SC US

Re: VideoLAN. Finally a player works for me.

Postby sharp_1 on Thu Nov 22, 2007 12:10 am

So far not so good...how do you have your play event set up? are you using the execute category or ?

Thanks for the help!!

Have a safe trip!!!
sharp_1
 
Posts: 630
Joined: Tue Jan 31, 2006 1:01 am
Location: Wisconsin

Re: VideoLAN. Finally a player works for me.

Postby Jay on Thu Nov 22, 2007 12:59 am

For the basics, I think you are still making this too complicated.
You have my file types.
The ONLY other thing I did was create a button in (skin editor>Goto>movieviewer, which is an overlay)) and assigned it the event movies:play movie.
If you're not comfy creating new button, click the right arrow icon on that screen which has the event movies:plot next page. Right click to copy and left click to paste. Drag the copy from the original to where you'd like it.
Select the new button and go to the Text tab and type something in like VLC. Go to the Events tab, remove the assigned event from the copied button and assign it Skins>Events>Movies:play movie.
Jay
 
Posts: 869
Joined: Thu Oct 13, 2005 6:28 pm
Location: Kiawah Island, SC US

Re: VideoLAN. Finally a player works for me.

Postby cmhardwick on Thu Nov 22, 2007 2:30 am

Sharp_1, the Play Movie event is already there. There's nothing to "setup" Just point to it.

If you want the specifics of the event, here they are:
the event is under SKINS:MOVIES
Event name: Play Movie
Commands under the event:
close overlay
goto screen
(you're movie control screen. in my case, from Badabings's Burlwood skin - MOVIES_PLAYER)
Execute - (category name is movies)

That's it.

HTH
cmhardwick
 
Posts: 508
Joined: Fri Jul 14, 2006 6:07 pm
Location: Tennessee

Re: VideoLAN. Finally a player works for me.

Postby Jay on Fri Nov 30, 2007 10:14 pm

VideoLAN has a x and y offset display command line that you can use.
Marque display sub filter

Module name : marq
--marq-marquee <string> Marquee text to display.
--marq-x <integer> X offset from the left in pixels.
--marq-y <integer> Y offset from the top in pixels.
--marq-timeout <timeout> Defines the time the marquee must remain displayed in milliseconds. Default value is 0 (remain forever).
[/quote]

Hmm. I'm thinking this is the way to move VLC to the 2nd screen. Not marquee. Not sure because I can't get the syntax right.
--video-x=<integer> Video X coordinate
You can enforce the position of the top left
corner of the video window (X coordinate).
--video-y=<integer> Video Y coordinate
You can enforce the position of the top left
corner of the video window (Y coordinate).

Anyway, any clue as to the syntax in XL's File Types? Adding %vlc -f gets me full screen on my primary monitor but I'd like an offset to 1025 x to push the player to my 2nd monitor. I can take it out of full screen and drag it, but the next launch opens it on the primary again.
Jay
 
Posts: 869
Joined: Thu Oct 13, 2005 6:28 pm
Location: Kiawah Island, SC US

Re: VideoLAN. Finally a player works for me.

Postby Jay on Mon Dec 10, 2007 1:23 pm

Auto opening VLC on 2nd screen is solved.

Drag VLC to 2nd screen.
Settings>preferences>video>output modules>DirectX (click Advance options at lower right).
Go to dropdown to the right of 'Name of desired display device'. Choose \\.\DISPLAY 2 and click Save.

Close VLC.
Open a movie on XL with your VLC event.

VLC opens in 2nd screen.
Jay
 
Posts: 869
Joined: Thu Oct 13, 2005 6:28 pm
Location: Kiawah Island, SC US

Re: VideoLAN. Finally a player works for me.

Postby sharp_1 on Mon Dec 10, 2007 2:11 pm

Very nice work Jay!!
sharp_1
 
Posts: 630
Joined: Tue Jan 31, 2006 1:01 am
Location: Wisconsin

Re: VideoLAN. Finally a player works for me.

Postby Jay on Mon Dec 10, 2007 2:34 pm

Took me long enough for something simple :? :)

I was in XL setup>Display and noticed under the multi-monitor switch, the notation \\.\DISPLAY1
I had simply never noticed it before.

I jumped back into VLC, looked thru the video section again and there were the choices under direct X. (DOH!)
Jay
 
Posts: 869
Joined: Thu Oct 13, 2005 6:28 pm
Location: Kiawah Island, SC US

Previous