#!/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 v3_backstreet    "Backstreet Boys Everybody Backstreet's Back audio"
dl v3_britney       "Britney Spears Baby One More Time audio"
dl v3_rem           "REM Losing My Religion audio"
dl v3_redhot        "Red Hot Chili Peppers Californication audio"
dl v3_radiohead     "Radiohead Creep audio"
dl v3_metallica     "Metallica Nothing Else Matters audio"
dl v3_nodoubt       "No Doubt Dont Speak audio"
dl v3_tlc           "TLC Waterfalls audio"
dl v3_savage        "Savage Garden Truly Madly Deeply audio"
dl v3_aqua          "Aqua Barbie Girl audio"
dl v3_chumbawamba   "Chumbawamba Tubthumping audio"
dl v3_4nonblondes   "4 Non Blondes Whats Up audio"
dl v3_vengaboys     "Vengaboys Boom Boom Boom Boom audio"
dl v3_robbie        "Robbie Williams Angels audio"
dl v3_celine        "Celine Dion My Heart Will Go On audio"
dl v3_outkast       "OutKast Hey Ya audio"
dl v3_gnarls        "Gnarls Barkley Crazy audio"
dl v3_amywine       "Amy Winehouse Rehab audio"
dl v3_killers       "The Killers Mr Brightside audio"
dl v3_coldplay      "Coldplay Viva la Vida audio"
dl v3_eminem        "Eminem Lose Yourself audio"
dl v3_blackeyed     "Black Eyed Peas I Gotta Feeling audio"
dl v3_rihanna       "Rihanna Umbrella audio"
dl v3_kanye         "Kanye West Stronger audio"
dl v3_adele         "Adele Rolling in the Deep audio"
dl v3_mohicans      "Last of the Mohicans main theme Trevor Jones"
dl v3_schindler     "Schindlers List theme John Williams Itzhak Perlman"
dl v3_requiem       "Requiem for a Dream Lux Aeterna Clint Mansell"
dl v3_matrix        "The Matrix main theme Don Davis"
dl v3_avatar        "Avatar theme James Horner I See You"
dl v3_up            "Up Married Life Michael Giacchino"
dl v3_amelie        "Amelie La Valse d'Amelie Yann Tiersen"
dl v3_killbill      "Kill Bill Twisted Nerve whistle theme"
dl v3_pulp          "Pulp Fiction Misirlou Dick Dale audio"
dl v3_interstellar  "Interstellar main theme Hans Zimmer"
dl v3_shrek         "Shrek All Star Smash Mouth audio"
dl v3_lalaland      "La La Land City of Stars audio"
dl v3_rohan         "Lord of the Rings Rohan theme Howard Shore"
dl v3_mononoke      "Princess Mononoke theme Joe Hisaishi"
dl v3_chariots      "Chariots of Fire theme Vangelis"
dl v3_sopranos      "The Sopranos theme Woke Up This Morning A3"
dl v3_frasier       "Frasier theme tossed salads and scrambled eggs"
dl v3_doctorwho     "Doctor Who theme Murray Gold"
dl v3_sherlock      "Sherlock BBC theme David Arnold"
dl v3_houseofcards  "House of Cards main theme Jeff Beal"
dl v3_witcher       "The Witcher Toss a Coin to Your Witcher"
dl v3_dexter        "Dexter main title theme Daniel Licht"
dl v3_himym         "How I Met Your Mother theme Hey Beautiful"
dl v3_succession    "Succession main theme Nicholas Britell"
dl v3_twinpeaks     "Twin Peaks theme Angelo Badalamenti"

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