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.
I don't know if I was the first to come up with the idea or implementation, but my contribution certainly ended up in the largest open source music streaming bot at the time: https://github.com/freyacodes/archived-bot/pull/90
Was quite a similar idea: load Playlist from Spotify but play the actual music from YouTube. Still proud of that one, good times when Discord was wild territory.