"John Peter Loh" <[EMAIL PROTECTED]> writes:

> Anyway, the script that I was planning was very simple. Just a bash
> script that will re-encode the file using sox then send it to xmms or
> audacious.

Re-encoding takes time, which is why I suggested writing your own GUI in
the first place, unless you have lots of time :D.

> A bit off-topic but is there a way to launch the default player for a
> certain filetype with bash? Even if it's just for Gnome.

mailcap(5) should be useful, for starters.  You could write a ~/.mailcap
defining which players should play which files, and write a script (say,
default-player) that reads ~/.mailcap to determine the right player.

Cheers,

Zakame


-- 
Zak B. Elep
[EMAIL PROTECTED]
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to