Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC-Android
Manage
Activity
Members
Labels
Plan
Issues
536
Issue boards
Milestones
Wiki
Code
Merge requests
19
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC-Android
Commits
148d3e54
Commit
148d3e54
authored
4 years ago
by
Nicolas Pomepuy
Browse files
Options
Downloads
Patches
Plain Diff
Fix progress saving for videos
parent
42f716e7
Branches
iOS-2.7
No related tags found
1 merge request
!844
Fix progress saving for videos
Pipeline
#45562
passed with stage
in 2 minutes and 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
application/vlc-android/src/org/videolan/vlc/media/PlaylistManager.kt
+2
-0
2 additions, 0 deletions
...vlc-android/src/org/videolan/vlc/media/PlaylistManager.kt
with
2 additions
and
0 deletions
application/vlc-android/src/org/videolan/vlc/media/PlaylistManager.kt
+
2
−
0
View file @
148d3e54
...
...
@@ -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
())
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment