Merge pull request #560 from zaidhaan/fix-mpd-block

Fix unresponsive stall when server error occurs
wilder
Larson Carter 3 years ago committed by GitHub
commit 9f44edf0b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      src/screens/playlist_editor.cpp

@ -169,10 +169,7 @@ void PlaylistEditor::update()
}
catch (MPD::ServerError &e)
{
if (e.code() == MPD_SERVER_ERROR_SYSTEM) // no playlists directory
Statusbar::print(e.what());
else
throw;
Status::handleServerError(e);
}
if (idx < Playlists.size())
Playlists.resizeList(idx);

Loading…
Cancel
Save