Commit f60496a6 authored by Timo Paulssen's avatar Timo Paulssen Committed by Rémi Denis-Courmont

fix cdda playlists for CDs that have more than 9 titles.

Signed-off-by: default avatarRémi Denis-Courmont <rdenis@simphalempin.com>
parent f6081e57
...@@ -432,7 +432,7 @@ static int GetTracks( access_t *p_access, input_item_t *p_current ) ...@@ -432,7 +432,7 @@ static int GetTracks( access_t *p_access, input_item_t *p_current )
psz_last = NULL; psz_last = NULL;
/* Define a "default name" */ /* Define a "default name" */
if( asprintf( &psz_name, _("Audio CD - Track %i"), (i+1) ) == -1 ) if( asprintf( &psz_name, _("Audio CD - Track %02i"), (i+1) ) == -1 )
psz_name = NULL; psz_name = NULL;
/* Create playlist items */ /* Create playlist items */
......
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