diff options
author | metamuffin <metamuffin@disroot.org> | 2024-01-29 11:09:43 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-01-29 11:09:43 +0100 |
commit | f4f3640b2af510ccfd31ec4509fb5b9ba5b3da15 (patch) | |
tree | 6e1b1a09a19734d94dd8cc85ed0ec50d51b6c1d0 /web/script/player/profiles.ts | |
parent | 789e8fab9ad3e839ca29d26445c0fae2b8cca120 (diff) | |
download | jellything-f4f3640b2af510ccfd31ec4509fb5b9ba5b3da15.tar jellything-f4f3640b2af510ccfd31ec4509fb5b9ba5b3da15.tar.bz2 jellything-f4f3640b2af510ccfd31ec4509fb5b9ba5b3da15.tar.zst |
player: idle inhibit
Diffstat (limited to 'web/script/player/profiles.ts')
-rw-r--r-- | web/script/player/profiles.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/script/player/profiles.ts b/web/script/player/profiles.ts index b23fbaf..021834c 100644 --- a/web/script/player/profiles.ts +++ b/web/script/player/profiles.ts @@ -25,8 +25,8 @@ export class ProfileSelector { ) { } async init() { - for (let id = 0; id < this.track.index.extra_profiles.length; id++) { - const p = this.track.index.extra_profiles[id]; + for (let id = 0; id < this.track.index!.extra_profiles.length; id++) { + const p = this.track.index!.extra_profiles[id]; if (!await test_media_capability(profile_to_partial_track(p))) continue this.profiles.push({ id, order: 0, ...p }) } |