[Android] Load playlist after media library has been initialized
Robert Stone
git at videolan.org
Fri Oct 16 09:16:08 CEST 2020
vlc-android | branch: master | Robert Stone <rhstone at gmail.com> | Wed Oct 14 23:22:40 2020 -0700| [bbeda92ceb95609514f78e890bebf3aafbd5c059] | committer: Nicolas Pomepuy
Load playlist after media library has been initialized
Fixes #1511
> https://code.videolan.org/videolan/vlc-android/commit/bbeda92ceb95609514f78e890bebf3aafbd5c059
---
application/vlc-android/src/org/videolan/vlc/media/PlaylistManager.kt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/application/vlc-android/src/org/videolan/vlc/media/PlaylistManager.kt b/application/vlc-android/src/org/videolan/vlc/media/PlaylistManager.kt
index f5bd247e14..f3811572cd 100644
--- a/application/vlc-android/src/org/videolan/vlc/media/PlaylistManager.kt
+++ b/application/vlc-android/src/org/videolan/vlc/media/PlaylistManager.kt
@@ -145,7 +145,7 @@ class PlaylistManager(val service: PlaybackService) : MediaWrapperList.EventList
if (mlUpdate) {
service.awaitMedialibraryStarted()
mediaList.replaceWith(withContext(Dispatchers.IO) { mediaList.copy.updateWithMLMeta() })
- executeUpdate()
+ service.onMediaListChanged()
service.showNotification()
}
}
More information about the Android
mailing list