mtime_t i_duration; /**< Duration in milliseconds*/
uint8_t i_type; /**< Type (file, disc, ...) */
- bool b_prefers_tree; /**< Do we prefer being displayed as tree*/
int i_categories; /**< Number of info categories */
info_category_t **pp_categories; /**< Pointer to the first info category */
p_input->psz_uri = NULL;
p_input->i_type = i_type;
- p_input->b_prefers_tree = false;
if( p_input->i_type == ITEM_TYPE_UNKNOWN )
GuessType( p_input );
int i;
if( p_node->p_parent == p_playlist->p_root_category )
{
- if( p_playlist->b_always_tree ||
- p_node->p_input->b_prefers_tree ) return p_node;
+ if( p_playlist->b_always_tree )
+ return p_node;
for( i = 0 ; i< p_playlist->p_root_onelevel->i_children; i++ )
{
if( p_playlist->p_root_onelevel->pp_children[i]->p_input->i_id ==
}
else if( p_node->p_parent == p_playlist->p_root_onelevel )
{
- if( p_playlist->b_never_tree || !p_node->p_input->b_prefers_tree )
+ if( p_playlist->b_never_tree )
return p_node;
for( i = 0 ; i< p_playlist->p_root_category->i_children; i++ )
{