This commit is contained in:
Luna712 2024-06-19 10:57:50 -06:00 committed by GitHub
parent d4631bc838
commit 431a7e543f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View file

@ -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(

View file

@ -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(