No need to reinvent the wheel. From the console, use xdg-open to play audio files. Leave the configuration to the desktop environment.
On Thursday, March 21, 2013 12:42:52 AM UTC+1, leif wrote: > > Well, you could of course extend show()'s capabilities (and probably > make play() just an alias), but I think different "players" should be > configurable, e.g. launching RhythmBox for audio files and some movie > player for videos, instead of (trying to) play them with a web browser, > say. > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en. For more options, visit https://groups.google.com/groups/opt_out.