Open ppeczek opened 8 years ago
That's a good idea. Is it something you would want to try to do @ppeczek?
Yes, but let's talk about it. My idea is quite naive: textfile with list of supported extensions, splitting filename by ".", checking if extension is supported 14 cze 2016 13:01 "Tobias Baunbæk" notifications@github.com napisał(a):
That's a good idea. Is it something you would want to try to do @ppeczek https://github.com/ppeczek?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mafintosh/playback/issues/114#issuecomment-225848519, or mute the thread https://github.com/notifications/unsubscribe/ACy8fuwQBTjCDbEaRAgXVopUiVa4DvVzks5qLooOgaJpZM4I1Mwi .
a module that does this would be cool (if it doesn't already exist)
Ok then, give me few hours and I will take care of this matter.
https://github.com/electron/electron/blob/master/docs/api/dialog.md I found it but just for dialog. It has nothing to do with validation. I've already written part of code for extensions. I have to do sanitizer and we're home
Right now, you can load any kind of files: documents, images etc. Playback then doesn't display them and stops at black frame. This behaviour looks like playback was suspended. Really needs file format validation!