Added mpv config
This commit is contained in:
parent
34e9f9cc83
commit
eb701b9b24
5 changed files with 81 additions and 79 deletions
2
.config/mpv/mpv.conf
Normal file
2
.config/mpv/mpv.conf
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
script-opts=ytdl_hook-ytdl_path=/usr/bin/yt-dlp
|
||||||
|
ytdl-raw-options=concurrent-fragments=5
|
||||||
|
|
@ -1,25 +1,25 @@
|
||||||
watchhistory: loadpage watchhistory
|
watchhistory: loadpage watchhistory
|
||||||
exit: quit
|
|
||||||
r: reload
|
r: reload
|
||||||
tpause: mpv tprop pause ;; echo success Toggled player pause
|
|
||||||
video: loadpage video
|
|
||||||
next: mpv playlist-next ;; echo mpv Skipped
|
|
||||||
feed: loadpage feed
|
feed: loadpage feed
|
||||||
v: version
|
exit: quit
|
||||||
sub: sync
|
|
||||||
cp: copy
|
|
||||||
back: mpv playlist-previous ;; echo mpv Skipped
|
|
||||||
playlist: loadpage playlist
|
|
||||||
q: quit
|
|
||||||
resume: mpv sprop pause no ;; echo mpv Player resumed
|
|
||||||
x: quit
|
|
||||||
print: echo
|
print: echo
|
||||||
pause: mpv sprop pause yes ;; echo mpv Player paused
|
|
||||||
rc: reload configs
|
|
||||||
trending: loadpage trending
|
trending: loadpage trending
|
||||||
popular: loadpage popular
|
playlist: loadpage playlist
|
||||||
|
back: mpv playlist-previous ;; echo mpv Skipped
|
||||||
search: loadpage search
|
search: loadpage search
|
||||||
library: loadpage library
|
|
||||||
bookmarks: loadpage bookmarks
|
bookmarks: loadpage bookmarks
|
||||||
|
cp: copy
|
||||||
|
library: loadpage library
|
||||||
|
x: quit
|
||||||
|
sub: sync
|
||||||
|
resume: mpv sprop pause no ;; echo mpv Player resumed
|
||||||
|
video: loadpage video
|
||||||
|
q: quit
|
||||||
|
v: version
|
||||||
|
next: mpv playlist-next ;; echo mpv Skipped
|
||||||
|
popular: loadpage popular
|
||||||
h: help
|
h: help
|
||||||
|
pause: mpv sprop pause yes ;; echo mpv Player paused
|
||||||
channel: loadpage channel
|
channel: loadpage channel
|
||||||
|
tpause: mpv tprop pause ;; echo success Toggled player pause
|
||||||
|
rc: reload configs
|
||||||
|
|
|
||||||
|
|
@ -1,25 +1,25 @@
|
||||||
global:
|
global:
|
||||||
'f':
|
|
||||||
2: run ${browser} '${url}'
|
|
||||||
Right:
|
|
||||||
2: mpv seek 5 ;; echo mpv Fast forwarded 5 seconds
|
|
||||||
3: next ;; echo mpv Skipped
|
|
||||||
'c':
|
|
||||||
2: cp ${url}
|
|
||||||
'y':
|
'y':
|
||||||
0: cp ${url}
|
0: cp ${url}
|
||||||
' ':
|
' ':
|
||||||
0: tpause ;; echo mpv Player pause toggled
|
0: tpause ;; echo mpv Player pause toggled
|
||||||
Left:
|
Left:
|
||||||
2: mpv seek -5 ;; echo mpv Rewinded 5 seconds
|
|
||||||
3: back ;; echo mpv Unskipped
|
3: back ;; echo mpv Unskipped
|
||||||
|
2: mpv seek -5 ;; echo mpv Rewinded 5 seconds
|
||||||
|
'f':
|
||||||
|
2: run ${browser} '${url}'
|
||||||
|
Right:
|
||||||
|
3: next ;; echo mpv Skipped
|
||||||
|
2: mpv seek 5 ;; echo mpv Fast forwarded 5 seconds
|
||||||
|
'c':
|
||||||
|
2: cp ${url}
|
||||||
search:
|
search:
|
||||||
'A':
|
|
||||||
1: parrun ${terminal-emulator} mpv '${hover-url}' --no-video --loop-playlist=inf --shuffle
|
|
||||||
'p':
|
|
||||||
2: parrun mpv '${hover-url}'
|
|
||||||
'a':
|
'a':
|
||||||
2: parrun ${terminal-emulator} mpv '${hover-url}' --no-video
|
2: parrun ${terminal-emulator} mpv '${hover-url}' --no-video
|
||||||
|
'p':
|
||||||
|
2: parrun mpv '${hover-url}'
|
||||||
|
'A':
|
||||||
|
1: parrun ${terminal-emulator} mpv '${hover-url}' --no-video --loop-playlist=inf --shuffle
|
||||||
popular:
|
popular:
|
||||||
'p':
|
'p':
|
||||||
2: parrun mpv '${hover-url}'
|
2: parrun mpv '${hover-url}'
|
||||||
|
|
@ -28,55 +28,55 @@ popular:
|
||||||
'A':
|
'A':
|
||||||
1: parrun ${terminal-emulator} mpv '${hover-url}' --no-video --loop-playlist=inf --shuffle
|
1: parrun ${terminal-emulator} mpv '${hover-url}' --no-video --loop-playlist=inf --shuffle
|
||||||
trending:
|
trending:
|
||||||
'p':
|
|
||||||
2: parrun mpv '${hover-url}'
|
|
||||||
'a':
|
'a':
|
||||||
2: parrun ${terminal-emulator} mpv '${hover-url}' --no-video
|
2: parrun ${terminal-emulator} mpv '${hover-url}' --no-video
|
||||||
'A':
|
'A':
|
||||||
1: parrun ${terminal-emulator} mpv '${hover-url}' --no-video --loop-playlist=inf --shuffle
|
1: parrun ${terminal-emulator} mpv '${hover-url}' --no-video --loop-playlist=inf --shuffle
|
||||||
|
'p':
|
||||||
|
2: parrun mpv '${hover-url}'
|
||||||
video: {}
|
video: {}
|
||||||
playlist:
|
playlist:
|
||||||
|
'p':
|
||||||
|
2: parrun mpv '${hover-url}'
|
||||||
'a':
|
'a':
|
||||||
2: parrun ${terminal-emulator} mpv '${hover-url}' --no-video
|
2: parrun ${terminal-emulator} mpv '${hover-url}' --no-video
|
||||||
'A':
|
'A':
|
||||||
1: parrun ${terminal-emulator} mpv '${hover-url}' --no-video --loop-playlist=inf --shuffle
|
1: parrun ${terminal-emulator} mpv '${hover-url}' --no-video --loop-playlist=inf --shuffle
|
||||||
'p':
|
|
||||||
2: parrun mpv '${hover-url}'
|
|
||||||
channel_main: {}
|
channel_main: {}
|
||||||
channel_videos:
|
channel_videos:
|
||||||
|
'p':
|
||||||
|
2: parrun mpv '${hover-url}'
|
||||||
'A':
|
'A':
|
||||||
1: parrun ${terminal-emulator} mpv '${hover-url}' --no-video --loop-playlist=inf --shuffle
|
1: parrun ${terminal-emulator} mpv '${hover-url}' --no-video --loop-playlist=inf --shuffle
|
||||||
'a':
|
'a':
|
||||||
2: parrun ${terminal-emulator} mpv '${hover-url}' --no-video
|
2: parrun ${terminal-emulator} mpv '${hover-url}' --no-video
|
||||||
'p':
|
|
||||||
2: parrun mpv '${hover-url}'
|
|
||||||
channel_playlists:
|
channel_playlists:
|
||||||
'p':
|
'p':
|
||||||
2: parrun mpv '${hover-url}'
|
2: parrun mpv '${hover-url}'
|
||||||
'a':
|
|
||||||
2: parrun ${terminal-emulator} mpv '${hover-url}' --no-video
|
|
||||||
'A':
|
'A':
|
||||||
1: parrun ${terminal-emulator} mpv '${hover-url}' --no-video --loop-playlist=inf --shuffle
|
1: parrun ${terminal-emulator} mpv '${hover-url}' --no-video --loop-playlist=inf --shuffle
|
||||||
|
'a':
|
||||||
|
2: parrun ${terminal-emulator} mpv '${hover-url}' --no-video
|
||||||
watchhistory:
|
watchhistory:
|
||||||
|
'a':
|
||||||
|
2: parrun ${terminal-emulator} mpv '${hover-url}' --no-video
|
||||||
'A':
|
'A':
|
||||||
1: parrun ${terminal-emulator} mpv '${hover-url}' --no-video --loop-playlist=inf --shuffle
|
1: parrun ${terminal-emulator} mpv '${hover-url}' --no-video --loop-playlist=inf --shuffle
|
||||||
'p':
|
'p':
|
||||||
2: parrun mpv '${hover-url}'
|
2: parrun mpv '${hover-url}'
|
||||||
'a':
|
|
||||||
2: parrun ${terminal-emulator} mpv '${hover-url}' --no-video
|
|
||||||
feed:
|
feed:
|
||||||
|
'A':
|
||||||
|
1: parrun ${terminal-emulator} mpv '${hover-channel-url}/videos' --no-video --loop-playlist=inf --shuffle
|
||||||
|
'P':
|
||||||
|
1: parrun ${terminal-emulator} mpv '${hover-channel-url}/videos' --no-video --loop-playlist=inf --shuffle
|
||||||
'p':
|
'p':
|
||||||
2: parrun mpv '${hover-video-url}'
|
2: parrun mpv '${hover-video-url}'
|
||||||
'a':
|
'a':
|
||||||
2: parrun ${terminal-emulator} mpv '${hover-video-url}' --no-video
|
2: parrun ${terminal-emulator} mpv '${hover-video-url}' --no-video
|
||||||
'P':
|
|
||||||
1: parrun ${terminal-emulator} mpv '${hover-channel-url}/videos' --no-video --loop-playlist=inf --shuffle
|
|
||||||
'A':
|
|
||||||
1: parrun ${terminal-emulator} mpv '${hover-channel-url}/videos' --no-video --loop-playlist=inf --shuffle
|
|
||||||
library:
|
library:
|
||||||
'A':
|
|
||||||
1: parrun ${terminal-emulator} mpv '${hover-url}' --no-video --loop-playlist=inf --shuffle
|
|
||||||
'p':
|
'p':
|
||||||
2: parrun mpv '${hover-url}'
|
2: parrun mpv '${hover-url}'
|
||||||
'a':
|
'a':
|
||||||
2: parrun ${terminal-emulator} mpv '${hover-url}' --no-video
|
2: parrun ${terminal-emulator} mpv '${hover-url}' --no-video
|
||||||
|
'A':
|
||||||
|
1: parrun ${terminal-emulator} mpv '${hover-url}' --no-video --loop-playlist=inf --shuffle
|
||||||
|
|
|
||||||
|
|
@ -1,52 +1,52 @@
|
||||||
Enter:
|
|
||||||
0: Select
|
|
||||||
'd':
|
'd':
|
||||||
4: RemoveWord
|
4: RemoveWord
|
||||||
0: ClearHistory
|
0: ClearHistory
|
||||||
End:
|
|
||||||
0: ClearHistory
|
|
||||||
'k':
|
|
||||||
0: MoveUp
|
|
||||||
Esc:
|
Esc:
|
||||||
0: Deselect
|
0: Deselect
|
||||||
|
Home:
|
||||||
|
0: FirstHistory
|
||||||
|
'k':
|
||||||
|
0: MoveUp
|
||||||
|
'q':
|
||||||
|
0: Exit
|
||||||
|
End:
|
||||||
|
0: ClearHistory
|
||||||
|
Up:
|
||||||
|
0: MoveUp
|
||||||
|
2: PreviousEntry
|
||||||
|
':':
|
||||||
|
0: StartCommandCapture
|
||||||
Down:
|
Down:
|
||||||
0: MoveDown
|
0: MoveDown
|
||||||
2: NextEntry
|
2: NextEntry
|
||||||
|
'v':
|
||||||
|
2: Paste
|
||||||
|
'h':
|
||||||
|
0: MoveLeft
|
||||||
F5:
|
F5:
|
||||||
0: Reload
|
0: Reload
|
||||||
Home:
|
Backspace:
|
||||||
0: FirstHistory
|
0: Back
|
||||||
'j':
|
Right:
|
||||||
0: MoveDown
|
2: NextWord
|
||||||
Up:
|
0: MoveRight
|
||||||
2: PreviousEntry
|
'a':
|
||||||
0: MoveUp
|
2: First
|
||||||
|
Enter:
|
||||||
|
0: Select
|
||||||
Left:
|
Left:
|
||||||
4: Back
|
4: Back
|
||||||
2: PreviousWord
|
2: PreviousWord
|
||||||
0: MoveLeft
|
0: MoveLeft
|
||||||
'l':
|
|
||||||
0: MoveRight
|
|
||||||
'v':
|
|
||||||
2: Paste
|
|
||||||
'q':
|
|
||||||
0: Exit
|
|
||||||
'e':
|
|
||||||
2: End
|
|
||||||
'r':
|
'r':
|
||||||
2: Reload
|
2: Reload
|
||||||
':':
|
|
||||||
0: StartCommandCapture
|
|
||||||
Backspace:
|
|
||||||
0: Back
|
|
||||||
'u':
|
'u':
|
||||||
2: ClearLine
|
2: ClearLine
|
||||||
'a':
|
|
||||||
2: First
|
|
||||||
'h':
|
|
||||||
0: MoveLeft
|
|
||||||
Right:
|
|
||||||
0: MoveRight
|
|
||||||
2: NextWord
|
|
||||||
'w':
|
'w':
|
||||||
2: RemoveWord
|
2: RemoveWord
|
||||||
|
'j':
|
||||||
|
0: MoveDown
|
||||||
|
'l':
|
||||||
|
0: MoveRight
|
||||||
|
'e':
|
||||||
|
2: End
|
||||||
|
|
|
||||||
|
|
@ -22,9 +22,9 @@ api_key: YOUR API KEY HERE
|
||||||
shell: sh
|
shell: sh
|
||||||
legacy_input_handling: false
|
legacy_input_handling: false
|
||||||
env:
|
env:
|
||||||
browser: xdg-open
|
|
||||||
save-path: ~/.local/share/youtube-tui/saved/
|
save-path: ~/.local/share/youtube-tui/saved/
|
||||||
terminal-emulator: konsole -e
|
|
||||||
youtube-downloader: yt-dlp
|
|
||||||
video-player: mpv
|
video-player: mpv
|
||||||
|
youtube-downloader: yt-dlp
|
||||||
|
browser: xdg-open
|
||||||
|
terminal-emulator: konsole -e
|
||||||
download-path: ~/Downloads/%(title)s-%(id)s.%(ext)s
|
download-path: ~/Downloads/%(title)s-%(id)s.%(ext)s
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue