From 16a753bd953daf3db7682313b2f04464df4b9d69 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Sun, 9 Aug 2020 02:52:18 +0200 Subject: [PATCH] Treat erors returned by the URL handler as non fatal Fixes #505 --- src/core/player.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/player.cpp b/src/core/player.cpp index d5083bf52..0c8cd91fc 100644 --- a/src/core/player.cpp +++ b/src/core/player.cpp @@ -258,8 +258,7 @@ void Player::HandleLoadResult(const UrlHandler::LoadResult &result) { switch (result.type_) { case UrlHandler::LoadResult::Error: if (is_current) { - EngineStateChanged(Engine::Error); - FatalError(); + InvalidSongRequested(result.original_url_); } emit Error(result.error_); break;