Correct handling of failed playback (do not skip two songs)

This commit is contained in:
Christoph Stahl 2025-06-16 23:10:13 +02:00
parent 59bf086885
commit 8cc6674723

View file

@ -460,6 +460,7 @@ class Client:
await self.player.play(video, audio, source.extra_mpv_options)
except ValueError as e:
logger.error("Error playing: %s", e)
self.skipped.append(entry.uuid)
except Exception: # pylint: disable=broad-except
print_exc()
if self.skipped: