mirror of
https://github.com/recloudstream/cloudstream-extensions-multilingual.git
synced 2024-08-15 03:15:14 +00:00
[Bug] Fix wrong season number for TV series (#85)
* [Bug] Fix wrong season number for TV series
This commit is contained in:
parent
f456a7cc92
commit
55b4086082
2 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
||||||
// use an integer for version numbers
|
// use an integer for version numbers
|
||||||
version = 2
|
version = 3
|
||||||
|
|
||||||
|
|
||||||
cloudstream {
|
cloudstream {
|
||||||
|
|
|
@ -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]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue