Closed aimok04 closed 1 month ago
Hi @dertasiu 👋 This feature is also implemented now. You'll need to include "video" somewhere in the file name if you want to use it (e.g. "video_step_one.mp4") because the Tandoor api does not disclose the file type before download.
The feature will be available in version v1.0.0-alpha.9.
Amazing! I will be updating all my recipes and get back to you!. Thank you!!
It works very well!
I just changed the names with this SQL query to concat "video_" to the name of every .mp4 file in the database.
UPDATE cookbook_userfile SET name = concat('video_', name) WHERE file LIKE '%mp4';
It's a bummer that tandoor doesn't expose the extension of the file or the MIME type in the API, but this solution is more than enough.
Thank you very much!
Originally posted by @dertasiu in https://github.com/aimok04/kitshn/issues/14
split issue because implementing video is more difficult