Page 1 of 1

Playing multiple files from the MAC terminal

Posted: 08 Oct 2012 14:10
by mohsin7998
Hi everybody.

Need some help in a small problem.

I can play a single file from the MAC terminal by using: open -a VLC /xxx/xxx/xxx.mov

Now I want to play multiple files using the same technique by putting them in a playlist or something like that i- e open -a VLC /xxx/xxx/file1.mov /xxx/xxx/file2.mov /xxx/xxx/file3.mov /xxx/xxx/file4.mov /xxx/xxx/file5.mov

Any help will be appreciated.

Mohsin

Re: Playing multiple files from the MAC terminal

Posted: 08 Oct 2012 19:03
by Jean-Baptiste Kempf
You probably cannot do that with open, but use /Applications/VLC.app/Contents/MacOS/VLC /xxx/xxx/file1.mov /xxx/xxx/file2.mov /xxx/xxx/file3.mov /xxx/xxx/file4.mov /xxx/xxx/file5.mov

Re: Playing multiple files from the MAC terminal

Posted: 10 Oct 2012 16:29
by mohsin7998
Thank you very much for the response. I really appreciate that.

It is working fine but there is a little issue. It takes all the files and puts them in a playlist and plays the last element of the playlist only and stops.

How can I choose VLC to repeat all the movies after finishing them.

Thanks again for the help.

Regards,
Mohsin