Ticket #6 (closed enhancement: fixed)

Opened 8 years ago

Last modified 7 years ago

Add support for new commands in mpd.

Reported by: bens Owned by: joachifm
Priority: major Milestone: beta
Component: libmpd Version: 0.4
Keywords: Cc:

Description (last modified by bens) (diff)

mpd 0.14 added the "idle" command and added an optional position argument to "addid". mpd 0.15 added sticker commands, "consume", and "single". Added optional range arguments to "playlistinfo" and "move" commands.


Change History

Changed 8 years ago by bens

  • description modified (diff)

Changed 8 years ago by bens

When #7 gets done, these new commands should take the version into account and not send unknown commands to an old server.

Changed 8 years ago by joachifm

  • owner changed from bens to joachifm
  • status changed from new to assigned

New commands and ranged playlist positions are available in the mpd-0.15 branch of git://github.com/joachifm/libmpd-haskell.git

I think it would be better to split out a legacy branch that would remain compatible with 0.13.0 instead of having the library deal with multiple versions of the protocol at runtime. It might work out in trivial cases, but it seems to me that it's possibly too much of a hassle to do it for everything.

Changed 7 years ago by joachifm

  • status changed from assigned to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.