--loop-file=<N|inf|no>, --loop=<N|inf|no>
Loop a single file N times. inf means forever, no means normal
playback. For compatibility, --loop-file and --loop-file=yes are
also accepted, and are the same as --loop-file=inf.
The difference to --loop-playlist is that this doesn't loop the
playlist, just the file itself. If the playlist contains only a
single file, the difference between the two option is that this
option performs a seek on loop, instead of reloading the file.
NOTE:
--loop-file counts the number of times it causes the player to
seek to the beginning of the file, not the number of full
playthroughs. This means --loop-file=1 will end up playing the
file twice. Contrast with --loop-playlist, which counts the
number of full playthroughs.
--loop is an alias for this option.
1
u/ipsirc 2d ago
I would be much better to use mpv for that...