-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mix is always fake and doesnt include more than one song #55
Comments
@Shiny1708 this can happen for most of the mixes because youtube mixes are generated per user and it is not available to youtube-sr. It might work if you supply your youtube cookie: getPlaylist(url, {
requestOptions: { headers: { cookie: '...' } }
}) when youtube-sr cant find mix information, it returns a fake playlist with one track in it. |
I did some digging and from my understanding visting a private mix with a link just generates a mix based on the first video. Would it be possible to use the new generated mix? From what i can tell thats what lavaplayer does to get mixes |
I think detecting mixes only with the regex /(RDC|O)LAK5uy_[a-zA-Z0-9-_]{33}/; doesnt detect all mixes. Mixes from yt music dont necessarily have the RD part at the start. Lavaplayer uses this for mix recognition: "https://music.youtube.com/watch?v=f9awN8BCUe8&list=PLXftWo8BlN2lx5iHhkp-3Yg5aRRbe6Qme". So mixes are catergorized by the fact that they have the watch part followed by the list part and that they use music,youtube instead of youtube.com. |
The youtube music mixes are not consistent across clients so the bot would have a different queue than the user but i think the ability to access the youtube music autoqueue in itself is extremly useful since its very good in finding related songs |
The you link gave has playlist page too https://music.youtube.com/playlist?list=PLXftWo8BlN2lx5iHhkp-3Yg5aRRbe6Qme Mixes usually dont have playlist page
yeah I think so. I will try to wrap around innertube next time using this library https://github.com/LuanRT/YouTube.js |
You're right I didn't realize I started the mix from a playlist. Sorry |
I used the mix from #31 https://www.youtube.com/watch?v=zhl-Cs1-sG4&list=RDzhl-Cs1-sG4 to test the new mix feature as well as multiple from my own YouTube Music but i always get a fake playlist from the fallback as a result. This is the data for the link:

The text was updated successfully, but these errors were encountered: