A Discord music bot written in Python with support for Youtube, SoundCloud, Spotify, Bandcamp, Twitter, and custom files.
GNU General Public License v3.0
278
stars
162
forks
source link
Error on duplicate preload function #80
Closed
RafaelSolVargas closed 2 years ago
When a spotify playlist is played, both functions process_playlist and play_song call the function preload for the first MAX_SONG_PRELOAD musics in the playlist, this cause the youtube_dl, after the the following commit: -- https://github.com/ytdl-org/youtube-dl/commit/9c9b45814582cc763d45cda2742f9574f254c6a0
to return None, and the code is not prepared to receive a NoneType as a return, causing an error in the code
Spotify Playlist Example: https://open.spotify.com/playlist/64wCcaIp6DxNmMaDM8X0W3
That is the error: