diff options
Diffstat (limited to 'src/utils/exporter.ts')
-rw-r--r-- | src/utils/exporter.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/exporter.ts b/src/utils/exporter.ts index 3a199708..25b7c254 100644 --- a/src/utils/exporter.ts +++ b/src/utils/exporter.ts @@ -1,8 +1,8 @@ import { ActionType, Category, SegmentUUID, SponsorSourceType, SponsorTime } from "../types"; import { shortCategoryName } from "./categoryUtils"; -import { GenericUtils } from "./genericUtils"; import * as CompileConfig from "../../config.json"; import { getFormattedTime, getFormattedTimeToSeconds } from "@ajayyy/maze-utils/lib/formating"; +import { generateUserID } from "@ajayyy/maze-utils/lib/setup"; const inTest = typeof chrome === "undefined"; @@ -62,7 +62,7 @@ export function importTimes(data: string, videoDuration: number): SponsorTime[] actionType: determinedCategory ? ActionType.Skip : ActionType.Chapter, description: title, source: SponsorSourceType.Local, - UUID: GenericUtils.generateUserID() as SegmentUUID + UUID: generateUserID() as SegmentUUID }; if (result.length > 0 && result[result.length - 1].segment[1] === null) { |