afb634ee by Lee Whitaker

Strip carriage returns when parsing manifest lines.

1 parent 58952618
......@@ -117,6 +117,10 @@
return;
}
//strip off any carriage returns here so the regex matching
//doesn't have to account for them.
line = line.replace('\r','');
// Tags
match = /^#EXTM3U/.exec(line);
if (match) {
......