(*(playlist_item_t **)second)->p_input->psz_name );
}
}
+ else if( sort_mode == SORT_URI )
+ {
+ char *psz_i = input_item_GetURI( (*(playlist_item_t **)first)->p_input );
+ char *psz_ismall =
+ input_item_GetURI( (*(playlist_item_t **)second)->p_input );
+ i_test = strcasecmp( psz_i, psz_ismall );
+ free( psz_i );
+ free( psz_ismall );
+ }
- if ( sort_type == ORDER_REVERSE )
+ if ( sort_type == ORDER_REVERSE )
i_test = i_test * -1;
#undef DO_META_SORT
#undef DO_META_SORT_ADV