Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--audio flag detected as boolean instead of string #10

Open
alexpado opened this issue Mar 16, 2021 · 0 comments
Open

--audio flag detected as boolean instead of string #10

alexpado opened this issue Mar 16, 2021 · 0 comments

Comments

@alexpado
Copy link
Contributor

Using --audio for me isn't working.

node decode.js --verbose --input input --audio mp3
node decode.js --verbose --input input --audio flac
node decode.js --verbose --input input --audio flacandmp3

With every command above, args['--audio'] is null.

Adding a breakpoint in the "filter" function at decode.js:26, --audio is passed as boolean, ignoring the real value.

When enforcing the --audio flag as mp3, everything is working as intended.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant