[Android] Add audio resume preference
Duncan McNamara
git at videolan.org
Tue Sep 10 12:36:20 UTC 2024
vlc-android | branch: master | Duncan McNamara <dcn.mcnamara at gmail.com> | Thu Jul 4 18:07:33 2024 +0200| [85e35ce0b3f8777b1073e41f274c2a8a637f7a51] | committer: Nicolas Pomepuy
Add audio resume preference
Long audio samples are considered audiobooks, and their progress is
saved, though some classical music files are also long and will keep
their progress even though music should not.
For this, an audio resume setting is added to force resume, start from
start, or ask which.
> https://code.videolan.org/videolan/vlc-android/commit/85e35ce0b3f8777b1073e41f274c2a8a637f7a51
---
.../resources/src/main/res/values/strings.xml | 1 +
.../src/main/java/org/videolan/tools/Settings.kt | 1 +
.../vlc-android/res/xml/preferences_audio.xml | 9 +++
.../vlc/gui/AudioPlayerContainerActivity.kt | 83 ++++++++++++++++++++++
.../videolan/vlc/gui/video/VideoPlayerActivity.kt | 6 +-
.../src/org/videolan/vlc/media/PlaylistManager.kt | 38 +++++++---
6 files changed, 124 insertions(+), 14 deletions(-)
Diff: https://code.videolan.org/videolan/vlc-android/commit/85e35ce0b3f8777b1073e41f274c2a8a637f7a51
More information about the Android
mailing list