summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmediachad6
1 files changed, 0 insertions, 6 deletions
diff --git a/mediachad b/mediachad
index 0925c73..0ed88b0 100755
--- a/mediachad
+++ b/mediachad
@@ -30,9 +30,6 @@ program_check "ytfzf"
program_check "mpv"
program_check "yt-dlp"
-# Get link
-#ytfzf --pages=3 --force-youtube -L "$input" | grep "youtube.com" | xargs -I {} yt-dlp -o - --quiet "{}" | mpv - --pause > /dev/null 2>&1
-
# Code to work with .yt-history
link=$(ytfzf --pages=3 --force-youtube -L "$input")
@@ -52,7 +49,4 @@ title=$(yt-dlp --get-title --quiet "$link")
echo -e "Search: $input \nDate: $time \nTitle: $title \nLink: $link \n" >> ~/.yt-history
-# USING YT-DLP
-#yt-dlp -o - --quiet "link" | mpv - --pause > /dev/null 2>&1
-
# }