Mpv: [Feature Request] Shortcut to loop the current file again.

Created on 9 Apr 2015  路  6Comments  路  Source: mpv-player/mpv

When running mpv --shuffle * sometimes I come across a song that I rather like and would like to hear it again after it's done playing. I believe that a capital L would be fit shortcut for this feature. Just press L and mpv will queue up the same song immediately.

I don't know if this is achievable with Lua API or not. If it is, some pointers would be nice.

Thanks,
John

Most helpful comment

L cycle_values loop-file inf no
in your input.conf

All 6 comments

L cycle_values loop-file inf no
in your input.conf

@johncmouser: does this work for you?

Thanks guys that was just what I needed.

I now use L cycle loop-file 1 in my input.conf. Now every time I press L it queues the song to play once more, then resets once the song is finished.

Thanks for the fast help. :grinning:

Current document:
input.conf
it is not:
#L cycle-values loop "inf" "no" # toggle infinite looping(not work)
it should be:
L cycle_values loop-file inf no
as @swiniopas said above.

?

both work for me. They should be equivalent.

Was this page helpful?
0 / 5 - 0 ratings