blob: c1b15488d9b79c08f97d2a289b2679bc984d48b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
all_off="$(tput sgr0)"
bold="${all_off}$(tput bold)"
blue="${bold}$(tput setaf 4)"
yellow="${bold}$(tput setaf 3)"
note() {
printf "${blue}==>${yellow} NOTE:${bold} $1${all_off}\n"
}
post_install() {
note "Don't forget install youtube-dl or yt-dlp for mpv ytdl-hook support"
note "The upstream mpv uses yt-dlp by default, But not yet released"
note "If you want to use yt-dlp, you need to set \"script-opts=ytdl_hook-ytdl_path=yt-dlp\" in mpv.conf"
}
post_upgrade() {
post_install
}
|