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 24, 2022. It is now read-only.
When using the default music code in Readme I get 2 exceptions when using play(). Upates to both youtube and discord.py seem to be the issues for this.
1)
\DiscordUtils\Music.py", line 196, in play
source = discord.PCMVolumeTransformer(discord.FFmpegPCMAudio(self.music.queue[self.ctx.guild.id][0].source, **self.ffmpeg_opts))
A symptom of an exception from discord.py but it's broken the play function in Music.py.
2) Dislike Count
site-packages\DiscordUtils\Music.py", line 92, in get_video_data
dislikes = data["dislike_count"]
KeyError: 'dislike_count'
Stupid youtube updates.
The text was updated successfully, but these errors were encountered:
When using the default music code in Readme I get 2 exceptions when using play(). Upates to both youtube and discord.py seem to be the issues for this.
1)
\DiscordUtils\Music.py", line 196, in play
source = discord.PCMVolumeTransformer(discord.FFmpegPCMAudio(self.music.queue[self.ctx.guild.id][0].source, **self.ffmpeg_opts))
A symptom of an exception from discord.py but it's broken the play function in Music.py.
2) Dislike Count
site-packages\DiscordUtils\Music.py", line 92, in get_video_data
dislikes = data["dislike_count"]
KeyError: 'dislike_count'
Stupid youtube updates.
The text was updated successfully, but these errors were encountered: