samiamwork / Movist

Movie Player for Mac OS X based on QuickTime & FFmpeg. (Fork of original project on Google Code as it seems to have died)
GNU General Public License v3.0
205 stars 55 forks source link

CLI version #10

Open eduo opened 12 years ago

eduo commented 12 years ago

Hello.

I have a subtitle downloader program called "SolEol" and I'm looking for a helper app to launch to verify subtitles from results listing. I'm currently using a CLI version of mplayer but would very much switch to something a bit newer and more aesthetically pleasing.

Is there a CLI version of movist I could perhaps use and launch from the command line? The idea is to be able to select the video and the subtitle specifically, with most automation removed other than character encoding.

samiamwork commented 12 years ago

You just want to be able to launch Movist from the command line and provide it a video filename and a subtitle filename? Would using the "open" command work for you?

open -a Movist video.mkv

But it does require that the subtitle file have the same name as the video file (video.srt). If you're launching this from a script perhaps you could temporarily rename the subtitle file. If this doesn't work for you I can take a look at adding a command line option to specify the subtitle file. I don't expect it to be difficult but you'll have to wait a little for it.

eduo commented 12 years ago

Yeah. The idea is to be able to open with a specific path to the sub specified in the CLI (and only that, bypassing automatic detection of others), as subs may already be present at the location or the video path may be read-only.

Eduo

On jun 19, 2012, at 6:56 p.m., samiamwork wrote:

You just want to be able to launch Movist from the command line and provide it a video filename and a subtitle filename? Would using the "open" command work for you?

open -a Movist video.mkv

But it does require that the subtitle file have the same name as the video file (video.srt). If you're launching this from a script perhaps you could temporarily rename the subtitle file. If this doesn't work for you I can take a look at adding a command line option to specify the subtitle file. I don't expect it to be difficult but you'll have to wait a little for it.


Reply to this email directly or view it on GitHub: https://github.com/samiamwork/Movist/issues/10#issuecomment-6430932