diff options
Diffstat (limited to 'server/helpers')
-rw-r--r-- | server/helpers/youtube-dl.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/helpers/youtube-dl.ts b/server/helpers/youtube-dl.ts index 4d4b37ef9..a5ab92df0 100644 --- a/server/helpers/youtube-dl.ts +++ b/server/helpers/youtube-dl.ts | |||
@@ -175,7 +175,7 @@ function normalizeObject (obj: any) { | |||
175 | 175 | ||
176 | function buildVideoInfo (obj: any) { | 176 | function buildVideoInfo (obj: any) { |
177 | 177 | ||
178 | const date = obj.upload_date.slice(0,4)+","+obj.upload_date.slice(4,6)+","+obj.upload_date.slice(6,8) | 178 | const date = obj.upload_date.slice(0,4) + ',' + obj.upload_date.slice(4,6) + ',' + obj.upload_date.slice(6,8) |
179 | 179 | ||
180 | return { | 180 | return { |
181 | name: titleTruncation(obj.title), | 181 | name: titleTruncation(obj.title), |