From a89353eeb8727e31baa6093817be37583a34c41e Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Sat, 22 Jun 2024 02:26:08 +0100 Subject: Tons of changes --- Scripts/.local/scripts/status/connection | 3 --- Scripts/.local/scripts/ytdl_playlist | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'Scripts') diff --git a/Scripts/.local/scripts/status/connection b/Scripts/.local/scripts/status/connection index 277dedf..f2e6fb4 100755 --- a/Scripts/.local/scripts/status/connection +++ b/Scripts/.local/scripts/status/connection @@ -5,9 +5,6 @@ if [[ $internet == "connected" ]] then con=$(nmcli | grep "connected to" | sed "s/.*: connected to \(.*\)/\1/g") echo "" $con -elif [[ $internet == "disconnected" ]] -then - echo "" else echo " Not Connected" fi diff --git a/Scripts/.local/scripts/ytdl_playlist b/Scripts/.local/scripts/ytdl_playlist index b6dece7..9d22289 100755 --- a/Scripts/.local/scripts/ytdl_playlist +++ b/Scripts/.local/scripts/ytdl_playlist @@ -1,3 +1,3 @@ #!/usr/bin/env sh -youtube-dl -x --audio-format mp3 -o '%(artist)s - %(track)s.%(ext)s' $1 +youtube-dl -f bestvideo+bestaudio mp3 -o '%(track)s.%(ext)s' $1 -- cgit v1.2.3-13-gbd6f