how to set afplay as default media player for wma files in mac OS
You can only associate file types to GUI apps. You should be able to make an Automator app that is a wrapper for the afplay command, and that will have minimal "overhead".