Skip to content

Commit

Permalink
Solve tracks not resuming properly
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyabsi committed Dec 29, 2023
1 parent a60ecf0 commit 59018fa
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/renderer/logic/player.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ export class Player extends EventEmitter<{
}

private setPlayingTrack(track: Track) {
this.input.crossOrigin = "anonymous";
this.input.src = amethyst.getCurrentRuntime() == 'tauri' ? convertFileSrc(track.path) : track.path;
this.currentTrack.value = track;
this.currentTrackIndex.value = this.queue.getList().indexOf(track);
Expand Down

0 comments on commit 59018fa

Please sign in to comment.