]> git.sesse.net Git - vlc/blobdiff - modules/misc/lua/libs/playlist.c
playlist: allow non-recursive search
[vlc] / modules / misc / lua / libs / playlist.c
index b376ba51548ed36099c6850582473db3dd109346..f7d9d107f47cbefbd3e8497d0d51c95ff467c52e 100644 (file)
@@ -265,7 +265,7 @@ static int vlclua_playlist_search( lua_State *L )
     playlist_t *p_playlist = vlclua_get_playlist_internal( L );
     const char *psz_string = luaL_optstring( L, 1, "" );
     PL_LOCK;
-    playlist_LiveSearchUpdate( p_playlist, p_playlist->p_root, psz_string );
+    playlist_LiveSearchUpdate( p_playlist, p_playlist->p_root, psz_string, true );
     PL_UNLOCK;
     push_playlist_item( L, p_playlist->p_root );
     return 1;