File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ v4.6.3
2+ - Fix for queue and live counts never hitting 0 stopping script from restarting automatically
3+ - Fix for new LTT Supporter (OG) subscription.
4+
15v4.6.2
26 - Fix for episode count when using season/year based folder formatting
37
Original file line number Diff line number Diff line change @@ -361,9 +361,11 @@ function start() { // This is the main function that triggeres everything else i
361361 checkAuth ( ) . then ( constructCookie ) . then ( checkSubscriptions ) . then ( parseKey ) . then ( saveSettings ) . then ( logEpisodeCount ) . then ( getWAN ) . then ( getVideos )
362362 } else { // If the script is busy downloading then wait for it to finish before continuing
363363 setTimeout ( ( ) => {
364+ queueCount = queueCount > 0 ?queueCount - 1 :0
365+ liveCount = liveCount > 0 ?liveCount - 1 :0
364366 start ( ) ;
365- } , 1000 )
366- fLog ( "Init > Script busy, delaying restart for 1 second ..." )
367+ } , 60 * 1000 )
368+ fLog ( "Init > Script busy, delaying restart for 1 minute ..." )
367369 }
368370}
369371
@@ -571,7 +573,7 @@ function checkSubscriptions() {
571573 // If this subscription does not exist in settings add it with defaults otherwise do nothing
572574 if ( settings . subscriptions [ subscription . creator ] == undefined ) {
573575 // If the subscription being added is LTT then add it with its special subChannel ignores
574- if ( subscription . plan . title == 'Linus Tech Tips' ) {
576+ if ( subscription . plan . title == 'Linus Tech Tips' || subscription . plan . title == 'LTT Supporter (OG)' ) {
575577 settings . subscriptions [ subscription . creator ] = {
576578 id : subscription . creator ,
577579 title : subscription . plan . title ,
Original file line number Diff line number Diff line change 1- {"version" : " 4.6.1 " , "beta" : " 4.7.0" }
1+ {"version" : " 4.6.3 " , "beta" : " 4.7.0" }
Load diff This file was deleted.
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments