{"action":"closed","issue":{"url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/issues/997","repository_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot","labels_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/issues/997/labels{/name}","comments_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/issues/997/comments","events_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/issues/997/events","html_url":"https://github.com/Cog-Creators/Red-DiscordBot/issues/997","id":261953222,"node_id":"MDU6SXNzdWUyNjE5NTMyMjI=","number":997,"title":"[Audio] Improper handling of playlist URLs in 'play' command","user":{"login":"Pwnulatr","id":12719642,"node_id":"MDQ6VXNlcjEyNzE5NjQy","avatar_url":"https://avatars3.githubusercontent.com/u/12719642?v=4","gravatar_id":"","url":"https://api.github.com/users/Pwnulatr","html_url":"https://github.com/Pwnulatr","followers_url":"https://api.github.com/users/Pwnulatr/followers","following_url":"https://api.github.com/users/Pwnulatr/following{/other_user}","gists_url":"https://api.github.com/users/Pwnulatr/gists{/gist_id}","starred_url":"https://api.github.com/users/Pwnulatr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pwnulatr/subscriptions","organizations_url":"https://api.github.com/users/Pwnulatr/orgs","repos_url":"https://api.github.com/users/Pwnulatr/repos","events_url":"https://api.github.com/users/Pwnulatr/events{/privacy}","received_events_url":"https://api.github.com/users/Pwnulatr/received_events","type":"User","site_admin":false},"labels":[{"id":306029695,"node_id":"MDU6TGFiZWwzMDYwMjk2OTU=","url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-10-01T22:52:22Z","updated_at":"2018-06-07T05:40:19Z","closed_at":"2018-06-07T05:40:18Z","author_association":"NONE","body":"A friend was trying to play a single song, but had a list url. Upon using `<p>play <url>` the bot joined, but started to download the entire playlist. Once it had finished downloading (determined by watching the cache folder manually for changes) it did nothing and when we attempted to queue another song, it stated that it was downloading a file. Attempting to view the queued playlist with `<p>queue` was met with the message \"Nothing queued on this server\". After awhile, it disconnected on it's own from the channel with this error in the console:\r\n```\r\nTask exception was never retrieved\r\nfuture: <Task finished coro=<Audio.queue_manager() done, defined at <PATH_TO_BOT>\\cogs\\audio.py:2136> exception=KeyError('107578843795030016',)>\r\nTraceback (most recent call last):\r\n  File \"<PATH_TO_BOT>\\cogs\\audio.py\", line 2175, in queue_manager\r\n    song = await self._play(sid, url, channel)\r\n  File \"<PATH_TO_BOT>\\cogs\\audio.py\", line 874, in _play\r\n    song = await self._guarantee_downloaded(server, url)\r\n  File \"<PATH_TO_BOT>\\cogs\\audio.py\", line 674, in _guarantee_downloaded\r\n    while self.downloaders[server.id].is_alive():\r\nKeyError: '107578843795030016'\r\n```\r\nI shutdown the bot with `<p>shutdown` and the bot shutdown with Exit Code 0, but before it did, this was output in the console\r\n```\r\ndata/audio/cache\\PL0zTGNAmpgmfKtrWTweyjpBvoozBjgxXN: No such file or directory\r\n```\r\n\r\nThe link to the playlist is [this](https://youtu.be/4fB0_1s38Sc?list=PL0zTGNAmpgmfKtrWTweyjpBvoozBjgxXN) if that helps."}}
{"actor":{"display_login":"tekulvw"}}