From d648e1c8489ed06a9c16ceb10d828b6bcc358c88 Mon Sep 17 00:00:00 2001 From: Flummi Date: Wed, 11 Jan 2017 01:15:57 +0100 Subject: [PATCH] meh, damn formats --- src/trigger/parser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/trigger/parser.js b/src/trigger/parser.js index 54656d3..9c17234 100644 --- a/src/trigger/parser.js +++ b/src/trigger/parser.js @@ -78,7 +78,7 @@ module.exports = (lib) => { var title = inf.title; var iurl = inf.iurl; try { - var dlformat = (m4a?'m4a':'webm'); + var dlformat = (m4a?'audioonly':'webm'); ytdl.downloadFromInfo(inf, { filter: (format) => { return format.container === dlformat; } }) .on('response', (res) => { if( ( res.headers['content-length'] <= lib.cfg.main.maxFileSize ) || force ) {