mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
feat(Trakt): Skip specials season for next airing (#1181)
This commit is contained in:
parent
699a6979a5
commit
9b1ac5fc28
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ open class TraktProvider : MainAPI() {
|
||||||
description = episode.overview,
|
description = episode.overview,
|
||||||
).apply {
|
).apply {
|
||||||
this.addDate(episode.firstAired, "yyyy-MM-dd'T'HH:mm:ss.SSSXXX")
|
this.addDate(episode.firstAired, "yyyy-MM-dd'T'HH:mm:ss.SSSXXX")
|
||||||
if (nextAir == null && this.date != null && this.date!! > unixTimeMS) {
|
if (nextAir == null && this.date != null && this.date!! > unixTimeMS && this.season != 0) {
|
||||||
nextAir = NextAiring(
|
nextAir = NextAiring(
|
||||||
episode = this.episode!!,
|
episode = this.episode!!,
|
||||||
unixTime = this.date!!.div(1000L),
|
unixTime = this.date!!.div(1000L),
|
||||||
|
|
Loading…
Reference in a new issue