Page 1 of 1

Wifi Transfer Plugin - File Extension Change Error

Posted: 2023-04-30, 08:17 UTC
by carstenengelke
Hi, thanks for this very useful plugin, I use it very frequently and think this qr code exchange mechanism is seminal. However, when I download music files with rather unfamiliar type (e.g. .m4a extension) they appear as .m4a files in the list, the url links to an .m4a file, but the file extension when downloading changes to .mp3 . This needs to be renamed manually afterwards. Maybe some error in the http response code in the app?Image: https://i.ibb.co/WffSjkC/screen.jpg

Re: Wifi Transfer Plugin - File Extension Change Error

Posted: 2023-05-01, 08:08 UTC
by ghisler(Author)
This seems to be caused by your browser. Android seems to use audio/mpeg as the MIME type of .m4a files, and the browser then assumes it's an mp3 files and renames the file by itself. Maybe I can try to override the mime type in the server.

Can you tell me which browser you are using?