everything related to duct tape audio suite (dtas)
 help / color / mirror / code / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [PATCH] player: fix queue skipping on player errors
  @ 2015-01-28 10:02  7% ` Eric Wong
  0 siblings, 0 replies; 1+ results
From: Eric Wong @ 2015-01-28 10:02 UTC (permalink / raw)
  To: dtas-all

Oops, introduced in the previous commit:
commit 37eae22446feb5a805d9cd59f6ad54362829189f
(player: support the "trim" parameter)
---
 lib/dtas/player.rb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/dtas/player.rb b/lib/dtas/player.rb
index 2920dcd..ea04dca 100644
--- a/lib/dtas/player.rb
+++ b/lib/dtas/player.rb
@@ -378,8 +378,9 @@ class DTAS::Player # :nodoc:
 
     # keep going down the list until we find something
     while source_spec = @queue.shift
+      path, off = source_spec
       @sources.each do |src|
-        rv = src.try(file, offset, @trim) and return rv
+        rv = src.try(path, off, @trim) and return rv
       end
     end
 
-- 
EW


^ permalink raw reply related	[relevance 7%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2015-01-28  7:48     [PATCH] player: support the "trim" parameter Eric Wong
2015-01-28 10:02  7% ` [PATCH] player: fix queue skipping on player errors Eric Wong

Code repositories for project(s) associated with this public inbox

	https://80x24.org/dtas.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).