[Bug] Fix wrong season number for TV series

This commit is contained in:
Jace 2023-02-08 10:57:08 +08:00 committed by GitHub
parent f456a7cc92
commit 826944492e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -96,8 +96,8 @@ class PinoyMoviesHub : MainAPI() {
}?.let { divEpSeason -> }?.let { divEpSeason ->
if (divEpSeason.isNotEmpty()) { if (divEpSeason.isNotEmpty()) {
if (divEpSeason.size > 1) { if (divEpSeason.size > 1) {
epCount = divEpSeason[0] epCount = divEpSeason[1]
seasCount = divEpSeason[1] seasCount = divEpSeason[0]
} else { } else {
epCount = divEpSeason[0] epCount = divEpSeason[0]
} }