Commit 0e8a3e8a authored by Benjamin Pracht's avatar Benjamin Pracht

Fix playlist item search (was broken by the "general" node remove comit)

parent b5611b04
...@@ -852,7 +852,7 @@ belongs to an Apple hidden private API, and then can "disapear" at any time*/ ...@@ -852,7 +852,7 @@ belongs to an Apple hidden private API, and then can "disapear" at any time*/
o_current_name = [NSString stringWithUTF8String: o_current_name = [NSString stringWithUTF8String:
p_item->pp_children[i_current]->input.psz_name]; p_item->pp_children[i_current]->input.psz_name];
psz_temp = vlc_input_item_GetInfo( &p_item->input , psz_temp = vlc_input_item_GetInfo( &p_item->input ,
_("Meta-information"),_("Artist") ); _("Meta-information"),_("Artist") );
o_current_author = [NSString stringWithUTF8String: psz_temp]; o_current_author = [NSString stringWithUTF8String: psz_temp];
free( psz_temp); free( psz_temp);
vlc_mutex_unlock( &p_playlist->object_lock ); vlc_mutex_unlock( &p_playlist->object_lock );
...@@ -925,7 +925,7 @@ belongs to an Apple hidden private API, and then can "disapear" at any time*/ ...@@ -925,7 +925,7 @@ belongs to an Apple hidden private API, and then can "disapear" at any time*/
} }
if( o_result != NULL ) if( o_result != NULL )
{ {
for( i = 0 ; i < [o_result count] - 1 ; i++ ) for( i = 1 ; i < [o_result count] - 1 ; i++ )
{ {
[o_outline_view expandItem: [o_outline_dict objectForKey: [o_outline_view expandItem: [o_outline_dict objectForKey:
[NSString stringWithFormat: @"%p", [NSString stringWithFormat: @"%p",
......
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