From 7f036a51567cc1fe857bc7c162b5d863efeb3a41 Mon Sep 17 00:00:00 2001 From: WriterV2 Date: Sat, 19 Sep 2026 12:44:00 +0200 Subject: Nushell: Update youtube command to prefix playlist entries with index --- .config/nushell/youtube.nu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.config/nushell/youtube.nu') diff --git a/.config/nushell/youtube.nu b/.config/nushell/youtube.nu index c34b21b..ec14ad1 100644 --- a/.config/nushell/youtube.nu +++ b/.config/nushell/youtube.nu @@ -1,5 +1,5 @@ export def download [video_url: string] { - yt-dlp --cookies-from-browser firefox --downloader aria2c --downloader-args '-c -j 3 -x 3 -s 3 -k 1M' --sponsorblock-mark default --sponsorblock-remove sponsor --restrict-filenames -P $"($env.MISCPATH)/Youtube/" --output '%(channel)s_%(channel_id)s/%(playlist|Misc)s/%(upload_date)s.%(id)s.%(title)s.%(ext)s' $video_url + yt-dlp --cookies-from-browser firefox --downloader aria2c --downloader-args '-c -j 3 -x 3 -s 3 -k 1M' --sponsorblock-mark default --sponsorblock-remove sponsor --restrict-filenames -P $"($env.MISCPATH)/Youtube/" --output '%(channel)s_%(channel_id)s/%(playlist|Misc)s/%(playlist_index|)s%(upload_date)s.%(id)s.%(title)s.%(ext)s' $video_url } export def stream [video_url: string] { -- cgit v1.2.3