From 0be1d266748d5d392ee946ffcb53a6344a72497d Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Thu, 12 Sep 2002 07:51:49 +0000 Subject: Only handle # comments in file based playlists git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2264 a1c6a512-1295-4272-9138-f99709370657 --- apps/playlist.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'apps') diff --git a/apps/playlist.c b/apps/playlist.c index 68cf3b9e3d..8121b3b85a 100644 --- a/apps/playlist.c +++ b/apps/playlist.c @@ -336,11 +336,12 @@ void add_indices_to_playlist(void) { store_index = 1; } - else if((*p == '#') && store_index) + else if(!playlist.in_ram && (*p == '#') && store_index) { /* If the first character on a new line is a hash sign, we treat it as a comment. So called winamp - style playlist. */ + style playlist. + This applies only to playlist files, of course */ store_index = 0; } else if(store_index) -- cgit v1.2.3