Skip to content

Commit

Permalink
Remove unnecessary await
Browse files Browse the repository at this point in the history
getOptimalMediaSource is not an async function
  • Loading branch information
3flex authored Feb 4, 2025
1 parent 38d9759 commit 6ac0f69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/playbackManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ export abstract class PlaybackManager {
return showPlaybackInfoErrorMessage(playbackInfo.ErrorCode);
}

const mediaSource = await getOptimalMediaSource(
const mediaSource = getOptimalMediaSource(
playbackInfo.MediaSources ?? []
);

Expand Down

0 comments on commit 6ac0f69

Please sign in to comment.