From d2719cec41a2dbc5e0066d775243e3baab4f410f Mon Sep 17 00:00:00 2001 From: cutls Date: Wed, 20 Mar 2019 21:45:34 -0700 Subject: [PATCH] Toot when nowplaying without artworks --- app/js/ui/spotify.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/js/ui/spotify.js b/app/js/ui/spotify.js index 837b0901..f54f80ac 100644 --- a/app/js/ui/spotify.js +++ b/app/js/ui/spotify.js @@ -140,7 +140,7 @@ function nowplaying(mode){ media(arg.path,"image/png","new"); } }else if(platform=="darwin"){ - if(!uploadnow && flag && arg.artworks[0].path){ + if(!uploadnow && flag && arg.artworks[0]){ uploadnow=true; ipc.send('bmp-image', [arg.artworks[0].path,0]); }