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

Voice messages are not supported - shows error in the web page #51

Open
gitkps opened this issue Jan 3, 2025 · 5 comments
Open

Voice messages are not supported - shows error in the web page #51

gitkps opened this issue Jan 3, 2025 · 5 comments

Comments

@gitkps
Copy link

gitkps commented Jan 3, 2025

First of all, let me thank you for developing this excellent app for viewing WhatsApp exports. It does it so well and so quickly.
There is only one small feature missing. The voice messages (opus files) are not being supported.

Since your description said "In case you export a zip file with the option Attach Media, you will be able to see images, videos and audio files directly in the website. Try it out by downloading the example chat!", I downloaded your example file and checked. You have tested out using mp3 file. The voice messages are in OPUS format. Hence the issue.

Would be kind enough to address this issue?
Thanks

@gitkps
Copy link
Author

gitkps commented Jan 3, 2025

I am just curious. There have been so many forks. Has someone already found this issue and fixed it in that fork?

@gitkps gitkps closed this as completed Jan 3, 2025
@gitkps
Copy link
Author

gitkps commented Jan 3, 2025

Sorry, the closure was by accident.

@gitkps gitkps reopened this Jan 3, 2025
@Pustur
Copy link
Owner

Pustur commented Jan 3, 2025

@gitkps Have you checked #32? Maybe it's the same issue.

@gitkps
Copy link
Author

gitkps commented Jan 15, 2025

You are right. It is exactly the same issue.
Problem was in Safari browser of Mac, All fine in Chrome browser.

I had developed a similar app using VB6 some years ago. I was puzzled when it didn't work on this export from Mac. Then I found the WhatsApp export from Mac has a different format from that of Android and my parsing routine failed.
You must be detecting the type of export and accordingly parsing it.
My appreciation of your effort went up even more,

Incidentally, my app generates a simple html page in the directory in which the entire zip is extracted. Open the html and you have a similar result. If you like it, you may give a similar provision.

Great job.
Happy new year to you. Have a great year ahead.

@gitkps
Copy link
Author

gitkps commented Jan 15, 2025

I left the thread open just to enable you to post your comments on my thoughts,
You may close it with your remarks.

Thanks

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