Commit 5cf3ca48 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: expose disc number in the extra info panel

parent 0ad88e13
......@@ -422,6 +422,15 @@ void ExtraMetaPanel::update( input_item_t *p_item )
return;
}
const char *psz_disc_number = vlc_meta_Get( p_meta, vlc_meta_DiscNumber);
if( psz_disc_number )
{
QStringList tempItem;
tempItem.append( VLC_META_DISCNUMBER );
tempItem.append( qfu( psz_disc_number ) );
items.append( new QTreeWidgetItem ( extraMetaTree, tempItem ) );
}
char ** ppsz_allkey = vlc_meta_CopyExtraNames( p_meta);
for( int i = 0; ppsz_allkey[i] ; i++ )
......
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