Page 1 of 1

Repeat Parameter Commandline

Posted: 13 Jul 2010 16:28
by igamer88
Hey,
I have a problem with the repeat parameter.
-R, --repeat, --no-repeat Repeat current item (default disabled)
VLC will keep playing the current playlist item. (default disabled)
I want to repeat only a specific playlist item.
:option An option that only applies to the stream directly before it
and that overrides previous settings.
My Playlist:
screenSaver.mov
movie.mov

I tried to start vlc with this command (Java code):

Code: Select all

Runtime.getRuntime().exec(new String[]{"C:\\Program Files (x86)\\VideoLAN\\VLC\\vlc.exe", "--fullscreen", "--quiet", screenSaverFile.getAbsolutePath(), presentationFile.getAbsolutePath(), ":repeat"});
or from windows command line (the same command like above)

Code: Select all

"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" --fullscreen --quiet C:\screenSaver.mov C:\movie.mov :repeat
vlc shows the movies, but do NOT repeat the presentationFile.

Please help me :-)

Re: Repeat Parameter Commandline

Posted: 14 Jul 2010 15:04
by igamer88
I have found a solution by myself.

In place of repeat you can write :input-repeat=-1

Same effect!

Re: Repeat Parameter Commandline

Posted: 03 Nov 2010 20:56
by Lyle18
Thanks for posting your solution!
I just hit the same problem and your fix works for me too!