aboutsummaryrefslogtreecommitdiff
path: root/web/script/player/player.ts
diff options
context:
space:
mode:
Diffstat (limited to 'web/script/player/player.ts')
-rw-r--r--web/script/player/player.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/script/player/player.ts b/web/script/player/player.ts
index 2991d27..5f70418 100644
--- a/web/script/player/player.ts
+++ b/web/script/player/player.ts
@@ -149,7 +149,7 @@ export class Player {
track.abort.abort()
} else if (state && active_index == -1) {
this.logger?.log(`Enabled track ${index}: ${display_track(this.tracks![index])}`)
- this.active_tracks.value.push(create_track(this, this.base_url, 0, index, this.tracks![index])!)
+ this.active_tracks.value.push(create_track(this, this.base_url, index, this.tracks![index])!)
if (update) await this.update()
}
this.active_tracks.change()