[Audio] [p]play YouTube WebM inconsistant error #3885

Closed
opened 2020-05-29 22:10:28 +02:00 by SieBRUM · 3 comments
SieBRUM commented 2020-05-29 22:10:28 +02:00 (Migrated from github.com)

Command bugs

[p]play returns an error, but using the [p]play with a search query does not. Please make this consistant.
In this image, the bot says WebM is not supported
image

In this image, the bot starts playing the video.
image

They both use the same link!
image

Command name

[p]play

What cog is this command from?

Audio

What were you expecting to happen?

Either block both or accept both. Maybe check if the livestream is not live anymore and if so, just play it like a normal video.

What actually happened?

Both have different results

How can we reproduce this issue?

[p]play https://www.youtube.com/watch?v=FLM2U9bAlgU returns error
[p]play rooler does not

Version

Currently running the newest build
image

# Command bugs [p]play <link> returns an error, but using the [p]play with a search query does not. Please make this consistant. In this image, the bot says WebM is not supported ![image](https://user-images.githubusercontent.com/14212955/83300538-7d0a2680-a1f8-11ea-9637-986446022565.png) In this image, the bot starts playing the video. ![image](https://user-images.githubusercontent.com/14212955/83300955-2b15d080-a1f9-11ea-8ab3-d0087f5e119d.png) They both use the same link! ![image](https://user-images.githubusercontent.com/14212955/83300777-e9852580-a1f8-11ea-85f1-9e99bcb86c2b.png) #### Command name `[p]play` #### What cog is this command from? Audio #### What were you expecting to happen? Either block both or accept both. Maybe check if the livestream is not live anymore and if so, just play it like a normal video. #### What actually happened? Both have different results #### How can we reproduce this issue? `[p]play https://www.youtube.com/watch?v=FLM2U9bAlgU` returns error `[p]play rooler` does not ### Version Currently running the newest build ![image](https://user-images.githubusercontent.com/14212955/83301751-741a5480-a1fa-11ea-8a54-a8df9ceda9cc.png)
Drapersniper commented 2020-05-29 22:32:42 +02:00 (Migrated from github.com)

Okay, before I dismiss this I would like to ask you a few questions. Go to the main server and ping me me in there @Draper#6666

https://discord.gg/red

Okay, before I dismiss this I would like to ask you a few questions. Go to the main server and ping me me in there @Draper#6666 https://discord.gg/red
SieBRUM commented 2020-05-29 23:08:50 +02:00 (Migrated from github.com)

Update, had a chat with Drapersniper. Seems to be a deeper issue in the backend. He will hunt for the poor bastard that has to fix the issue.

Update, had a chat with Drapersniper. Seems to be a deeper issue in the backend. He will hunt for the poor bastard that has to fix the issue.
aikaterna commented 2020-10-28 16:50:24 +01:00 (Migrated from github.com)

Hi, sorry this took a while but this was being determined in our audio backend and not through code that we write/control ourselves. This will be working for you now with Red 3.4.2 (to be released soon(tm)), but playing the direct link will display a long track time (106751991167:07:12:56). I'm going to be closing this as the playback portion will be functional with our Red 3.4.2 update and the audio backend that's included with that version, but I am keeping that long track time in mind and will also work with others on getting that resolved at some point as well.

Edit: This should be fully resolved with Red 3.4.3 and the 1132 build of our Lavalink.jar.

Hi, sorry this took a while but this was being determined in our audio backend and not through code that we write/control ourselves. This will be working for you now with Red 3.4.2 (to be released soon(tm)), but playing the direct link will display a long track time (`106751991167:07:12:56`). I'm going to be closing this as the playback portion will be functional with our Red 3.4.2 update and the audio backend that's included with that version, but I am keeping that long track time in mind and will also work with others on getting that resolved at some point as well. Edit: This should be fully resolved with Red 3.4.3 and the 1132 build of our Lavalink.jar.
Sign in to join this conversation.
No labels
Automated PR
Blocked
Blocked By: Damage Control
Blocked By: Dependency
Blocked By: Other PR
Breaking Change
Category: CI
Category: Cogs - Admin
Category: Cogs - Alias
Category: Cogs - Audio
Category: Cogs - Bank
Category: Cogs - Cleanup
Category: Cogs - CustomCommands
Category: Cogs - Dev
Category: Cogs - Downloader
Category: Cogs - Economy
Category: Cogs - Filter
Category: Cogs - General
Category: Cogs - Image
Category: Cogs - Mod
Category: Cogs - Modlog
Category: Cogs - Mutes
Category: Cogs - Permissions
Category: Cogs - Reports
Category: Cogs - Streams
Category: Cogs - Trivia
Category: Cogs - Trivia - Lists
Category: Cogs - Warnings
Category: Core - API - App Commands Package
Category: Core - API - Audio
Category: Core - API - Bank
Category: Core - API - Commands Package
Category: Core - API - Config
Category: Core - API - Other
Category: Core - API - Utils Package
Category: Core - Bot Class
Category: Core - Bot Commands
Category: Core - Command-line Interfaces
Category: Core - Downloader
Category: Core - Help
Category: Core - i18n
Category: Core - Modlog
Category: Core - Other Internals
Category: Core - RPC/ZMQ
Category: Docker
Category: Docs - Changelogs
Category: Docs - For Developers
Category: Docs - Install Guides
Category: Docs - Other
Category: Docs - User Guides
Category: Meta
Category: RPC/ZMQ methods
Category: Vendored Packages
Changelog Entry: Added
Changelog Entry: Pending
Changelog Entry: Skipped
Closed: Duplicate
Closed: External
Closed: Invalid
Closed: User Error
Closed: Won't Fix
Complex Issue
Docs-only
Feature Branch
Good First Issue
Help Wanted
High Priority
Needs Backport To stable-docs
No Activity
No Repro
QA: Bypassed
QA: Changes Requested
QA: Passed
Release Blocker
Status: Accepted
Status: Frozen
Status: In Progress
Status: Needs Discussion
Status: Needs Info
Status: Needs Triage
Status: PRs Welcome
Type: Bug
Type: Dependency Update
Type: Deprecation
Type: Enhancement
Type: Feature
Type: Informational
Type: Merge
Type: Optimisation
Type: Question
Type: Removal
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Mrcoolgamer11/Red-DiscordBot#3885
No description provided.