Suggestion: Download filter

Started by Wally, May 20, 2013, 12:32:25

Previous topic - Next topic


I don't know how are the underlying mod files organized, so maybe what I'm proposing is not possible. I suppose something like this has arisen before, but didn't find anything in this topic.

Amiga has mod extension before file name while PC and others usually have mod extension after the file name. Would it be possible to code/modify a download filter which lets choose the placement of the extension before/after the file name? (I guess the answer is no if files are gzipped and not compressed on the fly).


This doesn't bother me that much anymore, but a good file renamer takes care of this after I download a few, so that helps... :)


This is an old topic, but, to make it short, the extension stuff is an Amiga legacy, where extension (if any) came first.
I know it's not really useful in today's systems, but ... see, Exotica still does it :)
Anyway, this is not likely to change any time soon, unfortunately. Far too much work to achieve that.


A good renamer is ReNamer from this website.

Easy to use and very quick :)


I quickly got very fed up with AMP's weird naming scheme and use of GZip compression (which is not impossible but definitely irksome to unpack on RISC OS).  The issue was compounded by NetSurf not converting %hex entities in URLs to proper characters, which affected most module names (any with a space in, for a start).

After downloading my first few modules, I wrote an entire helper program to claim the GZip filetype when I double-click on it.  This automatically decompresses any such file using a port of gzip that I found.  If it detects that the file is located beneath my AMP downloads directory, it calculates a correct, unmangled filename for the decompressed output - this consists of substituting the correct non-alphanumeric characters wherever possible, removing the "/gz" extension and removing the Amiga pre-extension (prepen-sion?).  It also attempts to set the filetype to an appropriate tracker format based on the prefix (RO doesn't do filename extensions).  Finally, after decompression, it deletes the original zipped file.

I still haven't figured out how to get VLC on Linux to play with them nicely.  I strongly suspect a similar rigamarole is in order.