From 826944492ed5fc4967e74ba95596182f0b0b3f43 Mon Sep 17 00:00:00 2001 From: Jace <54625750+Jacekun@users.noreply.github.com> Date: Wed, 8 Feb 2023 10:57:08 +0800 Subject: [PATCH] [Bug] Fix wrong season number for TV series --- .../src/main/kotlin/com/lagradost/PinoyMoviesHub.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PinoyMoviesHub/src/main/kotlin/com/lagradost/PinoyMoviesHub.kt b/PinoyMoviesHub/src/main/kotlin/com/lagradost/PinoyMoviesHub.kt index c390167..b3b179d 100644 --- a/PinoyMoviesHub/src/main/kotlin/com/lagradost/PinoyMoviesHub.kt +++ b/PinoyMoviesHub/src/main/kotlin/com/lagradost/PinoyMoviesHub.kt @@ -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? ) -} \ No newline at end of file +}