2022-12-23 10:17:47 +00:00
|
|
|
set -l options (mpv --list-options 2>/dev/null)
|
2022-04-04 16:57:24 +00:00
|
|
|
complete -c mpv -l(string replace -fr '^\s*--([\w-]+).*' '$1' -- $options)
|
|
|
|
complete -c mpv -lno-(string replace -fr '^\s*--([\w-]+).*Flag.*' '$1' -- $options)
|
2021-08-14 00:07:59 +00:00
|
|
|
|
2020-02-28 11:25:52 +00:00
|
|
|
complete -c mpv -l start -x -d "Seek to given position (%, s, hh:mm:ss)"
|
|
|
|
complete -c mpv -l no-audio -d "Disable audio"
|
2021-08-14 00:07:59 +00:00
|
|
|
complete -c mpv -l no-audio-display -d "Hide attached picture for audio"
|
2020-02-28 11:25:52 +00:00
|
|
|
complete -c mpv -l no-video -d "Disable video"
|
|
|
|
complete -c mpv -l fs -d "Fullscreen playback"
|
|
|
|
complete -c mpv -l sub-file -r -d "Specify subtitle file"
|
|
|
|
complete -c mpv -l playlist -r -d "Specify playlist file"
|