diff --git a/src/filescanner_m3u.c b/src/filescanner_m3u.c index 0031cfb4..dfaa5e2b 100644 --- a/src/filescanner_m3u.c +++ b/src/filescanner_m3u.c @@ -137,7 +137,7 @@ scan_m3u_playlist(char *file, time_t mtime) continue; } - if ((buf[0] == ';') || (buf[0] == '#') || (buf[0] == '\n')) + if ((!isalnum(buf[0])) || (buf[0] == ';') || (buf[0] == '#') || (buf[0] == '\n')) continue; while (isspace(buf[len - 1]))