mod: filter advanced dm

Closes #602

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-04 10:59:57 +08:00
parent 08aedbf0b0
commit f542565dc5

View File

@@ -37,7 +37,10 @@ class PlDanmakuController {
);
if (result['status']) {
if (result['data'].elems.isNotEmpty) {
for (var element in result['data'].elems) {
for (DanmakuElem element in result['data'].elems) {
if (element.mode == 7) {
continue;
}
int pos = element.progress ~/ 100; //每0.1秒存储一次
if (dmSegMap[pos] == null) {
dmSegMap[pos] = [];