You may download ZOMG here.
You may view the revision log at hg.debian.org.
zomghelper will be released sometime laterish.
Get yourself an account (username and password) at either Last.fm or Libre.fm or both. The first time you run zomg, it will prompt you for them. If you screw this up or need to change them, edit ~/.zomg/conf or remove it and start over.
Simply run the script with the filenames of the .ogg (vorbis), .mp3, or .flac files you wish to play. If you want them to be shuffled, use the -z option. If you want to provide directories instead of filenames, use the -t option.
ZOMG will submit each track to Last.fm until it fails to receive an OK response, after which it will cache the Audioscrobbler data. On the next invocation of zomg, it will attempt to flush the cache.
Since 0.5.12, you need wget for everything.
For Ogg Vorbis, you need vorbis-tools (ogg123 and ogginfo).
For MP3, you need mpg123 and python-mutagen or eyeD3.
For lastfm:// URLs, you need wget and mplayer or mpg123.