Reset missed chunks when a track fails

This commit is contained in:
Firepup Sixfifty 2024-05-06 09:47:30 -05:00
parent 7989715c1d
commit df71efc4c9
Signed by: Firepup650
GPG key ID: 7C92E2ABBBFAB9BA

View file

@ -104,6 +104,7 @@ def radio(instance: bare.bot) -> NoReturn:
f"TOPIC #fp-radio :Firepup radio ({thisTrack}) - https://open.spotify.com/playlist/4ctNy3O0rOwhhXIKyLvUZM" f"TOPIC #fp-radio :Firepup radio ({thisTrack}) - https://open.spotify.com/playlist/4ctNy3O0rOwhhXIKyLvUZM"
) )
elif not complained: elif not complained:
missChunk = 0
if misses < 0: if misses < 0:
misses += 1 misses += 1
continue continue