aboutsummaryrefslogtreecommitdiff
path: root/floats
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2019-05-20 23:43:56 +0200
committerInigoGutierrez <inigogf.95@gmail.com>2019-05-20 23:44:41 +0200
commit1c080783990429918a4b7fa4d383b36bf63fae1f (patch)
tree9eb0df585a658d4442b9da1a97e1b63dce1199fe /floats
parent4d543940da0a5ead88fc07df3fa6ee3554863305 (diff)
downloadscripts-1c080783990429918a4b7fa4d383b36bf63fae1f.tar.gz
scripts-1c080783990429918a4b7fa4d383b36bf63fae1f.zip
Now using $HOME and video is now downloaded with metadata.
Diffstat (limited to 'floats')
-rwxr-xr-xfloats/youtube-dlFloat.sh3
-rwxr-xr-xfloats/youtube-dlFloatAudio.sh3
2 files changed, 2 insertions, 4 deletions
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"