[EMAIL PROTECTED] (Joel J. Adamson) writes: > Howdy Emmsers, > > I wrote the following script to access .pls playlists from Firefox: > > ,----~/.emacs.d/play-url.sh > | #! /bin/sh > | emacsclient -e "(emms-play-url \"$1\")" || audacious $1 > `---- > > This works fine from the command-line, but when I try to open links in > Firefox using "Open with..." I get the wrong playlist in Emms and > nothing plays. > > Has anyone else accomplished this already? The critical thing is that > in those insanely rare times when I"m not running Emacs, I'd like > audacious to open the link. Hi Joel! Thats work for me:
1) Add to your ~/.mailcap:(create it if you have not, but i am sure you have one) ;) ,---- | audio/x-scpls ; emms-bin.sh %s `---- 2) that the script i run: I call it emms-bin.sh, so modify the mailcap entry ,---- | #!/bin/bash | emacsclient -e "(emms-play-pls-playlist \"$1\")" `---- 3) Click on link in firefox and set the path to your script -- A + Thierry Pub key: http://pgp.mit.edu _______________________________________________ Emms-help mailing list [email protected] http://lists.gnu.org/mailman/listinfo/emms-help
