diff options
-rwxr-xr-x | index.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/index.js b/index.js index 23d0449..102e75a 100755 --- a/index.js +++ b/index.js @@ -137,7 +137,9 @@ async function main() { const loadPlaylists = async () => { for (let i = 2; i < process.argv.length; i++) { - await appElement.handlePlaylistSource(process.argv[i], true) + if (!process.argv[i].startsWith('--')) { + await appElement.handlePlaylistSource(process.argv[i], true) + } } } |