Commit e93dc81b authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Remove length condition on start time setting

It is checking at saving time and it prevents resume at correct position
parent b3d04087
......@@ -564,8 +564,7 @@ class PlaylistManager(val service: PlaybackService) : MediaWrapperList.EventList
}
if (savedTime <= 0L) return
val mediaLength = mw.length
if (mediaLength > 0 && savedTime < 0.95 * mediaLength) media.addOption(":start-time=${savedTime/1000L}")
media.addOption(":start-time=${savedTime/1000L}")
savedTime = 0L
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment