Closed alphapapa closed 9 years ago
Also moved config file to ~/.config/mpdsync.json and used XDG module to find $XDG_CONFIG_HOME.
Also changed shebang to use /usr/bin/env so the script can be executed properly.
Thanks for the /usr/bin/env
thing and cleaning up my whitespace! Pretty sure /usr/bin/which
didn't work and was a brainfart on my part when I wrote this script long ago.
The whitespace fix there was either an accident or a result of using Emacs, but I'm glad it helped. =)
Before this change, I was getting this traceback:
Now it works with mpd 0.18.7 and 0.19.1 on Ubuntu 14.04 and Debian Jessie.