dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 8f4def470950cba5272e460cd68c6af671c125f2
parent ebf5027a28924031d31197f100cb97e6f96ba4b9
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Fri, 29 May 2020 09:19:46 +0200

Add youtube-dl metadata to output file

Diffstat:
M.local/bin/youtube-dl-music | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/.local/bin/youtube-dl-music b/.local/bin/youtube-dl-music @@ -36,6 +36,7 @@ handle_url() { --extract-audio \ --audio-quality 0 \ --audio-format mp3 \ + --add-metadata \ --output \'%\(playlist_index\)s - %\(title\)s.%\(ext\)s\' \ "$1" | tee /dev/tty | grep 'Finished downloading' | sed 's/.*: //')"