We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b417241 commit 1becebdCopy full SHA for 1becebd
src/routes/voteOnSponsorTime.ts
@@ -59,7 +59,7 @@ async function updateSegmentVideoDuration(UUID: SegmentUUID) {
59
let apiVideoDetails: videoDetails = null;
60
if (service == Service.YouTube) {
61
// don't use cache since we have no information about the video length
62
- apiVideoDetails = await getVideoDetails(videoID);
+ apiVideoDetails = await getVideoDetails(videoID, true);
63
}
64
const apiVideoDuration = apiVideoDetails?.duration as VideoDuration;
65
if (videoDurationChanged(videoDuration, apiVideoDuration)) {
0 commit comments