small fix for multi request

This commit is contained in:
reduplicated 2022-11-05 00:40:31 +01:00
parent c10ec34ab8
commit 9e67e856a0

View file

@ -166,7 +166,8 @@ class GeneratorPlayer : FullScreenPlayer() {
isActive = true isActive = true
setPlayerDimen(null) setPlayerDimen(null)
setTitle() setTitle()
hasRequestedStamps = false if (!sameEpisode)
hasRequestedStamps = false
loadExtractorJob(link.first) loadExtractorJob(link.first)
// load player // load player
@ -186,7 +187,8 @@ class GeneratorPlayer : FullScreenPlayer() {
), ),
) )
} }
player.addTimeStamps(listOf()) // clear stamps if (!sameEpisode)
player.addTimeStamps(listOf()) // clear stamps
} }
private fun sortLinks(useQualitySettings: Boolean = true): List<Pair<ExtractorLink?, ExtractorUri?>> { private fun sortLinks(useQualitySettings: Boolean = true): List<Pair<ExtractorLink?, ExtractorUri?>> {