changeset 12689:050c90536ddd

Support for comments in plaintext playlist by adland
author alex
date Sat, 26 Jun 2004 13:07:04 +0000
parents 494d8a2a29d0
children bc34137bb0b0
files playtreeparser.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/playtreeparser.c	Sat Jun 26 12:47:00 2004 +0000
+++ b/playtreeparser.c	Sat Jun 26 13:07:04 2004 +0000
@@ -555,7 +555,7 @@
 
   while((line = play_tree_parser_get_line(p)) != NULL) {
     strstrip(line);
-    if(line[0] == '\0')
+    if(line[0] == '\0' || line[0] == '#' || (line[0] == '/' && line[1] == '/'))
       continue;
 
     //Special check for embedded smil or ram reference in file