mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-29 00:10:32 +05:30
Merge pull request #6439 from Bnyro/master
fix: videos in watch history uploaded in 1970
This commit is contained in:
commit
e53485d67e
@ -73,7 +73,7 @@ object StreamsExtractor {
|
||||
visibility = resp.privacy.name.lowercase(),
|
||||
duration = resp.duration,
|
||||
uploadTimestamp = resp.uploadDate.offsetDateTime().toInstant().toKotlinInstant(),
|
||||
uploaded = resp.uploadDate.offsetDateTime().toEpochSecond(),
|
||||
uploaded = resp.uploadDate.offsetDateTime().toEpochSecond() * 1000,
|
||||
thumbnailUrl = resp.thumbnails.maxBy { it.height }.url,
|
||||
relatedStreams = resp.relatedItems.filterIsInstance<StreamInfoItem>().map {
|
||||
StreamItem(
|
||||
|
Loading…
x
Reference in New Issue
Block a user