Commit 148d3e54 authored by Nicolas Pomepuy's avatar Nicolas Pomepuy
Browse files

Fix progress saving for videos

parent 42f716e7
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())
}
}
......
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