For some reason, file --dereference --brief --mime-type "${FILE_PATH}" doesn't show .blend file mimetypes, or the mimetypes of any 3d model file. came across this while messing around with my VRChat avatar.
output for file --dereference --mime-type ${my avatar folder}:
after installing the perl-file-mimeinfo package on my distro, as per this forum post, you get a command that outputs better mimetype info in this use case.
output from mimetype ${my avatar folder}:
i'm not sure if the project should really do anything about this, but i thought i should mention it. file --mime-type might have better alternatives, if you want to move forward with those in the preview script instead.
i know i could do something about this on my end, but it is worth considering what the default preview script supports.
For some reason,
file --dereference --brief --mime-type "${FILE_PATH}"
doesn't show .blend file mimetypes, or the mimetypes of any 3d model file. came across this while messing around with my VRChat avatar.output for
file --dereference --mime-type ${my avatar folder}
:after installing the
perl-file-mimeinfo
package on my distro, as per this forum post, you get a command that outputs better mimetype info in this use case. output frommimetype ${my avatar folder}
:i'm not sure if the project should really do anything about this, but i thought i should mention it.
file --mime-type
might have better alternatives, if you want to move forward with those in the preview script instead.i know i could do something about this on my end, but it is worth considering what the default preview script supports.