ptgdp: Give the user big red text if something fucks off
This commit is contained in:
parent
2051e8ffbb
commit
c4023a1d8d
3
ptgdp
3
ptgdp
@ -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" \
|
"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
|
normal dialog-error 10000
|
||||||
elif [ -z "$_optdryrun" ]; then
|
elif [ -z "$_optdryrun" ]; then
|
||||||
|
if ! [ "$dlfailure" = "0" ]; then
|
||||||
|
error "Some songs failed to download" 0
|
||||||
|
fi
|
||||||
if [ -z "$_optdownloadonly" ]; then
|
if [ -z "$_optdownloadonly" ]; then
|
||||||
notify "Finished downloading playlist" \
|
notify "Finished downloading playlist" \
|
||||||
"The playlist has been downloaded and will be added to mpd shortly"
|
"The playlist has been downloaded and will be added to mpd shortly"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user