[PR #264] [MERGED] get videoType from video results #587

Closed
opened 2026-02-27 23:01:35 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/sigma67/ytmusicapi/pull/264
Author: @lsmacedo
Created: 3/23/2022
Status: Merged
Merged: 3/23/2022
Merged by: @sigma67

Base: masterHead: lsmacedo/get-video-type-from-video-results


📝 Commits (1)

  • 2b6ced5 get videoType from video results

📊 Changes

2 files changed (+4 additions, -0 deletions)

View changed files

📝 ytmusicapi/parsers/__init__.py (+3 -0)
📝 ytmusicapi/parsers/browsing.py (+1 -0)

📄 Description

This PR gets the musicVideoType param from video responses. It apparently has two possible values: MUSIC_VIDEO_TYPE_UGC or MUSIC_VIDEO_TYPE_OMV, which I guess that stands for user generated content and official music video.

When the music video is uploaded by the owner of the track, it has the value MUSIC_VIDEO_TYPE_OMV.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/sigma67/ytmusicapi/pull/264 **Author:** [@lsmacedo](https://github.com/lsmacedo) **Created:** 3/23/2022 **Status:** ✅ Merged **Merged:** 3/23/2022 **Merged by:** [@sigma67](https://github.com/sigma67) **Base:** `master` ← **Head:** `lsmacedo/get-video-type-from-video-results` --- ### 📝 Commits (1) - [`2b6ced5`](https://github.com/sigma67/ytmusicapi/commit/2b6ced5226a718dff3ba43a59110fcd80ed17803) get videoType from video results ### 📊 Changes **2 files changed** (+4 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `ytmusicapi/parsers/__init__.py` (+3 -0) 📝 `ytmusicapi/parsers/browsing.py` (+1 -0) </details> ### 📄 Description This PR gets the `musicVideoType` param from video responses. It apparently has two possible values: `MUSIC_VIDEO_TYPE_UGC` or `MUSIC_VIDEO_TYPE_OMV`, which I guess that stands for user generated content and official music video. When the music video is uploaded by the owner of the track, it has the value `MUSIC_VIDEO_TYPE_OMV`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 23:01:35 +03:00
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#587
No description provided.