about summary refs log tree commit homepage
path: root/lib/dtas/player.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-09-30 03:26:00 +0000
committerEric Wong <normalperson@yhbt.net>2013-09-30 03:38:39 +0000
commit571d07e99bc0051ad51e1f5947a0ad28eefb557f (patch)
tree60fd5e17a10c884ded34c41e6748e493b5ed0311 /lib/dtas/player.rb
parent1a0a4247b8031ec85536f547d2a66fa031586723 (diff)
downloaddtas-571d07e99bc0051ad51e1f5947a0ad28eefb557f.tar.gz
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.
Diffstat (limited to 'lib/dtas/player.rb')
-rw-r--r--lib/dtas/player.rb2
1 files changed, 2 insertions, 0 deletions
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"