summaryrefslogtreecommitdiff
path: root/odin
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2019-12-23 15:20:57 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2019-12-23 15:20:57 +0100
commit5fece3ccbfa49fd8ef27bbfabd1d5f0553ea7aea (patch)
tree69826c3210d321884a47dc705332376fdab509ff /odin
parentb641a093d8038d09d3ff949d512b4bfdf72de0e5 (diff)
downloadnixos-5fece3ccbfa49fd8ef27bbfabd1d5f0553ea7aea.tar
nixos-5fece3ccbfa49fd8ef27bbfabd1d5f0553ea7aea.tar.gz
nixos-5fece3ccbfa49fd8ef27bbfabd1d5f0553ea7aea.tar.bz2
nixos-5fece3ccbfa49fd8ef27bbfabd1d5f0553ea7aea.tar.xz
nixos-5fece3ccbfa49fd8ef27bbfabd1d5f0553ea7aea.zip
bump download resolution
Diffstat (limited to 'odin')
-rw-r--r--odin/strm/download_youtube2
1 files changed, 1 insertions, 1 deletions
diff --git a/odin/strm/download_youtube b/odin/strm/download_youtube
index f8c05fdf..ccb3a7bc 100644
--- a/odin/strm/download_youtube
+++ b/odin/strm/download_youtube
@@ -99,7 +99,7 @@ printf ">>> %s <<<\n %s\n" "${msgId}" "${message}"
99 exit 1 99 exit 1
100 fi 100 fi
101 101
102 formatString='bestvideo[width<=2560][height<=1440][fps<=60][vcodec=vp9]+bestaudio[acodec=opus]/bestvideo[width<=2560][height<=1440][fps<=60]+bestaudio/best[width<=2560][height<=1440][fps<=60]/best' 102 formatString='bestvideo[width<=3840][height<=2160][fps<=60][vcodec=vp9]+bestaudio[acodec=opus]/bestvideo[width<=3840][height<=2160][fps<=60]+bestaudio/best[width<=3840][height<=2160][fps<=60]/best'
103 103
104 if [[ ${msgTags[(i)tv]} -le $#msgTags ]]; then 104 if [[ ${msgTags[(i)tv]} -le $#msgTags ]]; then
105 formatString="bestvideo[width<=2560][height<=1440][fps<=60][vcodec=h264]+bestaudio[acodec=aac]/bestvideo[width<=2560][height<=1440][fps<=60][vcodec=mpeg]+bestaudio[acodec=aac]/mp4[width<=2560][height<=1440][fps<=60][vcodec=h264][acodec=aac]/mp4[width<=2560][height<=1440][fps<=60][vcodec=mpeg][acodec=aac]/${formatString}" 105 formatString="bestvideo[width<=2560][height<=1440][fps<=60][vcodec=h264]+bestaudio[acodec=aac]/bestvideo[width<=2560][height<=1440][fps<=60][vcodec=mpeg]+bestaudio[acodec=aac]/mp4[width<=2560][height<=1440][fps<=60][vcodec=h264][acodec=aac]/mp4[width<=2560][height<=1440][fps<=60][vcodec=mpeg][acodec=aac]/${formatString}"