TBK / MusicBot

MusicBot for Discord - Docker edition
https://hub.docker.com/r/discordmusicbot/
MIT License
14 stars 3 forks source link

fwd and rwd breaks np #21

Closed Fonta closed 6 years ago

Fonta commented 7 years ago

If you use fwd or rwd, you can't use skip, np, etc anymore because the bot thinks nothing is playing. http://i.imgur.com/RtUUXX9.png

MinoLiu commented 6 years ago

This bug I think the occurred reason should be

_play_entry faster than killed ffmpeg_player callback (_playback_finished)

so _current_player and _current_entry were None.

Created a PR: #28

also fix some other bugs

TBK commented 6 years ago

28 Fixed the issue.