[Bug] Fix wrong season number for TV series
This commit is contained in:
parent
f456a7cc92
commit
826944492e
|
@ -96,8 +96,8 @@ class PinoyMoviesHub : MainAPI() {
|
|||
}?.let { divEpSeason ->
|
||||
if (divEpSeason.isNotEmpty()) {
|
||||
if (divEpSeason.size > 1) {
|
||||
epCount = divEpSeason[0]
|
||||
seasCount = divEpSeason[1]
|
||||
epCount = divEpSeason[1]
|
||||
seasCount = divEpSeason[0]
|
||||
} else {
|
||||
epCount = divEpSeason[0]
|
||||
}
|
||||
|
@ -361,4 +361,4 @@ class PinoyMoviesHub : MainAPI() {
|
|||
@JsonProperty("type") val type: String?,
|
||||
@JsonProperty("file") val file: String?
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue