#!/bin/bash
OUT=/mnt/md2/Complete/Quiz-Audio
IMG=jauderho/yt-dlp:latest

dl () {
  local name="$1"; local query="$2"
  echo "=== $name ==="
  docker run --rm -v "$OUT":/downloads "$IMG" \
    -x --audio-format mp3 --audio-quality 5 --force-overwrite --no-continue \
    -o "/downloads/${name}.%(ext)s" \
    "ytsearch1:${query}" || echo "!! MISLUKT: $name"
}

dl v2_michael_beat    "Michael Jackson Beat It audio"
dl v2_madonna_vogue   "Madonna Vogue audio"
dl v2_prince_kiss     "Prince Kiss audio"
dl v2_bowie           "David Bowie Lets Dance audio"
dl v2_dire            "Dire Straits Money for Nothing audio"
dl v2_toto            "Toto Africa audio"
dl v2_journey         "Journey Dont Stop Believin audio"
dl v2_guns            "Guns N Roses Sweet Child O Mine audio"
dl v2_michaeljf       "Michael Jackson Smooth Criminal audio"
dl v2_cyndi           "Cyndi Lauper Girls Just Want to Have Fun audio"
dl v2_abba            "ABBA Dancing Queen audio"
dl v2_bee             "Bee Gees Stayin Alive audio"
dl v2_police          "The Police Every Breath You Take audio"
dl v2_uxtwo           "U2 With or Without You audio"
dl v2_phil            "Phil Collins In the Air Tonight audio"
dl v2_tina            "Tina Turner The Best Simply the Best audio"
dl v2_george          "George Michael Faith audio"
dl v2_blur            "Blur Song 2 audio"
dl v2_oasis           "Oasis Wonderwall audio"
dl v2_spice           "Spice Girls Wannabe audio"
dl v2_weeknd          "The Weeknd Blinding Lights audio"
dl v2_dua             "Dua Lipa Levitating audio"
dl v2_harry           "Harry Styles As It Was audio"
dl v2_olivia          "Olivia Rodrigo good 4 u audio"
dl v2_doja            "Doja Cat Paint The Town Red audio"
dl v2_teddy           "Teddy Swims Lose Control audio"
dl v2_chappell        "Chappell Roan Pink Pony Club audio"
dl v2_gracie          "Gracie Abrams Thats So True audio"
dl v2_lordeother      "Lorde Royals audio"
dl v2_postmalone      "Post Malone Sunflower Swae Lee audio"
dl v2_pirates         "Pirates of the Caribbean He's a Pirate theme"
dl v2_harrypotter     "Harry Potter Hedwig's Theme John Williams"
dl v2_titanic         "Titanic My Heart Will Go On instrumental"
dl v2_rocky           "Rocky Gonna Fly Now theme"
dl v2_missionimp      "Mission Impossible theme Lalo Schifrin"
dl v2_bond            "James Bond theme Monty Norman"
dl v2_inception       "Inception Time Hans Zimmer"
dl v2_pinkpanther     "Pink Panther theme Henry Mancini"
dl v2_jaws            "Jaws theme John Williams"
dl v2_frozen          "Frozen Let It Go audio"
dl v2_grease          "Grease You're the One That I Want audio"
dl v2_dirtydancing    "Dirty Dancing Time of My Life audio"
dl v2_ghost           "Ghost Unchained Melody Righteous Brothers"
dl v2_bodyguard       "The Bodyguard I Will Always Love You Whitney audio"
dl v2_gbu             "The Good the Bad and the Ugly theme Ennio Morricone"
dl v2_xfiles          "X-Files theme Mark Snow"
dl v2_simpsons        "The Simpsons theme Danny Elfman"
dl v2_office          "The Office US theme song"
dl v2_breaking        "Breaking Bad main theme"
dl v2_peaky           "Peaky Blinders Red Right Hand Nick Cave"

echo "=== KLAAR ==="
ls -1 "$OUT"/v2_*.mp3 | wc -l
