diff options
Diffstat (limited to 'lib/action')
| -rwxr-xr-x | lib/action/Rip | 19 | ||||
| -rwxr-xr-x | lib/action/Stream | 10 |
2 files changed, 0 insertions, 29 deletions
diff --git a/lib/action/Rip b/lib/action/Rip deleted file mode 100755 index fbdc0e0..0000000 --- a/lib/action/Rip +++ /dev/null @@ -1,19 +0,0 @@ -#! /bin/bash - -source ./util/menu/deasy -source ./util/notify -source ./util/dpath - -query="$(deasy "$1" 'Rip Query')" -result="$(spotdl download "$query" --output "$DPATH" --no-cache)" - -if [[ "$result" =~ .*'No song matches found'.* ]] - then - notify 'Empty Response' -elif [[ "$result" =~ .*'already downloaded'.* ]] - then - notify 'Already Downloaded' -fi - -exit 0 - diff --git a/lib/action/Stream b/lib/action/Stream deleted file mode 100755 index 3cb2536..0000000 --- a/lib/action/Stream +++ /dev/null @@ -1,10 +0,0 @@ -#! /bin/bash - -source ./util/menu/deasy - -BASEURL='https://actvid.com/search/' -tailurl="$(deasy "$1" 'Stream Query' | tr ' ' '-' \ - | tr '[:upper:]' '[:lower:]')" - -xdg-open "$BASEURL$tailurl" - |
