Skip to content
This repository has been archived by the owner on Mar 21, 2023. It is now read-only.

Commit

Permalink
fix: Enable quit-watch-later in mpv #77
Browse files Browse the repository at this point in the history
Allows pressing shift-q to quit so mpv saves the video position and allows
resuming on next play
  • Loading branch information
kebianizao authored May 30, 2022
1 parent e1b26da commit 079e440
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mps_youtube/players/mpv.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def _get_input_file():
conf = conf.replace("playlist_next", "quit")
conf = conf.replace("pt_step 1", "quit")
standard_cmds = ['q quit 43\n', '> quit\n', '< quit 42\n', 'NEXT quit\n',
'PREV quit 42\n', 'ENTER quit\n']
'PREV quit 42\n', 'ENTER quit\n', 'Q quit-watch-later']
bound_keys = [i.split()[0] for i in conf.splitlines() if i.split()]

for i in standard_cmds:
Expand Down

0 comments on commit 079e440

Please sign in to comment.