Skip to content

Commit

Permalink
Merge pull request #350 from dbsleiman/fix-incorrect-connection-error…
Browse files Browse the repository at this point in the history
…-message

fixed connectionerror message being sent after every playback
  • Loading branch information
YouKnowBlom authored Dec 27, 2022
2 parents e2fd451 + 03ba461 commit 6aa8ba6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/maincontroller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ import {
getShuffleItems,
getInstantMixItems,
translateRequestedItems,
broadcastToMessageBus,
broadcastConnectionErrorMessage
broadcastToMessageBus
} from '../helpers';
import {
reportPlaybackProgress,
Expand Down Expand Up @@ -644,7 +643,6 @@ export async function onStopPlayerBeforePlaybackDone(
});

playbackMgr.playItemInternal(data, options);
broadcastConnectionErrorMessage();
}

let lastBitrateDetect = 0;
Expand Down

0 comments on commit 6aa8ba6

Please sign in to comment.