diff options
Diffstat (limited to 'src/play.js')
-rwxr-xr-x | src/play.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/play.js b/src/play.js index 8f52e63..c754836 100755 --- a/src/play.js +++ b/src/play.js @@ -302,7 +302,10 @@ async function main(args) { const pathString = util.nextArg() const group = filterPlaylistByPathString(sourcePlaylist, pathString) - activePlaylist.items.push(group) + + if (group) { + activePlaylist.items.push(group) + } }, 'k': util => util.alias('-keep'), |