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

node-ytdl called from bash prompt is not returning (hanging) #167

Closed
timbly5000 opened this issue Nov 30, 2020 · 1 comment
Closed

node-ytdl called from bash prompt is not returning (hanging) #167

timbly5000 opened this issue Nov 30, 2020 · 1 comment
Labels

Comments

@timbly5000
Copy link

I have ytdl 1.3.5 with ytdl-core 3.2.0 installed at home on a Linux Mint 19.2 machine and everything works correctly from the bash command line. ytdl was installed using sudo npm -g install ytdl

I have replicated the same install on a different machine (still Mint 19.2) and this time it has installed ytdl 1.4.0 with ytdl-core 4.1.1

When I run ytdl, it performs the required operation but never returns to the bash prompt. This is apparently a problem encountered by some node.js developers.

Has anyone else experienced this?

I have started debugging ytdl with the built-in node debugger but has not got far yet - the debugger seems to think that ytdl has exited! I have experimented with process.exit() calls within ytdl amd am starting to think the problem is in ytdl-core.

@fent fent added the bug label Dec 1, 2020
@fent fent closed this as completed in f566915 Dec 1, 2020
@fent
Copy link
Owner

fent commented Dec 1, 2020

ytdl-core uses an internal cache to make less requests. the whole cache needs to be refactored to be more flexible. but this'll do for now.

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

No branches or pull requests

2 participants