-
Notifications
You must be signed in to change notification settings - Fork 216
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
"get_library_upload_songs" and "get_library_upload_artists" methods fail returning empty list #320
Comments
The mentioned endpoints are working fine for me. Are you sure your credentials haven't expired? If that's not the case I can try reproducing the issue with your credentials, if you don't mind sending them to [email protected]. |
@sigma67 Thanks a lot for the reply and sorry for my late response.
In all fairness, I am not 100% sure. In fact, it is true that my credentials expired a while ago, and I created a new headers json file with new ones, but maybe that is not working fine, somehow. However, if the problem is related to my credentials, then:
The problem only shows when calling get_library_upload_songs and get_library_upload_artists. Here is a REPL session showing the above:
Anyway, I suspect that somehow you are right and my problem is a credentials problem. I will send you my credentials to your private email account .... Thanks. |
I was able to verify that your credentials are valid and that you are indeed getting an empty list even though you have uploads. Will look into a fix. |
Can you verify that the fix works for you? |
@sigma67 And yes, the fix works perfectly. Thanks a lot for the quick fix. Is there an ETA for this to be released? Thanks. |
Release is up. |
Hello.
Not sure exactly when it started happening, but the YTMusic client returns empty list [] when calling:
get_library_upload_songs
and
get_library_upload_artists
(using different limit param values does not have any impact)
Actually, my lilbrary of uploaded songs/artists constains more than 1000 songs and more than 300 artists.
When I use the browser, I can find/play them without any problem.
For the empty list problem, when I set a breakpoint, I can see the problem is around these lines in code of the method:
The response variable has a lot of content:
But results, which is the returned value of get_library_contents using the previous response, is None:
Something similar happens with uploaded artists:
As I said, getting an uploaded artist individually works fine:
Any idea what is happening here?
I have tried to use the latest commit on master branch, but it fails the same way.
Using v0.23.0 returns a different error
My environment is:
Thanks a lot.
The text was updated successfully, but these errors were encountered: