From d758d0c7fe692ba53552b3f2b97b3ca078eb4157 Mon Sep 17 00:00:00 2001 From: xf0r3m Date: Sat, 22 Jul 2023 20:49:19 +0200 Subject: [PATCH] =?utf8?q?Dodanie=20polecenia=20oczyszczaj=C4=85cego=20adr?= =?utf8?q?es=20URL=20ze=20spacji=20-=20narz=C4=99dzie=20'pl'?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- tools/000/pl | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/000/pl b/tools/000/pl index e800822..50fad5d 100755 --- a/tools/000/pl +++ b/tools/000/pl @@ -37,6 +37,7 @@ if [ "$1" ]; then link=$(grep "$linkName" $file | cut -d ":" -f 2-); fi if echo $link | grep -q "youtube"; then + link=$(echo $link | sed 's/\ //g'); if [ "$video" ]; then #ytplay -v $link -f $format mpv $format ytdl://$link > /dev/null 2>&1 & MPVPID=$! -- 2.39.5