mafintosh/playback

Validate file format

ppeczek opened this issue · 5 comments

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!

screenshot from 2016-06-14 12 50 30
screenshot from 2016-06-14 12 57 34

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
#114 (comment),
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