You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.
Describe the bug
When telling the bot to stop and immediately play afterwards, it crashes.
Affected version
Commit e5a2d810fc0fb2443582af07ca1b3d75cbaec8c6 or tag 7.1 - only translation updates have happened on master at the time of writing.
To Reproduce
Steps to reproduce the behavior:
Start the music bot with an empty playlist (e.g. fresh install).
In Mumble, send the command !stop.
In Mumble, send the command !play.
Expected behavior
The bot does not crash and does nothing instead.
Additional context
Traceback (most recent call last):
File "mumbleBot.py", line 881, in <module>
var.bot.loop()
File "mumbleBot.py", line 543, in loop
current = var.playlist.current_item()
File "/home/user/botamusique/media/playlist.py", line 257, in current_item
return self[self.current_index]
IndexError: list index out of range
The text was updated successfully, but these errors were encountered:
Describe the bug
When telling the bot to stop and immediately play afterwards, it crashes.
Affected version
Commit
e5a2d810fc0fb2443582af07ca1b3d75cbaec8c6
or tag7.1
- only translation updates have happened on master at the time of writing.To Reproduce
Steps to reproduce the behavior:
!stop
.!play
.Expected behavior
The bot does not crash and does nothing instead.
Additional context
The text was updated successfully, but these errors were encountered: