about summary refs log tree commit homepage
path: root/bin/dtas-tl
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-12-13 13:01:06 +0000
committerEric Wong <e@80x24.org>2015-12-13 13:01:06 +0000
commit15fc2b737ea5fe7e4c8b21eb6395721ba9522ab4 (patch)
tree609c265935f12483c1b6afd4d605bc15921b61f3 /bin/dtas-tl
parentfc00838faa4480a03e8a33fedc80c4648817bb93 (diff)
downloaddtas-15fc2b737ea5fe7e4c8b21eb6395721ba9522ab4.tar.gz
It is orders of magnitude more efficient to implement this
in the player and very noticeable when using large playlists.
Diffstat (limited to 'bin/dtas-tl')
-rwxr-xr-xbin/dtas-tl4
1 files changed, 0 insertions, 4 deletions
diff --git a/bin/dtas-tl b/bin/dtas-tl
index 5fde3f0..3d1d946 100755
--- a/bin/dtas-tl
+++ b/bin/dtas-tl
@@ -24,10 +24,6 @@ when "cat"
     res.sub!(/\A1 /, '')
     print "#{res}\n"
   end
-when "clear"
-  get_track_ids(c).each do |track_id|
-    print("#{track_id} " << c.req("tl remove #{track_id}") << "\n")
-  end
 when "addhead"
   ARGV.shift
   ARGV.reverse.each do |path|