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
MATCH (c:VideoTranscript) SET c.title = split(c.path, "/")[size(split(c.path, "/")) -1]
Convert start and end times of captions from hour:minute:second format to milliseconds
MATCH (n:Caption)
WITH n, split(n.start, ".") AS parts
WITH n, parts, toInteger(parts[1]) AS msa
WITH n, msa, split(parts[0], ":") AS his
WITH n, msa, his, (toInteger(his[0]) * 60 * 60 * 1000) AS hms, (toInteger(his[1]) * 60 * 1000) AS mms, (toInteger(his[2]) * 1000) AS sms
SET n.startTimeMS = (hms + mms + sms + msa)