-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
Mp3 files get converted to Mpga #371
Comments
I think its actually the mime package itself that causes the mismatch, so perhaps its worth refining the approach here. I'm not exactly sure how the original commenter of that issue resolved it. |
This is an attempt to rectify jbolda#371 This fix ensures that the file extension does not get changed when we pull from airtable.
Is the filename extension actually changed when it downloads or is it how gatsby processes and considers it? |
I think its how gatsby processes it and here was my ad-hoc fix
it seems to change only when its used in conjunction with the mime type package, nothing from Gatbsy or Airtable suggests that theres a transformation going on before that. Once there is a mismatch Gatsby completely forgets about the new mpga (I guess because it does not exist) |
I logged this issue here https://community.airtable.com/t/why-are-my-mp3-files-being-converted-to-mpga-when-downloaded-through-the-api/44200 thinking that it was a bug within Airtable itself, however now it seems as if this is caused by gatsby-source-airtable. I added a log point here
gatsby-source-airtable/gatsby-node.js
Line 307 in e85ea3c
The text was updated successfully, but these errors were encountered: