From f9d3d1cd91d67b9692a44fa6408dca5758336e6d Mon Sep 17 00:00:00 2001 From: Robert Hak Date: Tue, 15 Oct 2002 11:49:15 +0000 Subject: added %pn (playlist name) to wps git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2651 a1c6a512-1295-4272-9138-f99709370657 --- apps/wps-display.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/wps-display.c') 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, snprintf(buf, buf_size, "%d", id3->index + 1); return buf; + case 'n': /* Playlist Name (without path) */ + playlist_name(buf, buf_size); + return buf; + case 'e': /* Playlist Total Entries */ snprintf(buf, buf_size, "%d", playlist_amount()); return buf; -- cgit v1.2.3