]> git.sesse.net Git - vlc/blobdiff - modules/control/http/macro.c
Fix playlist crasher and simplify a few things
[vlc] / modules / control / http / macro.c
index 34795bb65ccbec37b09245a661f96941ab730eeb..bab1964f4d5fdbfcdbe86acd280755a650b3e509 100644 (file)
@@ -195,7 +195,8 @@ void E_(MacroDo)( httpd_file_sys_t *p_args,
                         msg_Dbg( p_intf, "requested playlist play" );
                         break;
                     }
-                    playlist_Control( p_sys->p_playlist, PLAYLIST_ITEMPLAY,
+                    playlist_Control( p_sys->p_playlist, PLAYLIST_VIEWPLAY,
+                                      NULL,
                                       playlist_ItemGetById( p_sys->p_playlist,
                                       i_item ) );
                     msg_Dbg( p_intf, "requested playlist item: %i", i_item );