summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSkiz <skiznet@aol.com>2024-11-16 21:41:49 -0500
committerSkiz <skiznet@aol.com>2024-11-16 21:41:49 -0500
commita8540f18bece3f62383f2c686ac571852c7533c3 (patch)
tree16fcf4097071c452f93bee92aaf5131f084c6e94
parentc162daf6fc71821fec6c2105013579621df3509e (diff)
Removed un-used codeHEADmaster
-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
-
# }