{"skill":{"slug":"youtube-music-mv-detector","displayName":"YouTube Music MV Detector","summary":"Detect YouTube Music links as MV (music video) or song (audio). Use when user shares YouTube Music links (music.youtube.com/watch?v=...) and you need to clas...","description":"---\nname: youtube-music-mv-detector\ndescription: Detect YouTube Music links as MV (music video) or song (audio). Use when user shares YouTube Music links (music.youtube.com/watch?v=...) and you need to classify them as MV or audio track.\n---\n\n# YouTube Music MV Detector\n\n## Detection Method\n\nUse YouTube's free **oEmbed API** (no API key needed):\n\n```\nhttps://www.youtube.com/oembed?url={youtube_music_url}&format=json\n```\n\n## Classification Rules\n\nAfter fetching oEmbed data, check:\n\n### 🎬 MV (Music Video) - if ANY true:\n1. Author does NOT contain \" - Topic\"\n2. Title contains \"(Official Music Video)\", \"(Music Video)\", \"MV\", \"(Official Video)\"\n\n### 🎵 Song (Audio) - if ANY true:\n1. Author contains \" - Topic\" (YouTube Topic channels = audio tracks)\n2. Title is just the song name without video indicators\n\n## Examples\n\n| URL | Title | Author | Result |\n|-----|-------|--------|--------|\n| music.youtube.com/watch?v=1rvqA8rMTu8 | Iceage - Star (Official Music Video) | Iceage | 🎬 MV |\n| music.youtube.com/watch?v=Mh5Y8vusknE | Star | Iceage - Topic | 🎵 Song |\n| music.youtube.com/watch?v=wtJcLWeY114 | amazarashi...ED | amazarashi Official YouTube Channel | 🎬 MV |\n| music.youtube.com/watch?v=HPMwDxi9-e0 | Kisetsu Wa Tsugitsugi Shindeiku | amazarashi - Topic | 🎵 Song |\n\n## Workflow\n\n1. Extract video ID from YouTube Music URL\n2. Call oEmbed API: `https://www.youtube.com/oembed?url=...&format=json`\n3. Parse `title` and `author_name` from JSON response\n4. Apply classification rules above\n5. Return result with title and classification\n\n## Notes\n\n- YouTube Music URLs may include extra params like `&list=...` or `&si=...` - strip these before calling oEmbed\n- oEmbed is free and doesn't require authentication\n- This works for both regular YouTube and YouTube Music links\n","tags":{"latest":"1.0.0"},"stats":{"comments":0,"downloads":571,"installsAllTime":1,"installsCurrent":1,"stars":1,"versions":1},"createdAt":1773570897807,"updatedAt":1778491925219},"latestVersion":{"version":"1.0.0","createdAt":1773570897807,"changelog":"Initial release","license":"MIT-0"},"metadata":null,"owner":{"handle":"nicowu07","userId":"s17647gczyfp3q5kgy700yncm184n99k","displayName":"Nico Wu","image":"https://avatars.githubusercontent.com/u/20920436?v=4"},"moderation":null}