mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
Fix
This commit is contained in:
parent
aba5ea9a44
commit
452bdf68ed
2 changed files with 6 additions and 6 deletions
|
@ -91,12 +91,12 @@ class DownloadViewModel : ViewModel() {
|
||||||
getFolderName(it.id.toString(), it.id.toString())
|
getFolderName(it.id.toString(), it.id.toString())
|
||||||
)
|
)
|
||||||
VisualDownloadHeaderCached(
|
VisualDownloadHeaderCached(
|
||||||
0,
|
|
||||||
downloads,
|
|
||||||
bytes,
|
|
||||||
currentBytes,
|
currentBytes,
|
||||||
|
bytes,
|
||||||
it,
|
it,
|
||||||
movieEpisode
|
movieEpisode,
|
||||||
|
0,
|
||||||
|
downloads
|
||||||
)
|
)
|
||||||
}.sortedBy {
|
}.sortedBy {
|
||||||
(it.child?.episode ?: 0) + (it.child?.season?.times(10000) ?: 0)
|
(it.child?.episode ?: 0) + (it.child?.season?.times(10000) ?: 0)
|
||||||
|
|
|
@ -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?,
|
||||||
|
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("cacheTime") val cacheTime: Long,
|
|
||||||
override val id: Int,
|
override val id: Int,
|
||||||
|
@JsonProperty("cacheTime") val cacheTime: Long,
|
||||||
): DownloadCachedAbstract(id)
|
): DownloadCachedAbstract(id)
|
||||||
|
|
||||||
data class ResumeWatching(
|
data class ResumeWatching(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue