mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-10 09:07:47 +01:00
Actually pass the ignoreCache param, as the comment suggests
This commit is contained in:
parent
b417241ca0
commit
1becebdcd5
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ async function updateSegmentVideoDuration(UUID: SegmentUUID) {
|
|||
let apiVideoDetails: videoDetails = null;
|
||||
if (service == Service.YouTube) {
|
||||
// don't use cache since we have no information about the video length
|
||||
apiVideoDetails = await getVideoDetails(videoID);
|
||||
apiVideoDetails = await getVideoDetails(videoID, true);
|
||||
}
|
||||
const apiVideoDuration = apiVideoDetails?.duration as VideoDuration;
|
||||
if (videoDurationChanged(videoDuration, apiVideoDuration)) {
|
||||
|
|
Loading…
Reference in a new issue