From 571d07e99bc0051ad51e1f5947a0ad28eefb557f Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 30 Sep 2013 03:26:00 +0000 Subject: player: support seeking based on embedded cuesheet (FLAC) This adds the ability to seek internally within FLAC file based on the internal CUE sheet. Other formats may be supported in the future, but FLAC is the only one I know of which supports embedded cue sheets. Note: flac 1.3.0 is recommended for users of non-CDDA-compatible formats. See updates to dtas-player_protocol(7) for details. --- lib/dtas/player.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/dtas/player.rb') diff --git a/lib/dtas/player.rb b/lib/dtas/player.rb index 7567dfc..efefcbf 100644 --- a/lib/dtas/player.rb +++ b/lib/dtas/player.rb @@ -206,6 +206,8 @@ class DTAS::Player # :nodoc: io.emit("OK") when "rg" rg_handler(io, msg) + when "cue" + cue_handler(io, msg) when "skip" skip_handler(io, msg) when "sink" -- cgit v1.2.3-24-ge0c7