#!/bin/sh

#Description: Takes a URL, ideally anything supported by yt-dlp, then downloads the best audio quality version of the URL to your CONTENTDIR.

#Axioms: CONTENTDIR

#Dependencies: https://packages.debian.org/sid/yt-dlp


yt-dlp -R inf -o "/home/$USER/Videos/Content/%(uploader)s - %(title)s.%(ext)s" -f bestaudio -ic --add-metadata --sponsorblock-remove all "$1"