From 3c3084aab308685f03a0546f9e46d143106283a6 Mon Sep 17 00:00:00 2001 From: Florrie Date: Sat, 2 Sep 2017 12:33:41 -0300 Subject: Because adding an explanation totally makes it alright --- src/loop-play.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/loop-play.js') diff --git a/src/loop-play.js b/src/loop-play.js index f3cff7c..4cccb35 100644 --- a/src/loop-play.js +++ b/src/loop-play.js @@ -398,6 +398,10 @@ class PlayController extends EventEmitter { ) // A little bit blecht, but.. this works. + // "When a track fails, remove it from the timeline, and start + // downloading whatever track fills its place." + // Only problem is if a track before the current timeline index fails, + // maybe? (Since then the timelineIndex value might be messed up?) const tl = this.historyController.timeline const index = tl.indexOf(picked) tl.splice(index, 1) -- cgit 1.3.0-6-gf8a5