mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-26 15:56:00 +03:00
[GH-ISSUE #482] get_library_upload_songs() returns empty result even though the library contains one song #360
Labels
No labels
a/b
bug
documentation
enhancement
good first issue
help wanted
invalid
pull-request
question
wontfix
yt-error
yt-update
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ytmusicapi#360
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @fischcode on GitHub (Dec 5, 2023).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/482
Describe the bug
get_library_upload_songs() returns an empty result
To Reproduce
Steps to reproduce the behavior:
with my login, get_library_upload_songs() in mixins/uploads of ytmusicapi version 1.3.2
obtains the following response on line 45:
get_library_update_songs_response.json
on line 49, an empty array is returned, mainly because the (only) song of the result is contained in results['contents'][0] and thus excluded when filtering results['contents'][1:] - apparently the response follows a different pattern than expected.
@sigma67 commented on GitHub (Dec 6, 2023):
For me it looks like this, that's why the first item is excluded:
What does it look like for you?
@fischcode commented on GitHub (Dec 6, 2023):
Hi
This is what I see with https://music.youtube.com/library/uploaded_songs when filtering for titles:
Without any filter, I see this:
Does this help you?
Best regards
Von: sigma67 @.>
Gesendet: Mittwoch, 6. Dezember 2023 10:35
An: sigma67/ytmusicapi @.>
Cc: fischcode @.>; Author @.>
Betreff: Re: [sigma67/ytmusicapi] get_library_upload_songs() returns empty result even though the library contains one song (Issue #482)
For me it looks like this, that's why the first item is excluded:
image.png (view on web) https://github.com/sigma67/ytmusicapi/assets/16363825/f4d5c662-37d5-446c-bf70-b7eccefcd753
What does it look like for you?
—
Reply to this email directly, view it on GitHub https://github.com/sigma67/ytmusicapi/issues/482#issuecomment-1842515053 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ATVY5Z5SJ7LC6PU5M3RBH2DYIA357AVCNFSM6AAAAABAION6R6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBSGUYTKMBVGM .
You are receiving this because you authored the thread. https://github.com/notifications/beacon/ATVY5ZZETRATSIB3UT7A7T3YIA357A5CNFSM6AAAAABAION6R6WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTN2KGG2.gif Message ID: @.*** @.***> >
@fischcode commented on GitHub (Dec 7, 2023):
Hi
It turns out that after uploading another file, both files are returned by ytmusicapi. The issue thus appear to be limited to a ytmusic library containing just one uploaded song.
@sigma67 commented on GitHub (Dec 13, 2023):
Images via email didn't work.
PR welcome
@sigma67 commented on GitHub (Dec 18, 2023):
fixed in 8f7970b