mpd_get_title: call basename only when using path
authorPhilippe Mongeau <ph.mongeau@gmail.com>
Sat, 25 Jan 2014 00:03:16 +0000 (19:03 -0500)
committerAndrew Karpow <andy@ndyk.de>
Sat, 8 Mar 2014 11:30:48 +0000 (12:30 +0100)
commit6f8d5ef73284b001ad6b343868b36f3753275e56
tree214bb87e0a5ae2b22a4dc93328dcf58e7d086a57
parentdcc4823bc3d9fab052417aae2d1b79637bb525d3
mpd_get_title: call basename only when using path

Otherwise, traks like "Morning Bell/Amnesiac" get trimmed to "Amnesiac"
src/mpd_client.c