mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 16:02:00 +02:00
Trim playlist from whitespaces
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user