Skip to content

Save media time every 20sec to prevent progress loss

Nicolas Pomepuy requested to merge Aza/vlc-android:improve_settime into master

Fixes #2410 (closed)

Note, this is working per se, but any media save (including setting a time) will trigger the CallBackDelegate::onMediaModified callback, forcing the refresh of any loaded viewmodel.

It can result in hundreds of SQL queries during a playback that is not wanted at all.

To prevent that, we should stop the refresh from happening and postpone it when the calling fragment is shown again.

Edited by Nicolas Pomepuy

Merge request reports

Loading