summaryrefslogtreecommitdiff
path: root/src/player.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/player.c')
-rw-r--r--src/player.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/player.c b/src/player.c
index 6e97e46..afd6eb4 100644
--- a/src/player.c
+++ b/src/player.c
@@ -530,7 +530,9 @@ void *BarPlayerThread (void *data) {
ret = (void *) PLAYER_RET_ERR;
}
- if (wRet != WAITRESS_RET_OK && wRet != WAITRESS_RET_CB_ABORT) {
+ /* Pandora sends broken audio url’s sometimes (“bad request”). ignore them. */
+ if (wRet != WAITRESS_RET_OK && wRet != WAITRESS_RET_CB_ABORT &&
+ wRet != WAITRESS_RET_BAD_REQUEST) {
BarUiMsg (player->settings, MSG_ERR, "Cannot access audio file: %s\n",
WaitressErrorToStr (wRet));
ret = (void *) PLAYER_RET_ERR;