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

Cannot download audio #66

Open
PoroFever opened this issue Nov 24, 2024 · 2 comments
Open

Cannot download audio #66

PoroFever opened this issue Nov 24, 2024 · 2 comments

Comments

@PoroFever
Copy link

PoroFever commented Nov 24, 2024

First of all, in the last update/pull, /chat/downloadvideo is not showing in the API reference page.

Anyway, I tried downloading audio providing:

-Url
-MediaKey
-MimeType: "audio/ogg; codecs=opus"
-FileSHA256 WsyMzCzkID 8wvzRQCE0urXA/6BolFbQS6gM=
-FileEncSHA256 yU 3NZuuKsU0FF6/dtVnBjJETSpoWoZLEyc=
-AudioLength 4139
-DirectPath

in api.md (github) it says that I need to provide everything listed above except FileEndSHA256 and DirectPath, but in the example FileEncSHA256 is provided so I did too.
DirectPath isn't mentioned but I read somewhere in other issue reports that someone mentioned it was required.

Anyway, Whenever I pull FileSHA256 and FileEncSHA256 from webhook, it has empty spaces in between, and even a forward slash (not sure if unusual) but I think thats making it fail.

Whats going on? help me :c

image

I only censored some letters and numbers, just in case, but its clearly showing empty space and forward slash.

@lordacer0
Copy link

I have the same problem, I reported it in the issue #50 so far with no news. I use the file that comes with the http request to solve it but it would be much better to be able to use this feature. Greetings.

@PoroFever
Copy link
Author

Download works if I don't provide FileSHA256, Fileencsha256, mediakey... I mean I only send Url, mimetype, directpath and filelength.

As response, I get a base64 encoded string... Which is audio/ogg codecs=opus type... Which I cannot forward through send audio... It sends as a "empty" audio... (0 seconds audio which won't play)

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