[Android] Fix null media on playback
Nicolas Pomepuy
git at videolan.org
Tue Nov 30 06:26:37 UTC 2021
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Mon Nov 29 15:46:44 2021 +0100| [f804363db0eed0c629840e3a3990e1316d067dce] | 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
> https://code.videolan.org/videolan/vlc-android/commit/f804363db0eed0c629840e3a3990e1316d067dce
---
.../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/f804363db0eed0c629840e3a3990e1316d067dce
More information about the Android
mailing list