-
-
Notifications
You must be signed in to change notification settings - Fork 98
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
Can't download extracted audio as mp3 #152
Comments
Can you please try this template |
That just made a folder called NA and the files inside when downloaded were
.webm
…On Mon, May 20, 2024, 2:45 AM Marco Piovanello ***@***.***> wrote:
Can you please try this template -o
'%(playlist_title)s/%(title)s.%(ext)s' --extract-audio --audio-format mp3?
—
Reply to this email directly, view it on GitHub
<#152 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABL5LB4QYQ7HMUA6VBLYMCLZDGLX7AVCNFSM6AAAAABH6Y5F36VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJZG44DCMRWGY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Works for me with template |
This works for me to produce an mp3 with the metadata/ID3 tag populated in most circumstances..
|
same, no matter I changed to audio or not, it always using |
@marcopeocchi the problem is here func (p *Process) GetFileName(o *DownloadOutput) error {
cmd := exec.Command(
config.Instance().DownloaderPath,
"--print", "filename",
"-o", fmt.Sprintf("%s/%s", o.Path, o.Filename),
p.Url,
)
cmd.SysProcAttr = &syscall.SysProcAttr{Setpgid: true}
out, err := cmd.Output()
if err != nil {
return err
}
p.Output.SavedFilePath = strings.Trim(string(out), "\n")
return nil
} even I added audio format argument |
It's indeed the |
I have forked with a solution that extacting the final output from progress log, you can check if it's suitable to you 😀 |
Thank you so much! Seems pretty solid! |
I've tried about all i can think to do. tried different arguments. always results in .opus
The text was updated successfully, but these errors were encountered: