Skip to content
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

[Bug] YouTube premium content appears but isn't playable #160

Closed
talkingkittycat opened this issue Oct 8, 2023 · 5 comments
Closed

[Bug] YouTube premium content appears but isn't playable #160

talkingkittycat opened this issue Oct 8, 2023 · 5 comments
Labels

Comments

@talkingkittycat
Copy link

Describe the bug

Songs from certain artists will never play, it will simply buffer forever.

Steps To Reproduce

  1. While logged in to YouTube
  2. Go to 'Akatsuki Records'
  3. Click on any song
  4. Song will never play

Expected behaviour

Song plays normally.

Environment

  • OS name and version (e.g. Android 13): LineageOS 20 (Android 13 based)
  • SpMp version (include commit hash if you are using a non-release build): Commit 4802bf8, but still appears on latest F-Droid release
  • Accounts (were you signed in to YouTube, Discord, etc. in the app?): Youtube only, with premium

Screenshots

https://litter.catbox.moe/kqqmqz.mp4

Logs
https://paste.ee/p/tfdyx
Stacktrace I received from clicking on unplayable songs in am album too quickly, I assume this is related.

@toasterofbread
Copy link
Owner

I'm not able to reproduce this, but just to be sure I'm not testing with the wrong songs, could you send the URL of some songs that don't work for you?

  • Did you change the streaming backend by any chance? (the first option in the download settings section)
  • Do the songs work in other YouTube clients? If not, this might be a region blocking issue or something similar on YouTube's end.
  • Are you using a VPN or anything like that?

SpMp should log information about playing songs, could you find the logs for when song playback failed and upload them please? You can use a tool like Logcat or try capturing a bug report.

Stacktrace I received from clicking on unplayable songs in am album too quickly, I assume this is related.

I don't think that's related to this, but thanks for reporting (I'll try to get that fixed as well).

@talkingkittycat
Copy link
Author

Thank you for the reply. Here's a couple of songs that are affected.
https://music.youtube.com/watch?v=mq-0NxdbrQ0
https://music.youtube.com/watch?v=lDzA_cnYuak
https://music.youtube.com/watch?v=ycsDwNAXTmw

  • I'm using the default Youtubei backend. I also tried Newpiped but no song would play through it.
  • I have tested on other Youtube clients, specifically InnerTube, ViMusic, and Newpipe. The song's wouldn't appear on the first two and Newpipe threw an error about being premium only.
  • I haven't been using a VPN for this.

Here's a app log pulled from Logcat. The playback issues should be near the bottom.
https://litter.catbox.moe/hlw8aj.txt

@toasterofbread
Copy link
Owner

toasterofbread commented Oct 11, 2023

Seems like the issue is not being able to play premium-only content then. I won't be able to support playing premium content, as it's probably DRM protected (and I don't have YouTube premium to be able to test anyway).

I've had a look at InnerTune (which I assume is what you meant by InnerTube) as it also supports logins, but I didn't see any code related to hiding premium content. Were you logged in to InnerTune when you tried it?

@toasterofbread toasterofbread changed the title [Bug] Songs from certain artists don't play [Bug] YouTube premium content appears but isn't playable Oct 11, 2023
@talkingkittycat
Copy link
Author

I was indeed logged into Innertune, though I didn't see any premium music.

Still, thank you for your work on this project and taking the time out of your day to deal with my report!

@talkingkittycat talkingkittycat closed this as not planned Won't fix, can't repro, duplicate, stale Oct 11, 2023
@toasterofbread
Copy link
Owner

toasterofbread commented Jan 24, 2024

Forgot to mention this here, but premium content has been playable since eaef6ed if you're logged in with a premium account.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants