You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
results in the MPD connection hanging until MPD closes the client connection due to inactivity and the returned error is Parse(BadPair).
IIUC this is caused by the read_pair() implementation introduced in 8642c72. It parses the error ACK [52@0] {addid} Failed to access /hopefully/non/existing/song.mp3: No such file or directory returned by MPD as the song ID value and then read_field hangs when waiting for expect_ok(), since there is no OK line in case of an error.
The text was updated successfully, but these errors were encountered:
naglis
added a commit
to naglis/rust-mpd
that referenced
this issue
Dec 7, 2023
Using latest commit from main branch with following test:
results in the MPD connection hanging until MPD closes the client connection due to inactivity and the returned error is
Parse(BadPair)
.IIUC this is caused by the
read_pair()
implementation introduced in 8642c72. It parses the errorACK [52@0] {addid} Failed to access /hopefully/non/existing/song.mp3: No such file or directory
returned by MPD as the song ID value and thenread_field
hangs when waiting forexpect_ok()
, since there is noOK
line in case of an error.The text was updated successfully, but these errors were encountered: