#568930 tooltip, playlist expansions broken for streams

Package:
xfce4-mpc-plugin
Source:
xfce4-mpc-plugin
Description:
Xfce panel plugin which serves as client for MPD music player
Submitter:
Joey Hess
Date:
2011-12-11 07:39:13 UTC
Severity:
normal
Tags:
#568930#5
Date:
2010-02-08 21:43:04 UTC
From:
To:
When mpd is playing a stream, info like artist, album, track, and often
even title are not available. When this is the case, the plugin's
tooltip and playlist display, literally:

%artist% - %album% -/- (#%track%) %title%

#568930#10
Date:
2011-12-11 07:37:19 UTC
From:
To:
Here's a patch created by linux.org.ru user AptGet (not me, of course).
It removes "if(!replacement) return;" from str_replace in
panel-plugin/xfce4-mpc-plugin.c and makes xfce4-mpc-plugin show empty
space instead of %artist%/%album%/%track%/etc if the corresponding tag
is not found.