mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-25 15:26:01 +03:00
[GH-ISSUE #329] Question: Unclear if these are possible #258
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#258
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 @rderidder-lda on GitHub (Dec 16, 2022).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/329
Interested in this library, but I'm having doubts Youtube actually allows what I'm interested in..
basic stuff to help reduce my massive uploaded library down to just liked songs, and find out which ones I need to rate still.
Thanks!
If you tube makes these things available in their API, I'd be willing to contribute to this project to make the above simpler to execute.
But again, i'm assuming they just don't support the filtering I'm looking for..
R
@sigma67 commented on GitHub (Dec 17, 2022):
get_liked_songsand add them to a playlist usingcreate_playlist@rderidder-lda commented on GitHub (Dec 18, 2022):
thanks! i suppose then I could get the whole uploaded library listing, remove the liked ones, remove the unrated ones, and I would be left with the disliked ones that I could remove from the online library... depending how your third point works
@sigma67 commented on GitHub (Dec 19, 2022):
That is correct, for uploaded songs you can do it this way. Use
get_library_upload_songswithlimit=None.likeStatusis what you're looking for.@rderidder-lda commented on GitHub (Jan 2, 2023):
Thanks for the help! the library is easy to use so far (once i figured out the cookie pasting part)
One weird thing is that the get_liked_songs function returned 8 songs when I set the limit to None... but when i grab the entire library and count the LIKED ones I get the proper count of > 1000.
Not sure if there is some other filter in place.. but no big deal for me - I'm just going to use the full library to get the liked ones.
@sigma67 commented on GitHub (Jan 2, 2023):
get_liked_songsreturns the liked songs playlist here: https://music.youtube.com/playlist?list=LMWhat's the count of that playlist for you? Are you sure you counted the number of tracks and not the number of keys in the dictionary?
@rderidder-lda commented on GitHub (Jan 2, 2023):
you are exactly correct... was not counting the tracks item. There are actually a few more in the liked playlist now, compared to counting the LIKED status on the full uploads... I'm guessing the liked playlist includes things that might not have been uploaded, so that makes sense.
Thanks!