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

Can't upload a mp3 File! Homey 2.0 IOS #12

Closed
Sillec123 opened this issue Jan 4, 2019 · 10 comments
Closed

Can't upload a mp3 File! Homey 2.0 IOS #12

Sillec123 opened this issue Jan 4, 2019 · 10 comments

Comments

@Sillec123
Copy link

My files are:
-Mono
-22khz
Size 12 KB

Please give us more information about the supported files!

@robertklep
Copy link

robertklep commented Jan 12, 2019

@WeeJeWel getExtByType doesn't check for audio/mpeg.

@Sillec123
Copy link
Author

What does it mean?

@robertklep
Copy link

It means I found the reason why you can't upload MP3 files from iOS, and am suggesting how to fix it.

@Sillec123
Copy link
Author

The issue is independent of the os. Android app version with emulator got the same problem.

@robertklep
Copy link

Yes, the issue is with the app running on Homey, not with a specific OS.

@Sillec123
Copy link
Author

But wav is also not working!!!

@WeeJeWel
Copy link
Contributor

Can you guys attach the files that don't upload here? I can then fix the issue much easier.

@robertklep
Copy link

@WeeJeWel I can't, I was posting on behalf of someone else, but after they changed line 141 to:

if ( type === 'audio/mp3' || type === 'audio/mpeg' )

it worked.

@Sillec123
Copy link
Author

Yes, i tried different file types and frequencies.
Archiv.zip

@WeeJeWel
Copy link
Contributor

Fixed in v2.0.4, now in beta!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants