chore: twitch cleanup

This commit is contained in:
Snazzah 2023-10-30 12:40:15 -05:00
parent 8ed9b8ad5b
commit 5d87b68f5b
No known key found for this signature in database
GPG key ID: EA479766A94CEB61

View file

@ -19,7 +19,6 @@ export default async function (obj) {
} }
durationSeconds durationSeconds
id id
slug
medium: thumbnailURL(width: 480, height: 272) medium: thumbnailURL(width: 480, height: 272)
title title
videoQualities { videoQualities {
@ -74,7 +73,7 @@ export default async function (obj) {
filenameAttributes: { filenameAttributes: {
service: "twitch", service: "twitch",
id: clipMetadata.id, id: clipMetadata.id,
title: fileMetadata.title, title: clipMetadata.title,
author: `${clipMetadata.broadcaster.login}, clipped by ${clipMetadata.curator.login}`, author: `${clipMetadata.broadcaster.login}, clipped by ${clipMetadata.curator.login}`,
qualityLabel: `${format.quality}p` qualityLabel: `${format.quality}p`
}, },