Skip to content

Commit

Permalink
[CR] Fix logic for separate video/audio downloading
Browse files Browse the repository at this point in the history
  • Loading branch information
AnimeDL committed Mar 19, 2024
1 parent 0c7c047 commit b830a73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crunchy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1503,7 +1503,7 @@ export default class Crunchy implements ServiceClass {

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);
if(!streamPlaylistsReq.ok || !streamPlaylistsReq.res){
console.error('CAN\'T FETCH VIDEO PLAYLISTS!');
Expand Down

0 comments on commit b830a73

Please sign in to comment.