Bump dependencies

This commit is contained in:
Max Isom 2020-08-24 14:53:18 -05:00
parent e927334db6
commit cd4b42a8f6
No known key found for this signature in database
GPG key ID: 25C9B1A7F6798880
5 changed files with 852 additions and 811 deletions

View file

@ -338,7 +338,7 @@ export default class {
// Don't cache livestreams or long videos
const MAX_CACHE_LENGTH_SECONDS = 30 * 60; // 30 minutes
shouldCacheVideo = !info.player_response.videoDetails.isLiveContent && parseInt(info.length_seconds, 10) < MAX_CACHE_LENGTH_SECONDS && !options.seek;
shouldCacheVideo = !info.player_response.videoDetails.isLiveContent && parseInt(info.videoDetails.lengthSeconds, 10) < MAX_CACHE_LENGTH_SECONDS && !options.seek;
ffmpegInputOptions.push(...[
'-reconnect',