Commit 64a409c9 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Revert "use MetaMatch in search instead compare to possible NULL value"

This reverts commit 2b7a8683.

This breaks all playlist searching for me.
parent 50bbf456
......@@ -171,7 +171,7 @@ static bool playlist_LiveSearchUpdateInternal( playlist_item_t *p_root,
}
else
{
if( input_item_MetaMatch( p_item->p_input, vlc_meta_Title, psz_string ) ||
if( strcasestr( p_item->p_input->psz_name, psz_string ) || /* Soon to be replaced by vlc_meta_Title */
input_item_MetaMatch( p_item->p_input, vlc_meta_Album, psz_string ) ||
input_item_MetaMatch( p_item->p_input, vlc_meta_Artist, psz_string ) )
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment