mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 14:20:30 +05:30
Parse the preview images from the streams
response
This commit is contained in:
parent
4c0e64d25a
commit
6fccb2ad16
@ -0,0 +1,14 @@
|
||||
package com.github.libretube.api.obj
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties
|
||||
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
data class PreviewFrames(
|
||||
val urls: List<String>? = null,
|
||||
val frameWidth: Int? = null,
|
||||
val frameHeight: Int? = null,
|
||||
val totalCount: Int? = null,
|
||||
val durationPerFrame: Int? = null,
|
||||
val framesPerPageX: Int? = null,
|
||||
val framesPerPageY: Int? = null
|
||||
)
|
@ -26,5 +26,6 @@ data class Streams(
|
||||
val livestream: Boolean? = null,
|
||||
val proxyUrl: String? = null,
|
||||
val chapters: List<ChapterSegment>? = null,
|
||||
val uploaderSubscriberCount: Long? = null
|
||||
val uploaderSubscriberCount: Long? = null,
|
||||
val previewFrames: List<PreviewFrames>? = null
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user