From 38bab29776950ac2364ed64195b89887717c33de Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Thu, 1 Jan 1970 03:00:00 +0300 Subject: chore: init --- youtube-dl/.local/etc/youtube-dl/config | 15 +++++++++++++++ youtube-dl/@install | 10 ++++++++++ 2 files changed, 25 insertions(+) create mode 100644 youtube-dl/.local/etc/youtube-dl/config create mode 100755 youtube-dl/@install (limited to 'youtube-dl') diff --git a/youtube-dl/.local/etc/youtube-dl/config b/youtube-dl/.local/etc/youtube-dl/config new file mode 100644 index 0000000..8309d10 --- /dev/null +++ b/youtube-dl/.local/etc/youtube-dl/config @@ -0,0 +1,15 @@ +--buffer-size 1024 +--continue +--external-downloader aria2c +--external-downloader-args '-k 2M' +--geo-bypass +--hls-prefer-ffmpeg +--no-call-home +--no-check-certificate +--no-playlist +--prefer-ffmpeg +--prefer-free-formats +--restrict-filenames +--retries 3 +--skip-unavailable-fragments +--youtube-skip-dash-manifest diff --git a/youtube-dl/@install b/youtube-dl/@install new file mode 100755 index 0000000..4a90a65 --- /dev/null +++ b/youtube-dl/@install @@ -0,0 +1,10 @@ +#!/bin/sh + +[ ! -d "${XDG_CONFIG_HOME}/youtube-dl" ] && \ + mkdir -p "${XDG_CONFIG_HOME}/youtube-dl" + +stow \ + --target="${HOME}" \ + --ignore="^@.*" \ + --verbose \ + youtube-dl -- cgit 1.4.1