MMK YouTube — Video Type
Prerequisite: Read
../mmk-shared/SKILL.mdfor auth, global flags, and error handling. Parent:mmk-youtube— includes positional argument note.
Always use -o json when parsing results or composing with other commands.
All commands accept a positional argument — either a full YouTube URL or a plain video ID. The CLI auto-detects the format. Always quote the URL (see Shell Quoting in mmk-shared) — unquoted URLs containing ? or & will fail in zsh.
videotype — Identify video vs Short
mmk youtube videotype <video_url_or_id> -o json
mmk youtube videotype "https://www.youtube.com/watch?v=dQw4w9WgXcQ" -o json
Returns: video ID, type (video or short), source URL.
See Also
- mmk-shared — Auth, global flags, error handling
- mmk-youtube — All YouTube commands overview
- mmk-youtube-metadata — Get video metadata
- mmk-youtube-transcript — Get video transcript