Removed useless caching functionality
This commit is contained in:
parent
5d8bcb9cb1
commit
9c6e58d5dd
6 changed files with 8 additions and 157 deletions
|
|
@ -75,7 +75,7 @@ public class PlayerController {
|
|||
sponsorTimer.schedule(new TimerTask() {
|
||||
@Override
|
||||
public void run() {
|
||||
executeDownloadSegments(currentVideoId, false);
|
||||
executeDownloadSegments(currentVideoId);
|
||||
}
|
||||
}, 0);
|
||||
}
|
||||
|
|
@ -114,8 +114,8 @@ public class PlayerController {
|
|||
}
|
||||
}
|
||||
|
||||
public static void executeDownloadSegments(String videoId, boolean ignoreCache) {
|
||||
SponsorSegment[] segments = SponsorBlockUtils.getSegmentsForVideo(videoId, ignoreCache);
|
||||
public static void executeDownloadSegments(String videoId) {
|
||||
SponsorSegment[] segments = SponsorBlockUtils.getSegmentsForVideo(videoId);
|
||||
Arrays.sort(segments);
|
||||
|
||||
if (VERBOSE)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue