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)
committerPhilippe Mongeau <ph.mongeau@gmail.com>
Sat, 25 Jan 2014 00:03:16 +0000 (19:03 -0500)
commit567578473e4c7328487bd014dcb5053cfe3d8f2d
tree214bb87e0a5ae2b22a4dc93328dcf58e7d086a57
parent392cf1eb32519b94ac42abf440fd410b178c8982
mpd_get_title: call basename only when using path

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