emms-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[emms-help] Re: Poll: Remove playablep method from players?


From: Michael Olson
Subject: [emms-help] Re: Poll: Remove playablep method from players?
Date: Sat, 08 Jul 2006 15:55:52 -0400
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

Jorgen Schaefer <address@hidden> writes:

> Idea:
>
>   We remove the `playablep' method from all players. The `start'
>   method then should do both of the jobs of `playablep' and
>   `start', by returning nil when it could not start a song, or t
>   when it could do so. Also, there'll be a new callback
>   `emms-player-failed' which will be called when the player
>   could not play the song, though it tried.

It would be very useful to have a player-failed callback, especially
for emms-player-mpd.  Also, having `start' perform both of these jobs
seems like the only way to make EMMS Do The Right Thing with players
that fail to play a track.

> This might complicate the implementation of players. Also, it will
> complicate emms.el since it has to store the not-yet-tried
> players.
>
> Opinions?

I am willing to extend emms-player-mpd.el to take advantage of this
new functionality.

-- 
Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/
Interests: Emacs Lisp, text markup, protocols -- Jabber: mwolson_at_hcoop.net
  /` |\ | | | IRC: freenode.net/mwolson: #emacs, #hcoop, #muse, #PurdueLUG
 |_] | \| |_| Projects: Emacs, Muse, ERC, EMMS, Planner, ErBot, DVC

Attachment: pgpVkgw91lRrO.pgp
Description: PGP signature


reply via email to

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