refactor: trakt/download hardening and cleanup sweep

This commit is contained in:
edde746
2026-04-21 13:57:03 +02:00
parent 93d196572f
commit ee020d81bd
66 changed files with 1526 additions and 2167 deletions
-5
View File
@@ -487,11 +487,6 @@ abstract class PlayerBase with PlayerStreamControllersMixin implements Player {
trackController.add(_state.track);
}
/// Update the internal state.
void updateState(PlayerState Function(PlayerState) update) {
_state = update(_state);
}
@protected
void clearTracks() {
const empty = Tracks();