diff --git a/clapper_src/player.js b/clapper_src/player.js index 63747fb1..d6198c38 100644 --- a/clapper_src/player.js +++ b/clapper_src/player.js @@ -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); }