From 1c080783990429918a4b7fa4d383b36bf63fae1f Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Mon, 20 May 2019 23:43:56 +0200 Subject: Now using $HOME and video is now downloaded with metadata. --- floats/youtube-dlFloat.sh | 3 +-- floats/youtube-dlFloatAudio.sh | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'floats') diff --git a/floats/youtube-dlFloat.sh b/floats/youtube-dlFloat.sh index f3bbf52..3d47ec6 100755 --- a/floats/youtube-dlFloat.sh +++ b/floats/youtube-dlFloat.sh @@ -1,3 +1,2 @@ #!/bin/sh - -urxvt -title "floating" -geometry "100x8-0-0" -e youtube-dl --all-subs --embed-subs -o "~/downloads/videos/%(title)s.%(ext)s" "$1" & +urxvt -title "floating" -geometry "100x8-0-0" -e youtube-dl --add-metadata --all-subs --embed-subs -o "$HOME/downloads/videos/%(title)s.%(ext)s" "$1" diff --git a/floats/youtube-dlFloatAudio.sh b/floats/youtube-dlFloatAudio.sh index e770f69..a272abb 100755 --- a/floats/youtube-dlFloatAudio.sh +++ b/floats/youtube-dlFloatAudio.sh @@ -1,3 +1,2 @@ #!/bin/sh - -urxvt -title "floating" -geometry "100x8-0-0" -e youtube-dl -o "~/downloads/audios/%(title)s.%(ext)s" -x --audio-format mp3 --embed-thumbnail "$1" & +urxvt -title "floating" -geometry "100x8-0-0" -e youtube-dl -o "$HOME/downloads/audios/%(title)s.%(ext)s" -x --audio-format mp3 --embed-thumbnail "$1" -- cgit v1.2.1