INTERACT FORUM
More => Old Versions => Media Center 14 (Development Ended) => Topic started by: Arbiter 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
-
Did you try /fullscreen "[Filename]" and "[Filename]" /fullscreen ?
What command line works in the CMD window?
-
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?:)
-
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
-
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 :)
-
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.
-
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!
-
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