]> git.sesse.net Git - vlc/blobdiff - bindings/java/core/src/main/java/org/videolan/jvlc/MediaListPlayer.java
new failing test for medialistplayer_next
[vlc] / bindings / java / core / src / main / java / org / videolan / jvlc / MediaListPlayer.java
index e9a720eb9213cbd93529e36e660cbea8b858a026..091e0f11df38753a34d0c732ae159826d6efe6ec 100644 (file)
@@ -55,6 +55,10 @@ public class MediaListPlayer
         return jvlc.getLibvlc().libvlc_media_list_player_is_playing(instance, exception) == 1;
     }
 
+    
+    /**
+     * 
+     */
     public void play()
     {
         libvlc_exception_t exception = new libvlc_exception_t();
@@ -83,6 +87,12 @@ public class MediaListPlayer
         libvlc_exception_t exception = new libvlc_exception_t();
         jvlc.getLibvlc().libvlc_media_list_player_pause(instance, exception);
     }
+    
+    public void next()
+    {
+        libvlc_exception_t exception = new libvlc_exception_t();
+        jvlc.getLibvlc().libvlc_media_list_player_next(instance, exception);
+    }
 
     /**
      * Plays the given descriptor and returns only when the player has started to play.