Skip to content

Can only get one song to play #34

@nulltriangle

Description

@nulltriangle

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions