Search for and present music videos. More...
Public Member Functions | |
| MusicVideo|None | find_video (self, MusicVideoQuery query) |
| Find the best matching music video. | |
| bool | play_video (self, MusicVideo video, int position_ms=0) |
| Present the selected music video. | |
| None | stop_video (self) |
| Stop the active video presentation. | |
| bool | is_video_active (self) |
| Return whether video presentation is active. | |
Search for and present music videos.
| MusicVideo | None video.music_video_if.MusicVideoIf.find_video | ( | self, | |
| MusicVideoQuery | query ) |
Find the best matching music video.
| query | Track metadata used to search for a video. |
Reimplemented in video.youtube_music_video.YouTubeMusicVideo.
| bool video.music_video_if.MusicVideoIf.is_video_active | ( | self | ) |
Return whether video presentation is active.
Reimplemented in video.youtube_music_video.YouTubeMusicVideo.
| bool video.music_video_if.MusicVideoIf.play_video | ( | self, | |
| MusicVideo | video, | ||
| int | position_ms = 0 ) |
Present the selected music video.
| video | Video selected for presentation. |
| position_ms | Initial playback position in milliseconds. |
Reimplemented in video.youtube_music_video.YouTubeMusicVideo.