Skip to content
Snippets Groups Projects
Commit c4d1100d authored by Nicolas Pomepuy's avatar Nicolas Pomepuy Committed by Geoffrey Métais
Browse files

Fix network media resume

(cherry picked from commit 0c91e0b7)
parent 26cc6def
No related branches found
No related tags found
No related merge requests found
Pipeline #6114 passed with stage
in 3 minutes and 51 seconds
......@@ -625,7 +625,7 @@ class PlaylistManager(val service: PlaybackService) : MediaWrapperList.EventList
0L
}
savedTime <= 0L -> when {
mw.time >= 0L -> mw.time
mw.time > 0L -> mw.time
mw.type == MediaWrapper.TYPE_VIDEO || mw.isPodcast -> withContext(Dispatchers.IO) { medialibrary.findMedia(mw).getMetaLong(MediaWrapper.META_PROGRESS) }
else -> 0L
}
......
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