Fix video does not continuing from previous progress when opened

This commit is contained in:
Brahim Hadriche committed 2025-05-20 12:27:21 -04:00
1 parent f681a7024c
commit d2fbd59d6a
6 files changed
+31 -2

No files matched your search

@@ -44,6 +44,12 @@ namespace Http
return true
end if
if IsString(payload.timestamp)
payload.timestamp = payload.timestamp.toInt()
else if IsString(payload.percentDurationWatched)
payload.percentDurationWatched = payload.percentDurationWatched.toFloat()
end if
instance = m.invidiousService.GetInstance()
contentNode = InvidiousContent.ToRowCellContentNode(payload, instance)
@@ -79,6 +85,8 @@ namespace Http
if IsString(payload.timestamp)
payload.timestamp = payload.timestamp.toInt()
else if IsString(payload.percentDurationWatched)
payload.percentDurationWatched = payload.percentDurationWatched.toFloat()
end if
instance = m.invidiousService.GetInstance()