[CR] Fix logic for separate video/audio downloading
This commit is contained in:
parent
0c7c047a7b
commit
b830a73e04
1 changed files with 1 additions and 1 deletions
|
|
@ -1503,7 +1503,7 @@ export default class Crunchy implements ServiceClass {
|
||||||
|
|
||||||
let tsFile = undefined;
|
let tsFile = undefined;
|
||||||
|
|
||||||
if(!dlFailed && curStream !== undefined && !(!options.novids && !options.noaudio)){
|
if(!dlFailed && curStream !== undefined && !(options.novids && options.noaudio)){
|
||||||
const streamPlaylistsReq = await this.req.getData(curStream.url);
|
const streamPlaylistsReq = await this.req.getData(curStream.url);
|
||||||
if(!streamPlaylistsReq.ok || !streamPlaylistsReq.res){
|
if(!streamPlaylistsReq.ok || !streamPlaylistsReq.res){
|
||||||
console.error('CAN\'T FETCH VIDEO PLAYLISTS!');
|
console.error('CAN\'T FETCH VIDEO PLAYLISTS!');
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue