-
Notifications
You must be signed in to change notification settings - Fork 417
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
Fix YouTube Music search #484
Conversation
Sorry about the delay! I've just tested it. I can search albums correctly and play most tracks as usual, but the album content seems to include music videos with the normal YouTube Music tracks. This isn't too much of a problem for the most part though, and this is the same content from the desktop website, so I don't think this can be fixed. |
I noticed that, too. However, that is the result YouTube Music also uses on their website. So I cannot do much about it. |
Yeah, I can understand that. Thanks for the patch anyway! I can tolerate having to use the music-video versions of songs. |
ac951a6
to
86c7b3e
Compare
You should get the YouTube Music version of the videos now. app-debug.zip @TiA4f8R I don't know what you mean. I could not get this data. Did you inspect the website to get that JSON? |
86c7b3e
to
6c08987
Compare
ah ok. YouTube provides a different JSON to the browser version. I cannot use that info in this case. Try that: app-debug.zip |
@TobiGr It will be great if this fix is included in 0.20.7. |
Added to the to do for 0.20.7. A separate questions is whether the playlist id allows tracking |
@TobiGr First about tracking, there's no tracking in the playlist itself if you use this endpoint. The "clickTrackingParams" is only used in the website or in YT Music's app, that you can see many times in the JSON response. |
6c08987
to
011f3ab
Compare
@TobiGr So can you do the contrary? |
@TiA4f8R see #484 (comment) |
ah i see. our test cases are bad. |
011f3ab
to
0744d77
Compare
Exception
Crash log
|
0744d77
to
6cd3cc2
Compare
Regression introduced by YouTube Mix support (#280)
6cd3cc2
to
3033c0b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor changes, you can merge after this
extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/YoutubeParsingHelper.java
Outdated
Show resolved
Hide resolved
extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/YoutubeParsingHelper.java
Outdated
Show resolved
Hide resolved
…Tube Mix type with calling the dedicated methods
YouTube changed the JSON structure
Fixes TeamNewPipe/NewPipe#5191
@badprogramshere Can you test the APk below and tell me if you spot any bugs?
app-debug.zip