I wrote a python script that does the hash inserting.
For people who might like it also and don't mind some extra bytes overhead for a slightly longer file name, it's attached.
The script inserts ".eD2k-" plus the first 9 hash chars before tha last occurence of a "." in the files name (e.g. "test-movie.avi" will be renamed to "test-movie.eD2k-123456789.avi"). If there is no "." in files name, hash will be added ("test-movie" -> "test-movie.eD2k-123456789")
To get it work, there must be python installed. (check "which python")
Rename insert-ed2k-hash.txt to insert-ed2k-hash.py
And in the command execution option in the files preferences (currently only available in CVS)there should stand something like
sh -c '~/bin/insert-ed2k-hash.py "%FILE" %HASH'
to get it done automatically for every downloaded file (thanks for adding the command execution option to aMule).
I have used the script now for some weeks and I am very happy with it, because before I burn a CD image I want to check fast, if it's the originally downloaded, uncorrupted file, by hashing it and comparing the result with the first hash chars contained in the files name.
Hope You devs don't cut my head off now
