summaryrefslogtreecommitdiff
path: root/apps/wps-display.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/wps-display.c')
-rw-r--r--apps/wps-display.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/wps-display.c b/apps/wps-display.c
index 59fda08cac..88bfa73687 100644
--- a/apps/wps-display.c
+++ b/apps/wps-display.c
@@ -318,6 +318,10 @@ static char* get_tag(struct mp3entry* id3,
318 snprintf(buf, buf_size, "%d", id3->index + 1); 318 snprintf(buf, buf_size, "%d", id3->index + 1);
319 return buf; 319 return buf;
320 320
321 case 'n': /* Playlist Name (without path) */
322 playlist_name(buf, buf_size);
323 return buf;
324
321 case 'e': /* Playlist Total Entries */ 325 case 'e': /* Playlist Total Entries */
322 snprintf(buf, buf_size, "%d", playlist_amount()); 326 snprintf(buf, buf_size, "%d", playlist_amount());
323 return buf; 327 return buf;