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

/add with output possible? #373

Open
sasukebinbin opened this issue Jan 9, 2024 · 3 comments
Open

/add with output possible? #373

sasukebinbin opened this issue Jan 9, 2024 · 3 comments

Comments

@sasukebinbin
Copy link

Thanks for creating such a great project.

I can use https://metube.domain.com/add to submit the request.

But would like to know is it possible to pass parameter like Output template to set the file name.

Actually what I want is just Restricted file name which available in yt-dl. Eg. fixed the file name

Thanks

@PikuZheng
Copy link
Contributor

yes... you can post custom_name_prefix and it will insert before filename.

but I'm guessing you need to specify a filename directly? it needs a little sourcecode modification

@sasukebinbin
Copy link
Author

yes... you can post custom_name_prefix and it will insert before filename.

but I'm guessing you need to specify a filename directly? it needs a little sourcecode modification
.Yes Because I use google api to perform search songs then download as mp3. So I want to set the file as my search keywords.mp3. Not adding prefix. And the length for the default title of the video is too long.

@PikuZheng
Copy link
Contributor

but set OUTPUT_TEMPLATE to .%(ext)s at the same time?

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

2 participants