[Android] Ml: update playlist types

Duncan McNamara git at videolan.org
Fri Nov 18 12:29:46 UTC 2022


vlc-android | branch: master | Duncan McNamara <dcn.mcnamara at gmail.com> | Wed Nov 16 18:10:46 2022 +0100| [065e2920ae0acdf42d0bc1d09b63a0722d696844] | committer: Nicolas Pomepuy

Ml: update playlist types

This is to integrate playlist types that aren't only video
 or audio tracks.

> https://code.videolan.org/videolan/vlc-android/commit/065e2920ae0acdf42d0bc1d09b63a0722d696844
---

 .../src/org/videolan/medialibrary/interfaces/media/Playlist.java  | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/medialibrary/src/org/videolan/medialibrary/interfaces/media/Playlist.java b/medialibrary/src/org/videolan/medialibrary/interfaces/media/Playlist.java
index 40e3f90bbd..5db7210128 100644
--- a/medialibrary/src/org/videolan/medialibrary/interfaces/media/Playlist.java
+++ b/medialibrary/src/org/videolan/medialibrary/interfaces/media/Playlist.java
@@ -30,9 +30,13 @@ public abstract class Playlist extends MediaLibraryItem {
     public enum Type {
         /// Include all kind of playlist, regarding of the media types
         All,
-        /// Only include audio playlists
+        /// Include playlists containing at least one audio track
+        Audio,
+        /// Include playlists containing at least one video or one unknown track
+        Video,
+        /// Include playlists containing audio tracks only
         AudioOnly,
-        /// Only include video playlist
+        /// Include playlists containing video tracks only
         VideoOnly
     }
 



More information about the Android mailing list