mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-25 07:16:00 +03:00
[GH-ISSUE #358] Inconsistency with Liked song video vs audio #284
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#284
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 @dvdslv on GitHub (Mar 6, 2023).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/358
First thank you @sigma67 for a great API. I've been using it for years and it's very stable and well made.
Now for the issue I'm experiencing:
I often see songs in public playlists that, unfortunately, default to the video version of songs. When I Like one of these songs, the Like will not apply to the audio version of the song unless the videoType is OMV.
I know that this is a Youtube issue, but this has created an inconsistent experience on the mobile app since I have the "Don't play music videos" option enabled.
Ideally, I'd like to iterate through playlist items and ensure the audio version of a liked video is also liked.
I was just wondering if anyone has solved this not so obvious design flaw (again, with YouTube Music! Not your awesome API)?
Thanks!
@sigma67 commented on GitHub (Mar 6, 2023):
Hi and thanks! First off, music videos should only be encountered when you're not logged in as a premium subscriber. In my experience, YT Music replaces premium-only content with public music videos when you're not logged in.
In addition, you can use
get_watch_playlistto get the song/video counterpart of each song. It's in thecounterpartkey of the dictionary.@dvdslv commented on GitHub (Mar 6, 2023):
Bang! This is exaclty what I was looking for. Thanks!