Raptor123471 / DingoLingo

A Discord music bot written in Python with support for Youtube, SoundCloud, Spotify, Bandcamp, Twitter, and custom files.
GNU General Public License v3.0
282 stars 165 forks source link

Bot playing from youtube when passing spotify link #74

Closed TheSiman closed 2 years ago

TheSiman commented 2 years ago

The bot tries to use youtube when i pass spotify link as a source. I have both SPOTIFY_ID and SPOTIFY_SECRET set in config.py (but the behaviour is the same if i leave both fields empty). This causes me issues because of youtube age restriction (and also the fact that the redirection often leads to music videos that have extra stuff aside from music), i know of the cookie workaround, but i want to know if i am doing something wrong or if this is the intended behaviour or maybe something that is not yet fully implemented. Sorry if it's already answered somewhere, i have not been able to find any reference to this.

Raptor123471 commented 2 years ago

This is intended behavior for Spotify links. I currently do not know a way to extract audio directly from Spotify and it would also break their TOS rules putting your account at risk.

Raptor123471 commented 2 years ago

Look at the pinned issue #50 for playing 18+ songs/videos. I can help you further here if you can't figure it out.