SpaceManiac / discord-rs

Rust library for the Discord chat client API
MIT License
385 stars 94 forks source link

open_ytdl_stream seems to only work with certain video urls. #140

Closed aarroz closed 6 years ago

aarroz commented 6 years ago

When I tried the dj.rs example, youtube-dl would only stream certain videos and mostly reject whatever urls I tried with it. It appears to be a youtube-dl problem with the library, but youtube-dl seems fine.

aarroz commented 6 years ago

From what I tested, it seems to error when streaming a url with advertisements.

SpaceManiac commented 6 years ago

Hey, can you first make sure that youtube-dl is up to date (youtube-dl --version should be within the past few days), make sure it works in youtube-dl and not in the DJ example, and then link the video in question? I have been unable to reproduce.

aarroz commented 6 years ago

My youtube-dl version was from last year. Whoops. Seems to work now however.