INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Question about File Types -> Playback Method  (Read 4646 times)

Arbiter

  • World Citizen
  • ***
  • Posts: 247
  • In love with music.
Question about File Types -> Playback Method
« on: February 13, 2010, 03:49:58 pm »

Hi!

So, i'm really stuck on this for a bit, so i hope someone here can enlighten me :P

I'm using MC to organize my movie collection but i'm using Gom Player for the video playpack (nothing's wrong with mc's video rendering engine, just a personal preference:P) So i went to Options -> File Types -> Playback Method to set the file associations so when i double click a movie file in mc, it will fire up gom player and play that file. My only problem so far, is that i'm trying to make use of the command line option "/fullscreen" that gom player has, so it can start the playback of the movie in full screen.


When i set up the playback method, the options i would get are something like that:

Playback Method: External program (custom)
Program: c:\path_to_gomplayer\GOM.exe
Arguments: "[Filename]"

But if i add the command line after the executable's path i get an error of windows being unable to find the program. If i place the command line in the "arguments" field, then it gets ignored.


How can i set it so mc honors the command line parameter?


ps: as always, please excuse my noob english :P
Logged

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Question about File Types -> Playback Method
« Reply #1 on: February 13, 2010, 04:31:57 pm »

Did you try  /fullscreen "[Filename]"  and  "[Filename]" /fullscreen  ?

What command line works in the CMD window?
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

Arbiter

  • World Citizen
  • ***
  • Posts: 247
  • In love with music.
Re: Question about File Types -> Playback Method
« Reply #2 on: February 13, 2010, 05:02:27 pm »

Did you try  /fullscreen "[Filename]"  and  "[Filename]" /fullscreen  ?

What command line works in the CMD window?


Did try both,

if i put /fullscreen "[Filename]" then i get a "The file doesn't exist: fullscreen" error,where as, by using "[Filename]" /fullscreen then it will just playback the file ignoring the /fullscreen argument.

in CMD the commandline works as "C:\Program Files (x86)\GRETECH\GomPlayer\gom.exe /Fullscreen"

Any other ideas?:)
Logged

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Question about File Types -> Playback Method
« Reply #3 on: February 13, 2010, 05:21:57 pm »

in CMD the commandline works as "C:\Program Files (x86)\GRETECH\GomPlayer\gom.exe /Fullscreen"

Hmm..  that doesn't include a video file.

Can you start file playback in full screen from a CMD window?

For instance:
C:\Program Files (x86)\GRETECH\GomPlayer\gom.exe c:\Videos\xyz.avi /Fullscreen
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

Arbiter

  • World Citizen
  • ***
  • Posts: 247
  • In love with music.
Re: Question about File Types -> Playback Method
« Reply #4 on: February 13, 2010, 05:34:53 pm »

Hmm..  that doesn't include a video file.

Can you start file playback in full screen from a CMD window?

For instance:
C:\Program Files (x86)\GRETECH\GomPlayer\gom.exe c:\Videos\xyz.avi /Fullscreen

hmm, i think i've found it! oddly enough, the command-line needed a second dash, so it would look like that:
"[Filename]" //Fullscreen

It does work now, although i really don't know why that second dash would be needed. Thank you so much for taking the time to help me out, Alex B :)
Logged

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Question about File Types -> Playback Method
« Reply #5 on: February 13, 2010, 05:51:16 pm »

the command-line needed a second dash, so it would look like that:
"[Filename]" //Fullscreen

Is it needed only inside MC or also in a CMD window?


Elsewhere in MC, in expressions, the "/" character is used as an escape character.

For example, here is a renaming rule that I use a lot:

If(IsEmpty([Disc #],1), [track #], CD[Disc #] - [track #]) - If(IsEqual([Album Type], Multiple Artists /(complete/), 1), [Artist] - [Name], [Name])

The "/" characters in Multiple Artists /(complete/) are needed to make MC understand that the "(" characters are part of the actual field value.

I didn't think it would be needed in a command line that is send to an external program but apparently you can create a complex expression also there.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

Arbiter

  • World Citizen
  • ***
  • Posts: 247
  • In love with music.
Re: Question about File Types -> Playback Method
« Reply #6 on: February 13, 2010, 05:58:25 pm »

Nope, it was needed only inside MC and that's why it couldn't work!


Thanks for the information about expressions though. I'm using MC for almost 3 years now and every day there's something new to learn about it!
Logged

grandlulu

  • Junior Woodchuck
  • **
  • Posts: 55
  • GrandLuLu from Paris, impressed by MC!
Re: Question about File Types -> Playback Method
« Reply #7 on: April 18, 2010, 12:31:27 pm »

Easier to open video in fullscreen, set your gom's options for fullscreen :
F5 > Playback > Screen Size : play in full-screen mode when playing...
Best regards from Paris,GrandLuLu
Logged
Best regards ; Cordialement,
GrandLuLu
- Paris, France
Pages: [1]   Go Up