mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-31 00:11:59 +02:00
Trim playlist from whitespaces
This commit is contained in:
@@ -110,7 +110,7 @@ class ClapperPlayer extends GstPlayer.Player
|
|||||||
let line;
|
let line;
|
||||||
|
|
||||||
while((line = stream.read_line(null)[0])) {
|
while((line = stream.read_line(null)[0])) {
|
||||||
line = String(line);
|
line = String(line).trim();
|
||||||
debug(`new playlist item: ${line}`);
|
debug(`new playlist item: ${line}`);
|
||||||
playlist.push(line);
|
playlist.push(line);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user