aboutsummaryrefslogtreecommitdiff
path: root/web/script/player/player.ts
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-10-09 15:15:45 +0200
committermetamuffin <metamuffin@disroot.org>2025-10-09 15:15:45 +0200
commitd9aa1005b589ae5eae93f00b25852166226bb9fd (patch)
tree5c70c7720af4b511a92d05e8f9d3bdb852482afc /web/script/player/player.ts
parentf7e3841426ed4661ede6ccfff9c306141735d465 (diff)
downloadjellything-d9aa1005b589ae5eae93f00b25852166226bb9fd.tar
jellything-d9aa1005b589ae5eae93f00b25852166226bb9fd.tar.bz2
jellything-d9aa1005b589ae5eae93f00b25852166226bb9fd.tar.zst
remove multisegment support from jsp
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()