[Android] Load playlist after media library has been initialized
Robert Stone
git at videolan.org
Wed Oct 21 09:02:41 CEST 2020
vlc-android | branch: 3.3.x | Robert Stone <rhstone at gmail.com> | Wed Oct 14 23:22:40 2020 -0700| [519a4870a3df08dff8a56ab8ee65e8df6fa268df] | committer: Nicolas Pomepuy
Load playlist after media library has been initialized
Fixes #1511
(cherry picked from commit bbeda92ceb95609514f78e890bebf3aafbd5c059)
> https://code.videolan.org/videolan/vlc-android/commit/519a4870a3df08dff8a56ab8ee65e8df6fa268df
---
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