Skip to content

Commit 38c5881

Browse files
committed
v4.6.3 Release
Fixes for script never restarting due to live and queue count not dropping to 0. Support for new LTT Supporter (OG) subscription.
1 parent 028fd9a commit 38c5881

6 files changed

Lines changed: 10 additions & 8 deletions

File tree

changelog.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
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+
15
v4.6.2
26
- Fix for episode count when using season/year based folder formatting
37

float.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff 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,

latest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"version": "4.6.1", "beta": "4.7.0"}
1+
{"version": "4.6.3", "beta": "4.7.0"}

releases/4.6.3.zip

2.01 MB
Binary file not shown.

releases/desktop.ini

Lines changed: 0 additions & 2 deletions
This file was deleted.

releases/installers/desktop.ini

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)