jarulsamy / Plex-Bot

A Plex discord music bot.
GNU General Public License v3.0
22 stars 13 forks source link

Can only get one song to play #34

Open nulltriangle opened 2 years ago

nulltriangle commented 2 years ago

I've successfully set up the bot on my server and I can get it to play a song, but it stops after the first song and I have to kill and restart the bot to play another song. I am able to add another song the queue, but it never starts playing. Below is the error message I get in the log.

2022-08-26 18:30:56,993 ERROR: [base_events.py:1619 - default_exception_handler() ] Task exception was never retrieved future: <Task finished coro=<Plex._audio_player_task() done, defined at /src/PlexBot/bot.py:298> exception=HTTPException('413 Payload Too Large (error code: 40005): Request entity too large')> Traceback (most recent call last): File "/src/PlexBot/bot.py", line 329, in _audio_player_task await self._play() File "/src/PlexBot/bot.py", line 296, in _play self.np_message_id = await self.ctx.send(embed=embed, file=img) File "/usr/local/lib/python3.7/site-packages/discord/abc.py", line 873, in send content=content, tts=tts, embed=embed, nonce=nonce) File "/usr/local/lib/python3.7/site-packages/discord/http.py", line 245, in request raise HTTPException(r, data) discord.errors.HTTPException: 413 Payload Too Large (error code: 40005): Request entity too large