diff --git a/tubetop b/tubetop index 8a06a3b..8288f9c 100755 --- a/tubetop +++ b/tubetop @@ -41,13 +41,6 @@ function video-play { return 0 } -function video-validate { - if youtube-dl -e $1; then - return 0 - fi - return 1 -} - function cache-add { if [[ "$cachecontent" == *"$1"* ]]; then return 1 @@ -99,12 +92,6 @@ if cache-lookup-by-name "$input"; then printf "Lookup successful: $input\n" fi -if ! video-validate $input; then - hard-notify "Unable to Find Video" "Please verify that the URL is a valid video and try again." - printf "Not a valid stream: $input\n" 1>&2 - exit 1 -fi - soft-notify "Found Video" "Video $1 has been found and is buffering. It will be embedded in the desktop shortly." cache-add $input