Discussion:
[emms-help] playing non playlist streams with mplayer
Jan Doms
2013-03-30 13:35:41 UTC
Permalink
Hello everyone,

I've just started using / trying out emms today, and wanted to use it to
listen to http://mp3.streampower.be/klaracontinuo-mid.mp3 by playing it
with emms-play-url. However in my setup that didn't work, while other live
streams gave no problems.
I noticed emms called mplayer with a -playlist flag, a quick test on the
commandline with mplayer showed me mplayer could play the stream if just
invoked with mplayer http://...; however when I added the -playlist flag it
didn't work.
A quick grep through the source shows it passes along the -playlist
argument in lisp/emms-player-mplayer.el#46. Apparently opening an url is
automatically interpreted by emms as a streamlist, while I expected it to
just be something of type url.
Anyway after some messing around I've made a small fix available on
https://github.com/domsj/emms . It might not be fixed entirely the way you
want it but it sure works for me.

Enjoy,

Jan
Yoni Rabkin
2013-03-30 17:47:46 UTC
Permalink
Post by Jan Doms
Hello everyone,
I've just started using / trying out emms today, and wanted to use it
to listen to http://mp3.streampower.be/klaracontinuo-mid.mp3 by
playing it with emms-play-url. However in my setup that didn't work,
while other live streams gave no problems.
I tried this on my emms setup without your patch:

M-x emms-play-url RET http://mp3.streampower.be/klaracontinuo-mid.mp3

..and it works fine for me.

I have emms setup to use just mplayer:

(setq emms-player-list '(emms-player-mplayer
emms-player-mplayer-playlist))

So I'm curious as to why emms doesn't do this as well on your
end. Something in your configuration perhaps? Also, which version of
emms are you using?
--
"Cut your own wood and it will warm you twice"
Jan Doms
2013-03-31 13:16:08 UTC
Permalink
Hey Yoni,

I have this in my init.el

(add-to-list 'load-path (expand-file-name "emms/lisp" user-emacs-directory))
(require 'emms-setup)
(emms-standard)
(emms-all)
(emms-default-players)

I was using the latest version available on github
(https://github.com/emacsmirror/emms ).

I retried it a couple of times, with different versions and also
switched over to the official git repo git://git.sv.gnu.org/emms.git
and somehow I got it working without any changes now.
Which is ofcourse a good thing, but it still makes me wonder what went
wrong at first. The different remote for the git repo surely shouldn't
make any difference...

Anyway, all seems to be working as it should now.
Thanks a lot for your quick response.

Jan
Post by Yoni Rabkin
Post by Jan Doms
Hello everyone,
I've just started using / trying out emms today, and wanted to use it
to listen to http://mp3.streampower.be/klaracontinuo-mid.mp3 by
playing it with emms-play-url. However in my setup that didn't work,
while other live streams gave no problems.
M-x emms-play-url RET http://mp3.streampower.be/klaracontinuo-mid.mp3
..and it works fine for me.
(setq emms-player-list '(emms-player-mplayer
emms-player-mplayer-playlist))
So I'm curious as to why emms doesn't do this as well on your
end. Something in your configuration perhaps? Also, which version of
emms are you using?
--
"Cut your own wood and it will warm you twice"
_______________________________________________
Emms-help mailing list
https://lists.gnu.org/mailman/listinfo/emms-help
William Xu
2013-04-01 11:58:37 UTC
Permalink
Post by Jan Doms
(add-to-list 'load-path (expand-file-name "emms/lisp" user-emacs-directory))
(require 'emms-setup)
(emms-standard)
(emms-all)
(emms-default-players)
emms-all already includes emms-standard.
--
William

http://xwl.appspot.com
Loading...