mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
Fix
This commit is contained in:
parent
d4631bc838
commit
431a7e543f
2 changed files with 4 additions and 4 deletions
|
@ -39,12 +39,12 @@ data class VisualDownloadChildCached(
|
|||
): VisualDownloadCachedAbstract(currentBytes, totalBytes, data)
|
||||
|
||||
data class VisualDownloadHeaderCached(
|
||||
val currentOngoingDownloads: Int,
|
||||
val totalDownloads: Int,
|
||||
override val totalBytes: Long,
|
||||
override val currentBytes: Long,
|
||||
override val data: VideoDownloadHelper.DownloadHeaderCached,
|
||||
val child: VideoDownloadHelper.DownloadEpisodeCached?,
|
||||
val currentOngoingDownloads: Int,
|
||||
val totalDownloads: Int,
|
||||
): VisualDownloadCachedAbstract(currentBytes, totalBytes, data)
|
||||
|
||||
data class DownloadClickEvent(
|
||||
|
|
|
@ -12,11 +12,11 @@ object VideoDownloadHelper {
|
|||
@JsonProperty("poster") val poster: String?,
|
||||
@JsonProperty("episode") val episode: Int,
|
||||
@JsonProperty("season") val season: Int?,
|
||||
@JsonProperty("id") override val id: Int,
|
||||
@JsonProperty("parentId") val parentId: Int,
|
||||
@JsonProperty("rating") val rating: Int?,
|
||||
@JsonProperty("description") val description: String?,
|
||||
@JsonProperty("cacheTime") val cacheTime: Long,
|
||||
override val id: Int,
|
||||
): DownloadCachedAbstract(id)
|
||||
|
||||
data class DownloadHeaderCached(
|
||||
|
@ -25,8 +25,8 @@ object VideoDownloadHelper {
|
|||
@JsonProperty("type") val type: TvType,
|
||||
@JsonProperty("name") val name: String,
|
||||
@JsonProperty("poster") val poster: String?,
|
||||
@JsonProperty("id") override val id: Int,
|
||||
@JsonProperty("cacheTime") val cacheTime: Long,
|
||||
override val id: Int,
|
||||
): DownloadCachedAbstract(id)
|
||||
|
||||
data class ResumeWatching(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue