Skip to content
Snippets Groups Projects
Commit 148d3e54 authored by Nicolas Pomepuy's avatar Nicolas Pomepuy
Browse files

Fix progress saving for videos

parent 42f716e7
Branches iOS-2.7
No related tags found
1 merge request!844Fix progress saving for videos
Pipeline #45562 passed with stage
in 2 minutes and 21 seconds
......@@ -455,8 +455,10 @@ class PlaylistManager(val service: PlaybackService) : MediaWrapperList.EventList
media.setLongMeta(MediaWrapper.META_PROGRESS, media.time)
//todo verify that this info is persisted in DB
if (media.length <= 0 && length > 0) media.length = length
medialibrary.setProgress(media.id, progress)
}
media.setStringMeta(MediaWrapper.META_SPEED, rate.toString())
}
}
......
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