diff options
| -rwxr-xr-x | install.nu | 8 | ||||
| -rw-r--r-- | src/yt-dlp/video.conf | 7 |
2 files changed, 15 insertions, 0 deletions
@@ -48,3 +48,11 @@ if ($DEVICE_ID == "010" or $DEVICE_ID == "020" or $DEVICE_ID == "040") { cp $"($DOTFILES_DIR)/nushell/scripts/youtube.nu" $"($env.HOME)/.config/nushell/scripts/youtube.nu" } + +# yt-dlp +if ($DEVICE_ID == "010" or $DEVICE_ID == "020" or $DEVICE_ID == "040") { + + mkdir $"($env.HOME)/.config/yt-dlp" + cp $"($DOTFILES_DIR)/yt-dlp/video.conf" $"($env.HOME)/.config/yt-dlp/video.conf" + +} diff --git a/src/yt-dlp/video.conf b/src/yt-dlp/video.conf new file mode 100644 index 0000000..ae09363 --- /dev/null +++ b/src/yt-dlp/video.conf @@ -0,0 +1,7 @@ +--no-playlist +-N 4 +-f "bv[ext=mp4][height<=?1080][fps<=?60]+ba[ext=m4a]" +--embed-subs +--embed-metadata +--embed-thumbnail +--embed-chapters |
