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

execute command after download finished #62

Open
Lytexx opened this issue Nov 10, 2021 · 4 comments
Open

execute command after download finished #62

Lytexx opened this issue Nov 10, 2021 · 4 comments

Comments

@Lytexx
Copy link

Lytexx commented Nov 10, 2021

like the --exec option from yt-dlp with a %(filepath)s format key, I would personally use it to automatically post my recordings but there a probably a lot of use cases for this

@TheTechRobo
Copy link

can't you just use command && othercommand?

@Kethsar
Copy link
Owner

Kethsar commented Nov 10, 2021

Yeah I can consider a callback.
@TheTechRobo a callback allows the user to think less about where the file was placed, what it got named to, etc. It can also allow me to give more info to what is being executed by creating environment variables the callback can check.

@harupong
Copy link

+1 for this.

It would be great if executing command when download starts is possible as well. I'm currently looping ytarchive --wait -r 60 with bash script, and I'd like to be notified when the downloading of a stream has started.

@CanOfSocks
Copy link

+1 for --exec
Would love to use the --monitor-channel option and start my auto-move script in the single command

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

5 participants