diff options
| author | WriterV2 <primary-v2@protonmail.com> | 2026-09-19 12:44:00 +0200 |
|---|---|---|
| committer | WriterV2 <primary-v2@protonmail.com> | 2026-09-19 12:44:00 +0200 |
| commit | 7f036a51567cc1fe857bc7c162b5d863efeb3a41 (patch) | |
| tree | 47d71c4b6f99c8e20f605245465d3d1a13808f66 /.config/nushell | |
| parent | 14829f2eff9abdd13e4a7a01cb22c1e14bc5e272 (diff) | |
Nushell: Update youtube command to prefix playlist entries with index
Diffstat (limited to '.config/nushell')
| -rw-r--r-- | .config/nushell/youtube.nu | 2 |
1 files changed, 1 insertions, 1 deletions
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] { |
