[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [emms-help] emms-stream-info-bookmark doesn't get any results
From: |
Julien Cubizolles |
Subject: |
Re: [emms-help] emms-stream-info-bookmark doesn't get any results |
Date: |
Sat, 15 Oct 2016 00:18:06 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
The attached patch take care of:
* adding some mplayer options to get the now playing song name
* adding the -playlist option in case the webradio has the streamlist type
I'm not a programmer, so there is certainly room for improvement but
it's basically doing its job.
Two minor things to note though:
* mplayer advises against using the -playlist option for security
reasons, I guess it shouldn't be used by default and emms should use
an option allowing the user to decide whether to use it or not.
* The mplayer output for some webradios has two different ICY fields
(see
--8<---------------cut here---------------start------------->8---
mplayer -ao null -vo null -cache 200 -endpos 0
http://ouifm5.ice.infomaniak.ch/ouifm2.aac
--8<---------------cut here---------------end--------------->8---
for instance)
the first one being empty. emms-stream-info-call-backend unfortunately
picks up the first (empty one). Some modifications should be made so
that it picks the non empty one.
Regards,
Julien.
0002-mplayer-options-to-get-the-now-playing-track-name-fr.patch
Description: Text Data
0003-mplayer-option-to-parse-webradio-playlists.patch
Description: Text Data
- [emms-help] emms-stream-info-bookmark doesn't get any results, Julien Cubizolles, 2016/10/12
- Re: [emms-help] emms-stream-info-bookmark doesn't get any results, Yoni Rabkin, 2016/10/12
- Re: [emms-help] emms-stream-info-bookmark doesn't get any results, Julien Cubizolles, 2016/10/13
- Re: [emms-help] emms-stream-info-bookmark doesn't get any results, Yoni Rabkin, 2016/10/13
- Re: [emms-help] emms-stream-info-bookmark doesn't get any results, Julien Cubizolles, 2016/10/14
- Re: [emms-help] emms-stream-info-bookmark doesn't get any results,
Julien Cubizolles <=
- Re: [emms-help] emms-stream-info-bookmark doesn't get any results, Alex Kost, 2016/10/21
- Re: [emms-help] emms-stream-info-bookmark doesn't get any results, Yoni Rabkin, 2016/10/21
- Re: [emms-help] emms-stream-info-bookmark doesn't get any results, Julien Cubizolles, 2016/10/30
- Re: [emms-help] emms-stream-info-bookmark doesn't get any results, Alex Kost, 2016/10/21
- Re: [emms-help] emms-stream-info-bookmark doesn't get any results, Yoni Rabkin, 2016/10/21