mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-26 07:46:00 +03:00
[GH-ISSUE #301] get_library_playlists(), get_library_songs() and other get_library functions failing #233
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#233
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 @jake-g on GitHub (Sep 28, 2022).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/301
Hi, I'm running into an issue specific to the get_library functions and struggling to find a workaround
Ive tried many other 'get_*' i.e., get_song() get_history() api calls and they all seem to work. It is the get_library functions that are failing.
Ive updated the py packages, regenerated my creds and the code im using has worked fine in the past...
Im guessing something changed on the youtube music side
(my last issue was https://github.com/sigma67/ytmusicapi/issues/173, my account seems to get early updates)
Example
results in the following error trace:
(other get_library commands end in a similar TypeError: `'NoneType' object is not subscriptable
Let me know if there is anything i can try or provide from my end!
@sigma67 commented on GitHub (Sep 28, 2022):
Did you get a new library interface on the web? Seems like something changed on the YouTube end again as you said.
If you'd like I can reproduce the issue with your credentials again as we did last time (ytmusicapi@gmail.com) to develop a fix.
@jake-g commented on GitHub (Sep 29, 2022):
yes the web ui looks different now that i think about it. library and other tabs.
Ill send you the creds
@sigma67 commented on GitHub (Sep 29, 2022):
I fixed it in a backwards compatible way. Can you verify that it works for you?
@jake-g commented on GitHub (Oct 3, 2022):
Awesome, just got back from vacation so I'll try later today.
On Thu, Sep 29, 2022, 12:13 PM sigma67 @.***> wrote:
@jake-g commented on GitHub (Oct 4, 2022):
yuuup, looks like this is resolved when i use the latest commit, i.e.:
pip3 install git+https://github.com/sigma67/ytmusicapi.git@masterthanks for jumping on this!