-
Notifications
You must be signed in to change notification settings - Fork 247
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
Fixed bug with youtube track details parsing #687
base: master
Are you sure you want to change the base?
Conversation
…sults map at the top level first rather than as child values.
Addresses Issue #688 |
Hey, I know this might sound stupid, but i can't manage to compile this using the gradlew.bat due to a compilation error. |
@Janisbtw Yeah, I couldn't get it to compile without modifying the constructor, and that was the state the code was in when I cloned the repo. I just ignored it as it doesn't seem to affect anything I was using (primarily Youtube). I can look further into a fix for it, but I'd really like this fix to get pulled in first as it fixes completely broken Youtube functionality. Note that the main library will still compile and package correctly even with that library not compiling. |
After fixing the constructor and the references in the other files I get this error
Do you mind uploading the build to a file hosting service? |
I couldn't get the ibxm library compiling either. I was really focused only on the core library. |
Same, just fixed and builded the core to get it running. But i checked the ibxm lib and it looks like it's hosted on a private server or something? |
Bintray has been closed ages ago. There's PR #676 which fixes mod player build breakage. |
Thank you sedmelluq#687
How do I use this to fix the issue? (dont know how to use pull requests) |
Use jitpack with the PR author's fork and branch: https://jitpack.io/#idpromnut/lavaplayer/youtube_details_parse_bug-SNAPSHOT Or Walkyst's fork, which isn't abandoned: https://github.com/Walkyst/lavaplayer-fork |
Hello, how do I use this to fix the problem? I have added this as a dependency like
but the problem still pops up... |
You need their branch as version, not 1.3.78. In this case |
It works for single video, but still throws null when parsing playlist. |
Ah, I don't use the playlist functionality, so did not test it. @God0nlyKnows can you grab a network capture of the JSON that is returned when playing a playlist and I can see if I can see what the issue is? |
Hmm.. I've tested it now and it's working fine, probably they changed it again Anyway thanks for bugfix! |
This must have been changed very recently as the JSON format returned by Youtube has changed slightly in structure. Added code to optionally pull "player" and "playerResponse" elements from the results map at the top level first rather than as child values.