From 3204f4d17dec79413a94eae8a71b72e0c7ec7ba5 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 16 Sep 2022 09:37:07 +0200 Subject: Fix sync import of latest videos --- server/helpers/youtube-dl/youtube-dl-info-builder.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/helpers') diff --git a/server/helpers/youtube-dl/youtube-dl-info-builder.ts b/server/helpers/youtube-dl/youtube-dl-info-builder.ts index 303e4051f..a74904e43 100644 --- a/server/helpers/youtube-dl/youtube-dl-info-builder.ts +++ b/server/helpers/youtube-dl/youtube-dl-info-builder.ts @@ -12,7 +12,7 @@ type YoutubeDLInfo = { tags?: string[] thumbnailUrl?: string ext?: string - originallyPublishedAt?: Date + originallyPublishedAtWithoutTime?: Date webpageUrl?: string urls?: string[] @@ -81,7 +81,7 @@ class YoutubeDLInfoBuilder { tags: this.getTags(obj.tags), thumbnailUrl: obj.thumbnail || undefined, urls: this.buildAvailableUrl(obj), - originallyPublishedAt: this.buildOriginallyPublishedAt(obj), + originallyPublishedAtWithoutTime: this.buildOriginallyPublishedAt(obj), ext: obj.ext, webpageUrl: obj.webpage_url } -- cgit v1.2.3