Kodi Community Forum

Full Version: CEdl::ReadEdl question
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am just curious...is there anyway to verify that the file is actually an EDL file in this function...it seems that any format errors that it encounters it just ignores and continues to process the file. Maybe something like a max errors before it finally quits and determines that the file is not an EDL file may be beneficial or even a file size limit.

Extreme example of a possible situation...copy a movie file in one of your movie directories and change the extension to .EDL. Play that movie in XBMC... congratulations you just blew up XBMC (and possibly any free space you have on the C drive as the XBMC log will be huge)