refactor: codebase review cleanup

This commit is contained in:
edde746
2026-04-25 03:16:11 +02:00
parent 1949c22b85
commit d0a93d57dd
83 changed files with 763 additions and 419 deletions
+5 -3
View File
@@ -220,8 +220,8 @@ abstract class PlayerBase with PlayerStreamControllersMixin implements Player {
try {
final parsed = jsonDecode(value);
if (parsed is List) trackList = parsed;
} catch (_) {
// Ignore parse errors
} catch (e) {
appLogger.d('Player: track-list parse failed', error: e);
}
}
if (trackList != null) {
@@ -260,7 +260,9 @@ abstract class PlayerBase with PlayerStreamControllersMixin implements Player {
try {
final parsed = jsonDecode(value);
if (parsed is List) deviceList = parsed;
} catch (_) {}
} catch (e) {
appLogger.d('Player: device-list parse failed', error: e);
}
}
if (deviceList != null) {
final devices = deviceList