Toot when nowplaying without artworks

This commit is contained in:
cutls 2019-03-20 21:45:34 -07:00
parent 153f1aacee
commit d2719cec41

View File

@ -140,7 +140,7 @@ function nowplaying(mode){
media(arg.path,"image/png","new"); media(arg.path,"image/png","new");
} }
}else if(platform=="darwin"){ }else if(platform=="darwin"){
if(!uploadnow && flag && arg.artworks[0].path){ if(!uploadnow && flag && arg.artworks[0]){
uploadnow=true; uploadnow=true;
ipc.send('bmp-image', [arg.artworks[0].path,0]); ipc.send('bmp-image', [arg.artworks[0].path,0]);
} }