AsmSafone / MusicPlayer

A Telegram Music Bot written in Python using Pyrogram and Py-Tgcalls. This is Also The Source Code of The UserBot Which is Playing Music in @S1-BOTS Support Group ❤️
GNU Affero General Public License v3.0
284 stars 1.07k forks source link

Error in queue #8

Closed FilmBee closed 2 years ago

FilmBee commented 2 years ago

When I add more than one in queue it crashes and says error. Also when I Import the exported queue the 2nd queue item don’t play and says error..

AsmSafone commented 2 years ago

Can u show the traceback?

FilmBee commented 2 years ago

Here is the Crash Log Form Saved Message

Traceback (most recent call last): File "/MusicPlayer/core/decorators.py", line 99, in decorator return await func(client, obj, *args) File "/MusicPlayer/main.py", line 193, in skip_track ok, status = await next_song.parse() File "/MusicPlayer/core/song.py", line 72, in parse video["thumbnail"], video["http_headers"] KeyError: 'thumbnail'

AsmSafone commented 2 years ago

thats yt video issue that have no thumbnails. it can even handle unlimited queue. try others songs!