Commit 0c91e0b7 authored by Nicolas Pomepuy's avatar Nicolas Pomepuy

Fix network media resume

parent ef76292a
......@@ -613,7 +613,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
}
......
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