Movist icon indicating copy to clipboard operation
Movist copied to clipboard

CLI version

Open eduo opened this issue 12 years ago • 2 comments

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.

eduo avatar Jun 18 '12 08:06 eduo

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.

samiamwork avatar Jun 19 '12 16:06 samiamwork

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

eduo avatar Jun 19 '12 19:06 eduo