[GH-ISSUE #358] Inconsistency with Liked song video vs audio #284

Closed
opened 2026-02-27 22:08:59 +03:00 by kerem · 2 comments
Owner

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!

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](https://github.com/sigma67/ytmusicapi/issues/353) 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!
kerem 2026-02-27 22:08:59 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@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_playlist to get the song/video counterpart of each song. It's in the counterpart key of the dictionary.

<!-- gh-comment-id:1455721743 --> @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_playlist`](https://ytmusicapi.readthedocs.io/en/stable/reference.html#ytmusicapi.YTMusic.get_watch_playlist) to get the song/video counterpart of each song. It's in the `counterpart` key of the dictionary.
Author
Owner

@dvdslv commented on GitHub (Mar 6, 2023):

Bang! This is exaclty what I was looking for. Thanks!

<!-- gh-comment-id:1456845459 --> @dvdslv commented on GitHub (Mar 6, 2023): Bang! This is exaclty what I was looking for. Thanks!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ytmusicapi#284
No description provided.