http://www.perlmonks.org?node_id=839122


in reply to [OT] Update data file on accessing sound file

You could serve the sound file through a CGI script (e.g. "http://myserver/cgi-bin/getfile.pl?file=sound.mp3") and have the script increment some persistent counter every time it serves the file.