What would it take for someone to develop a feature whereby audio files uploaded (by users through uc_marketplace in my case ) would have a sample clip generated and put in the files table and directory as determined by the filefield settings. Then any player widget could be used to display the clip on the product page or elsewhere via CCK, views, etc.
Currently, the file is uploaded through CCK filefield, the file download feature is created, the file is moved out of the webroot then it is deleted from the files table for security. What I would like is for it not to be deleted, but be replaced with a sample.
I don't want the thing to be done just for me. A lot of people would like to see this - in fact, many talk about doing something similar, but details are elusive. But I don't want it to be manual through the store management because that would make it unusable with marketplace. Maybe it could be executed in conjunction with the file product feature? To make is less heavy, the function could only apply to certain product classes.
The point here is to develop a module or code to add to an existing module that can be used in most cases and be released to the community.
