Commit ba274b8b authored by Ilkka Ollakka's avatar Ilkka Ollakka

when sorting playlist with artist, sort also album under artist and tracknumber on album

I think this is good default atleast on music.
parent c45048df
......@@ -187,6 +187,11 @@ static int playlist_cmp(const void *first, const void *second)
else if( sort_mode == SORT_ARTIST )
{
DO_META_SORT( Artist );
/* sort by artist, album, tracknumber */
if( i_test == 0 )
DO_META_SORT( Album );
if( i_test == 0 )
DO_META_SORT_ADV( TrackNumber, VLC_TRUE );
}
else if( sort_mode == SORT_GENRE )
{
......
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