File formats are not searched anymore if video is a playlist. Prior to this they simply errored

pull/45/head
Isaac Grynsztein 5 years ago
parent da9dcc0249
commit 8331c319ce

@ -815,6 +815,10 @@ export class MainComponent implements OnInit {
}
getURLInfo(url) {
// if url is a youtube playlist, skip getting url info
if (url.includes('playlist')) {
return;
}
if (!this.cachedAvailableFormats[url]) {
this.cachedAvailableFormats[url] = {};
}

Loading…
Cancel
Save