News for hackers. Stuff that matters.
Re:Google has killed Discord's best music bot by rolph on Thursday August 26, 2021 @01:12PM (#28317650)
i wonder how it would work out if a bot used youtube-dl to snarf audio tracks.

it seems YT-dl has had its fight on the hill with google and won out for the time being, its possible a discord bot using YT-dl might wake a sleeping bear

Re:Google has killed Discord's best music bot by notamy on Thursday August 26, 2021 @01:36PM (#28317947)
> i wonder how it would work out if a bot used youtube-dl to snarf audio tracks.

youtube-dl + ffmpeg was the "traditional" way of doing it, but it didn't scale very well. These days, the majority of bots use lavaplayer[0] based solutions like lavalink[1] to stream audio.

There's also YouTube IP bans to be concerned about. Most bots get around it by rotating through blocks of IPv6 addresses.

[0] https://github.com/sedmelluq/lavaplayer

[1] https://github.com/freyacodes/Lavalink

Re:Google has killed Discord's best music bot by rchaud on Thursday August 26, 2021 @01:34PM (#28317921)
That would be awful. Youtube-dl feels like Slsk to me. As long as its under-the-radar enough, the big dogs will let it live. That it's a CLI tool is enough to deter most users. If somebody creates a GUI app for it however, I imagine it would be snuffed out quickly.
Re:Google has killed Discord's best music bot by thomastjeffery on Thursday August 26, 2021 @01:50PM (#28318158)
youtube-dl already has a gui app.
Re:Google has killed Discord's best music bot by rchaud on Thursday August 26, 2021 @01:53PM (#28318201)
I wasn't aware of that. I know about NewPipe which is almost certainly using the API. But not a desktop app.
Re:Google has killed Discord's best music bot by mod50ack on Thursday August 26, 2021 @03:17PM (#28319300)
NewPipe isn't using YouTube-DL. There's a GUI for desktop platforms, and DVD on Android. They know about it plenty. It's still not going anywhere until and unless they add DRM to YouTube. Which I could see happening in a few years.
Re:Google has killed Discord's best music bot by izacus on Thursday August 26, 2021 @02:13PM (#28318473)
It would pretty much guarantee that YouTube would kill youtube-dl access.

The music content industry is very aggressive with using legal pressure to make sure they get their dime.

Re:Google has killed Discord's best music bot by stnmtn on Thursday August 26, 2021 @01:28PM (#28317844)
This is exactly what I made last night so I hope not!