mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-25 15:26:01 +03:00
[PR #264] [MERGED] get videoType from video results #587
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#587
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?
📋 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:
master← Head:lsmacedo/get-video-type-from-video-results📝 Commits (1)
2b6ced5get 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
musicVideoTypeparam from video responses. It apparently has two possible values:MUSIC_VIDEO_TYPE_UGCorMUSIC_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.