mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-13 13:50:30 +05:30
fix: videos in watch history uploaded in 1970
This commit is contained in:
parent
8ddd52d96f
commit
68e371a8bb
@ -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…
Reference in New Issue
Block a user