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)
|
): VisualDownloadCachedAbstract(currentBytes, totalBytes, data)
|
||||||
|
|
||||||
data class VisualDownloadHeaderCached(
|
data class VisualDownloadHeaderCached(
|
||||||
val currentOngoingDownloads: Int,
|
|
||||||
val totalDownloads: Int,
|
|
||||||
override val totalBytes: Long,
|
override val totalBytes: Long,
|
||||||
override val currentBytes: Long,
|
override val currentBytes: Long,
|
||||||
override val data: VideoDownloadHelper.DownloadHeaderCached,
|
override val data: VideoDownloadHelper.DownloadHeaderCached,
|
||||||
val child: VideoDownloadHelper.DownloadEpisodeCached?,
|
val child: VideoDownloadHelper.DownloadEpisodeCached?,
|
||||||
|
val currentOngoingDownloads: Int,
|
||||||
|
val totalDownloads: Int,
|
||||||
): VisualDownloadCachedAbstract(currentBytes, totalBytes, data)
|
): VisualDownloadCachedAbstract(currentBytes, totalBytes, data)
|
||||||
|
|
||||||
data class DownloadClickEvent(
|
data class DownloadClickEvent(
|
||||||
|
|
|
@ -12,11 +12,11 @@ object VideoDownloadHelper {
|
||||||
@JsonProperty("poster") val poster: String?,
|
@JsonProperty("poster") val poster: String?,
|
||||||
@JsonProperty("episode") val episode: Int,
|
@JsonProperty("episode") val episode: Int,
|
||||||
@JsonProperty("season") val season: Int?,
|
@JsonProperty("season") val season: Int?,
|
||||||
@JsonProperty("id") override val id: Int,
|
|
||||||
@JsonProperty("parentId") val parentId: Int,
|
@JsonProperty("parentId") val parentId: Int,
|
||||||
@JsonProperty("rating") val rating: Int?,
|
@JsonProperty("rating") val rating: Int?,
|
||||||
@JsonProperty("description") val description: String?,
|
@JsonProperty("description") val description: String?,
|
||||||
@JsonProperty("cacheTime") val cacheTime: Long,
|
@JsonProperty("cacheTime") val cacheTime: Long,
|
||||||
|
override val id: Int,
|
||||||
): DownloadCachedAbstract(id)
|
): DownloadCachedAbstract(id)
|
||||||
|
|
||||||
data class DownloadHeaderCached(
|
data class DownloadHeaderCached(
|
||||||
|
@ -25,8 +25,8 @@ object VideoDownloadHelper {
|
||||||
@JsonProperty("type") val type: TvType,
|
@JsonProperty("type") val type: TvType,
|
||||||
@JsonProperty("name") val name: String,
|
@JsonProperty("name") val name: String,
|
||||||
@JsonProperty("poster") val poster: String?,
|
@JsonProperty("poster") val poster: String?,
|
||||||
@JsonProperty("id") override val id: Int,
|
|
||||||
@JsonProperty("cacheTime") val cacheTime: Long,
|
@JsonProperty("cacheTime") val cacheTime: Long,
|
||||||
|
override val id: Int,
|
||||||
): DownloadCachedAbstract(id)
|
): DownloadCachedAbstract(id)
|
||||||
|
|
||||||
data class ResumeWatching(
|
data class ResumeWatching(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue