ed2k://|file|filename|size|ed2khash|/
Currently, the filename-part is ignored entirely when adding a file. It could, however, be useful when it comes to the various extensions a file can have by displaying a warning if the extension in the filename doesn't match the one chosen in the dropdown.
That warning could be at the same place as those for "same size" and "file has no ed2k-hash".
Of course, this feature would be needed even more for mass-add...
When adding files, take file-extensions into account [DONE]
Moderator: AniDB
Better yet: Have the script auto-detect the extension. Add a new "auto-detect" option to the extension select box, make that option be selected by default and parse the filename to find the extension. If no valid extension is found, deny the add request and return the form again, including a warning message. If the user selects an extension instead of leaving it at auto-detect, and the chosen extension is different from the one in the filename, accept the request but display a warning.