[Top][All Lists]

[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
  --8<---------------cut here---------------start------------->8---
   mplayer -ao null -vo null -cache 200 -endpos 0 
  --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.



Attachment: 0002-mplayer-options-to-get-the-now-playing-track-name-fr.patch
Description: Text Data

Attachment: 0003-mplayer-option-to-parse-webradio-playlists.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]