Skip to content
Snippets Groups Projects
Commit 7e09a784 authored by Habib Kazemi's avatar Habib Kazemi Committed by Nicolas Pomepuy
Browse files

Update progress when jumping to a time

Fixes #1596

(cherry picked from commit d470708c)
parent c3651862
No related branches found
No related tags found
1 merge request!8843.3.x
......@@ -37,7 +37,9 @@ class JumpToTimeDialog : PickTimeFragment() {
val hours = if (hours != "") java.lang.Long.parseLong(hours) * HOURS_IN_MICROS else 0L
val minutes = if (minutes != "") java.lang.Long.parseLong(minutes) * MINUTES_IN_MICROS else 0L
val seconds = if (seconds != "") java.lang.Long.parseLong(seconds) * SECONDS_IN_MICROS else 0L
playbackService.time = (hours + minutes + seconds) / 1000L //Time in ms
val newTime = (hours + minutes + seconds) / 1000L //Time in ms
playbackService.time = newTime
playbackService.playlistManager.player.updateProgress(newTime)
dismiss()
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment