[YAFW] Capitalized extensions are not seen as correct file type
NormCopeland opened this issue · comments
Extension
https://www.raycast.com/pablopunk/yafw
Description
I took a screen recording on my iPhone which I air dropped to my Macbook. The file had the extension .MP4
(all caps). The extension said that it was not a valid video file type despite .mp4
being in the list of suggested types.
In Finder I changed .MP4
to .mp4
and re-ran the extension. It worked as expected at this point.
Steps To Reproduce
- Create (or rename) an mp4 with the extension
.MP4
(all caps). - Select the file in Finder and trigger the extension in Raycast.
- The extension will throw an error saying that the file type is not supported.
- Change the file extension to
.mp4
(lowercase). - Trigger the extension again. This time it will work and compress the video as expected.
Current Behaviour
Does not recognize .MP4
files as valid.
Expected Behaviour
I would expect that the extension would take into account whether the file extension is lower or upper case.
Thank you for opening this issue!
🔔 @pablopunk you might want to have a look.
💡 Author and Contributors commands
The author and contributors of pablopunk/yafw
can trigger bot actions by commenting:
@raycastbot close this issue
Closes the issue.@raycastbot rename this issue to "Awesome new title"
Renames the issue.@raycastbot reopen this issue
Reopens the issue.@raycastbot assign me
Assigns yourself to the issue.@raycastbot good first issue
Adds the "Good first issue" label to the issue.