control-pianobar icon indicating copy to clipboard operation
control-pianobar copied to clipboard

missing albumart line 136:

Open danielpflood opened this issue 7 years ago • 2 comments

136: cd "$fold/albumart"

/Users/danielpflood/.config/pianobar/pianobar-notify.sh: line 136: cd: /Users/danielpflood/.config/pianobar/albumart: No such file or directory /Users/danielpflood/.config/pianobar/control-pianobar.sh: line 186: pidof: command not found

I corrected the pidof of by installing with brew but the album art is currently being downloaded to my desktop.

danielpflood avatar Nov 25 '17 07:11 danielpflood

That's odd. It's pianobar that downloads the album art (not control-pianobar). Maybe pianobar changed the download location recently, or maybe that's just how it works on MacOS (I've never tested the script on a Mac).

Malabarba avatar Nov 25 '17 13:11 Malabarba

I believe pidof is a Linux specific utility/bash builtin. Perhaps you could use something like pgrep or ps | grep [p]ianobar for a more portable solution.

ijustlovemath avatar Aug 28 '18 19:08 ijustlovemath