delete item added in playlist control
authorFilippo Carone <littlejohn@videolan.org>
Wed, 19 Apr 2006 13:51:59 +0000 (13:51 +0000)
committerFilippo Carone <littlejohn@videolan.org>
Wed, 19 Apr 2006 13:51:59 +0000 (13:51 +0000)
src/control/playlist.c

index cb0bbf3..871c3cf 100644 (file)
@@ -135,6 +135,13 @@ int libvlc_playlist_add_extended( libvlc_instance_t *p_instance,
                             i_options );
 }
 
+int libvlc_playlist_delete_item( libvlc_instance_t *p_instance, int i_id,
+                                 libvlc_exception_t *p_exception )
+{
+    return playlist_Delete( p_instance->p_playlist, i_id );
+}
+
+
 int libvlc_playlist_isplaying( libvlc_instance_t *p_instance,
                                libvlc_exception_t *p_exception )
 {