afb634ee by Lee Whitaker

Strip carriage returns when parsing manifest lines.

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