-
Notifications
You must be signed in to change notification settings - Fork 396
Termux How To
Euro20179 edited this page Jul 22, 2022
·
2 revisions
This is a simple how-to guide on making ytfzf work well on Termux.
- Install
ncurses-utils, andfzf- If you want thumbnails, there are not a lot of options on mobile, the best being
chafa
- If you want thumbnails, there are not a lot of options on mobile, the best being
- There a few options for this step
- Option 1: Install a special patch of
mpv-android, located on this issue onmpv-android, the direct download link is here- Make sure the regular version of
mpv-androidis not installed - This patch allows for mpv to play youtube videos directly.
- See using mpv-android
- Make sure the regular version of
- Option 2: use vlc see Using vlc
- Option 3: skip to alternative player function
- Option 1: Install a special patch of
-
Open
mpv, go to three dots top right->Settings->Advanced->Install/Updateyoutube-dland select Install and chooseyt-dlp -
in
~/.config/ytfzf/conf.shadd these lines
termux_player () {
am start --user 0 -a android.intent.action.VIEW -d "$1" is.xyz.mpv/.MPVActivity
}
url_handler=termux_player- Download vlc.
- in
~/.config/ytfzf/conf.shadd these lines
termux_player () {
am start -a android.intent.action.VIEW -d "$1" org.videolan.vlc/.StartActivity
}
url_handler=termux_playerThis function opens the video in your youtube app of choice, eg: new pipe or just the default youtube
termux_player () {
termux-open "$1"
}
url_handler=termux_player