play function stopped working
Summary
Recently the play function does no longer start/continue a song (while pause, previous, next still works).
xfmpc v0.4.0, mpd v0.25, mpc v0.35
Steps to reproduce
while no song is playing, press play button or shortcut ctrl+p
What is the current bug behavior?
no action
What is the expected correct behavior?
start or continue playing
Possible fixes
Following ugly fix seems to work for a paused song only (not for playing a new song):
in src/libc/mpdclient.c
xfmpc_mpdclient_pp (XfmpcMpdclient \*mpdclient) exchange
return xfmpc_mpdclient_play (mpdclient); with
return xfmpc_mpdclient_pause (mpdclient);Edited by Ezlla Garnie