From 9ae11e954d52343a048af8bcdab80bf38ee9b5d5 Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Mon, 15 Mar 2010 21:04:17 +0100 Subject: fixed handling of playlist switching in several places --- playlist.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'playlist.h') diff --git a/playlist.h b/playlist.h index d92050ac..37bd17b6 100644 --- a/playlist.h +++ b/playlist.h @@ -23,7 +23,7 @@ typedef struct metaInfo_s { const char *key; - char *value; + const char *value; struct metaInfo_s *next; } metaInfo_t; @@ -115,6 +115,9 @@ plt_set_curr (int plt); int plt_get_curr (void); +int +plt_get_idx_of (playlist_t *plt); + int plt_get_title (int plt, char *buffer, int bufsize); -- cgit v1.2.3