if( [[o_tc identifier] isEqualToString:@"1"] )
{
/* sanity check to prevent the NSString class from crashing */
- if( p_item->input.psz_name != NULL )
+ if( p_item->p_input->psz_name != NULL )
{
o_value = [NSString stringWithUTF8String:
- p_item->input.psz_name];
+ p_item->p_input->psz_name];
if( o_value == NULL )
o_value = [NSString stringWithCString:
- p_item->input.psz_name];
+ p_item->p_input->psz_name];
}
}
else if( [[o_tc identifier] isEqualToString:@"2"] && p_item->p_input->p_meta &&
else
{
if( playlist_IsEmpty( p_playlist ) )
- {
[o_status_field setStringValue: _NS("No items in the playlist")];
- }
else
- {
[o_status_field setStringValue: _NS("1 item in the playlist")];
- }
}
vlc_object_release( p_playlist );
}