[Android] Fix null media on playback
Nicolas Pomepuy
git at videolan.org
Tue Nov 30 06:28:32 UTC 2021
vlc-android | branch: 3.4.x | Nicolas Pomepuy <nicolas at videolabs.io> | Mon Nov 29 15:46:44 2021 +0100| [57a6134717be96c36c2468d06c73b7826e754c46] | committer: Nicolas Pomepuy
Fix null media on playback
It was caused by listing media at playback time
with includeMissing set to true while there was
missing media on unmounted storages
(cherry picked from commit f804363db0eed0c629840e3a3990e1316d067dce)
> https://code.videolan.org/videolan/vlc-android/commit/57a6134717be96c36c2468d06c73b7826e754c46
---
.../main/java/org/videolan/television/ui/TvUtil.kt | 4 +-
.../src/org/videolan/vlc/PlaybackService.kt | 45 ++++++++++------------
.../src/org/videolan/vlc/media/MediaUtils.kt | 16 ++++----
.../vlc/providers/medialibrary/AlbumsProvider.kt | 22 +++++------
.../vlc/providers/medialibrary/ArtistsProvider.kt | 8 ++--
.../vlc/providers/medialibrary/FoldersProvider.kt | 8 ++--
.../vlc/providers/medialibrary/GenresProvider.kt | 8 ++--
.../providers/medialibrary/MedialibraryProvider.kt | 8 ++--
.../providers/medialibrary/PlaylistsProvider.kt | 8 ++--
.../vlc/providers/medialibrary/TracksProvider.kt | 24 ++++++------
.../providers/medialibrary/VideoGroupsProvider.kt | 8 ++--
.../vlc/providers/medialibrary/VideosProvider.kt | 22 +++++------
12 files changed, 88 insertions(+), 93 deletions(-)
Diff: https://code.videolan.org/videolan/vlc-android/commit/57a6134717be96c36c2468d06c73b7826e754c46
More information about the Android
mailing list