Trim playlist from whitespaces

This commit is contained in:
Rafostar
2020-09-13 11:23:55 +02:00
parent 059ee932fe
commit 1860114b7c

View File

@@ -110,7 +110,7 @@ class ClapperPlayer extends GstPlayer.Player
let line;
while((line = stream.read_line(null)[0])) {
line = String(line);
line = String(line).trim();
debug(`new playlist item: ${line}`);
playlist.push(line);
}