Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions app/src/main/java/com/lagradost/cloudstream3/utils/AniSkip.kt
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,8 @@ object EpisodeSkip {
val start = it.startMs ?: return@let null
val end = it.endMs ?: return@let null
SkipStamp(
type = SkipType.Credits,
skipToNextEpisode = hasNextEpisode &&
shouldSkipToNextEpisode(end, episodeDurationMs),
type = SkipType.Ending,
skipToNextEpisode = hasNextEpisode,
startMs = start,
endMs = end
)
Expand Down Expand Up @@ -227,4 +226,4 @@ object IntroDbSkip {
@JsonProperty("submission_count") val submissionCount: Int?,
@JsonProperty("updated_at") val updatedAt: String?,
)
}
}