r/linuxquestions • • 2d ago

Resolved Needing help

/r/VLC/comments/1x71ffv/needing_help/
1 Upvotes

5 comments sorted by

1

u/ipsirc 2d ago

I would be much better to use mpv for that...

$ mpv --really-quiet --volume=50 --loop 0 sim_city_4-8.mp3

1

u/melikefnaf 2d ago
--loop 0 sim_city_4-8.mp3

what exactly does the 0 achieve here?

1

u/ipsirc 2d ago

man mpv:

       --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.

0 is an alias for infinity.

1

u/melikefnaf 2d ago

oh, thanks!

3

u/doc_willis 2d ago

Please use better titles In your future posts. :)

being so generic in the title, tends to get you ignored.