ptgdp: Give the user big red text if something fucks off

This commit is contained in:
Salt 2019-08-19 02:12:47 -05:00
parent 2051e8ffbb
commit c4023a1d8d

3
ptgdp
View File

@ -375,6 +375,9 @@ playlist() {
"The playlist in its entirety could not be downloaded. Ensure that youtube-dl is up to date, you have a valid internet connection, and your search queries pull up results" \
normal dialog-error 10000
elif [ -z "$_optdryrun" ]; then
if ! [ "$dlfailure" = "0" ]; then
error "Some songs failed to download" 0
fi
if [ -z "$_optdownloadonly" ]; then
notify "Finished downloading playlist" \
"The playlist has been downloaded and will be added to mpd shortly"