Just when rhythm got banned in discord few years ago, I made a discord bot that did something similar. I supported various sources of playlists/urls, and I'll then go get the metadata from the platform, get the song name and few other details, search it on youtube and stream from there. It was intended to be self-hosted for your own server. Was fun to use until the replacement bots started supporting youtube again and it got made redundant, a whole bunch of them paused youtube support around the time rhythm got the C&D notice.