Skip to content

Commit

Permalink
4.0.3 Shadowupdate
Browse files Browse the repository at this point in the history
  • Loading branch information
INSANITY\Inrix authored and INSANITY\Inrix committed Jun 11, 2018
1 parent e0a372c commit 682e06f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions float.js
Original file line number Diff line number Diff line change
Expand Up @@ -416,11 +416,7 @@ function getVideos() {
} else { // Otherwise just log it normally
console.log('\n\n=== \u001b[38;5;8m'+subscription.title+'\u001b[0m ===')
}
JSON.parse(body).reverse().forEach(function(video, i) {
if (i+(page*20) <= settings.maxVideos) { // Break on max videos parsed
return false
}

JSON.parse(body).slice(0, settings.maxVideos+page*20).reverse().forEach(function(video, i) {
// Set defaults for video
matchTitle = video.title
video.subChannel = subscription.title
Expand Down
Binary file modified releases/4.0.3.zip
Binary file not shown.

0 comments on commit 682e06f

Please sign in to comment.