getTotalEpisodeIndex

open override fun getTotalEpisodeIndex(episode: Int, season: Int): Int(source)

Count all episodes in all previous seasons up until this episode to get a total count. Example: Season 1: 10 episodes. Season 2: 6 episodes.

getTotalEpisodeIndex(episode = 3, season = 2) -> 10 + 3 = 13