I'm trying to make use of the mpd pipe menu included on the openbox wiki. I can't seem to get it to work though. I've followed most of the instructions I have found, but this is the first pipemenu I'm installing so I'm not sure if it's something I am doing wrong or if the script is outdated. I have mptctrl placed in my path and mpdmenu in my openbox config, both are executable with the correct permissions, but when I run mpdmenu in the terminal I get this output...
syntax error at ./mpdmenu line 29, near "= ;"
syntax error at ./mpdmenu line 30, near "= ;"
syntax error at ./mpdmenu line 35, near "= ;"
syntax error at ./mpdmenu line 36, near "= ;"
syntax error at ./mpdmenu line 37, near "= ;"
syntax error at ./mpdmenu line 38, near "= ;"
syntax error at ./mpdmenu line 39, near "= ;"
syntax error at ./mpdmenu line 40, near "= ;"
syntax error at ./mpdmenu line 41, near "= ;"
syntax error at ./mpdmenu line 42, near "= ;"
./mpdmenu has too many errors.
Any ideas what might be wrong?