diff options
author | Eric Wong <e@80x24.org> | 2016-01-25 11:52:43 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-01-25 11:54:16 +0000 |
commit | 64247079b9ae4ec58e801658ba62c2a64fee1e72 (patch) | |
tree | 5e5399e10c33e01bea8f03ff8dbd5a2643b7cf39 /bin/dtas-console | |
parent | 6c06185c7267567fe1237737342d3d8059d4bfc3 (diff) | |
download | dtas-64247079b9ae4ec58e801658ba62c2a64fee1e72.tar.gz |
When activated, this boolean deletes a song from the tracklist after it is played.
Diffstat (limited to 'bin/dtas-console')
-rwxr-xr-x | bin/dtas-console | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/dtas-console b/bin/dtas-console index 1494bfb..4199583 100755 --- a/bin/dtas-console +++ b/bin/dtas-console @@ -200,7 +200,7 @@ begin cur_vol = rg['volume'] || 1.0 extra = [ "volume=#{cur_vol}" ] tl = cur['tracklist'] || {} - %w(repeat shuffle).each { |x| extra << "#{x}=#{tl[x] || 'false'}" } + %w(repeat shuffle consume).each { |x| extra << "#{x}=#{tl[x] || 'false'}" } trim = cur['trim'] || 'off' extra << "trim=#{trim}" Curses.addstr(extra.join(' ')) |