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

Support for media extensions is hardcoded #22

Open
extorn opened this issue Feb 16, 2021 · 1 comment
Open

Support for media extensions is hardcoded #22

extorn opened this issue Feb 16, 2021 · 1 comment

Comments

@extorn
Copy link

extorn commented Feb 16, 2021

In the get.php (lines in the region 70 - 80) you have a switch statement based on file extension.
Would it be possible to add audio support here (for example for mp4 audio), or better yet, get the mime type using a standard library lookup.

@extorn
Copy link
Author

extorn commented Feb 18, 2021

I've added code to one of my pull requests that reads the mime type from the file.

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

1 participant