-.-
This commit is contained in:
parent
d8913d407d
commit
73af845e48
@ -81,7 +81,7 @@ module.exports = (lib) => {
|
||||
//var dlformat = (m4a?'audioonly':'webm');
|
||||
var dlformat;
|
||||
if(m4a)
|
||||
dlformat = { filter: '141' };
|
||||
dlformat = { format: '171' };
|
||||
else
|
||||
dlformat = { filter: (format) => { return format.container === 'webm'; } };
|
||||
|
||||
@ -91,8 +91,8 @@ module.exports = (lib) => {
|
||||
info = {
|
||||
type: 'youtube',
|
||||
title: title,
|
||||
mime: (m4a?'audio/mp4':'video/webm'),
|
||||
ext: (m4a?'m4a':'webm'),
|
||||
mime: (m4a?'audio/mpeg':'video/webm'),
|
||||
ext: (m4a?'mp3':'webm'),
|
||||
thumb: iurl
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user