opt: appScheme 补充

This commit is contained in:
guozhigq
2024-10-07 21:46:00 +08:00
parent 64c2bcc650
commit e94f008168

View File

@ -175,6 +175,11 @@ class PiliSchame {
if (lastPathSegment.contains('ep')) {
RoutePush.bangumiPush(null, Utils.matchNum(lastPathSegment).first);
}
} else if (path.startsWith('/BV')) {
final String bvid = path.split('?').first.split('/').last;
_videoPush(null, bvid);
} else if (path.startsWith('/av')) {
_videoPush(Utils.matchNum(path.split('?').first).first, null);
}
} else if (host.contains('live')) {
int roomId = int.parse(path!.split('/').last);