We'll copy this code to libmpdclient, and that's easier if its license is BSD.
Attach a file by drag & drop or click to upload