I guess it would involved writing a bash script, using a while loop waiting for inputs to stop.
while :
do
vlc -f --play-and-exit /path/to/film_1.avi
vlc -f --play-and-exit /path/to/film_2.avi
vlc -f --play-and-exit /path/to/film_3.avi
vlc -f --play-and-exit /path/to/film_4.avi
vlc -f --play-and-exit /path/to/film_5.avi
done
If you hit CTLR+C, it will end the current video and start the next one.
To exit, you have to close the terminal. There might be a more elegant solution, like a while loop waiting for an input to stop.
EDIT
one-liner that can be run in a terminal :
while :; do vlc -f --play-and-exit /path/to/film_1.avi;vlc -f --play-and-exit /path/to/film_2.avi;vlc -f --play-and-exit /path/to/film_3.avi;vlc -f --play-and-exit /path/to/film_4.avi;vlc -f --play-and-exit /path/to/film_5.avi;done
Explanation
- while : equivalent to while true, infinite loop
- -f full screen option
- --play-and-exit exit vlc after playing vidéo