feat: millisecond skip (#869)

* feat: millisecond skip

* fix: formatDuration

* fix: post segment
This commit is contained in:
My-Responsitories
2025-06-11 09:39:26 +08:00
committed by GitHub
parent bc2de4828b
commit 3655c31a48
6 changed files with 41 additions and 45 deletions

View File

@@ -300,12 +300,10 @@ class PlPlayerController {
late final List<Pair<SegmentType, SkipType>> blockSettings =
GStorage.blockSettings;
late final List<Color> blockColor = GStorage.blockColor;
late final List<String> segmentTypes =
SegmentType.values.map((item) => item.name).toList();
late final List<String> enableList = blockSettings
late final Set<String> enableList = blockSettings
.where((item) => item.second != SkipType.disable)
.map((item) => item.first.name)
.toList();
.toSet();
late final blockServer = GStorage.blockServer;
// settings