summaryrefslogtreecommitdiffstats
path: root/firefox-youtube-handler
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2014-12-02 19:39:24 +0100
committerFlorian Pritz <bluewind@xinu.at>2014-12-02 19:39:24 +0100
commitc23d10167a1db1243e4d090de7248de379aa2b73 (patch)
treedb03655ef7926143fbd9d5648b7700a5c1fa9c95 /firefox-youtube-handler
parent49aa8d86a7f5b8da3bae346dd3b20c6fc87d4434 (diff)
downloadbin-c23d10167a1db1243e4d090de7248de379aa2b73.tar.gz
bin-c23d10167a1db1243e4d090de7248de379aa2b73.tar.xz
firefox-youtube-handle: prefer 60fps video
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'firefox-youtube-handler')
-rwxr-xr-xfirefox-youtube-handler8
1 files changed, 4 insertions, 4 deletions
diff --git a/firefox-youtube-handler b/firefox-youtube-handler
index 2649016..598ec56 100755
--- a/firefox-youtube-handler
+++ b/firefox-youtube-handler
@@ -8,10 +8,10 @@ proto='yt://'
url=$1
id=${url##$proto}
-#audiourl="$(youtube-dl -g -f 141/140 -- "$id")"
-#videourl="$(youtube-dl -g -f 138/264/137/136/135/134 -- "$id")"
-audiourl="$(youtube-dl -g -f bestaudio -- "$id")"
-videourl="$(youtube-dl -g -f bestvideo -- "$id")"
+audiourl="$(youtube-dl -g -f 141/140 -- "$id")"
+videourl="$(youtube-dl -g -f 138/264/299/137/298/136/135/134 -- "$id")"
+#audiourl="$(youtube-dl -g -f bestaudio -- "$id")"
+#videourl="$(youtube-dl -g -f bestvideo -- "$id")"
#vlc "$videourl" --input-slave "$audiourl"
mpv --really-quiet --title "YouTube - $id" --no-cache --demuxer-lavf-o=fflags=+ignidx "$videourl" --audio-file "$audiourl"