You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 948c469
Browse filesBrowse the repository at this point in the historyBrowse files
`[Sync Missing YouTube Transcripts] Querying documents with YouTube URLs missing transcripts in project ${projectId}, dataset ${dataset}...`,
290
+
`[Sync Missing YouTube Transcripts] Querying documents with YouTube URLs missing transcripts or full captions in project ${projectId}, dataset ${dataset}...`,
266
291
);
267
292
268
-
consttotalMissing=awaitclient.fetch<number>(
269
-
`count(*[_type in ["post", "podcast", "course", "lesson", "short"] && (defined(youtube) || defined(listenLinks.youtube)) && !defined(transcript) && !(_id in path("drafts.**"))])`,
270
-
);
271
-
272
-
console.log(
273
-
`[Sync Missing YouTube Transcripts] Total documents currently missing transcripts in ${dataset}: ${totalMissing}`,
274
-
);
275
-
276
-
if(totalMissing===0){
277
-
console.log(
278
-
"[Sync Missing YouTube Transcripts] All videos currently have linked transcripts. Done.",
0 commit comments