基于自定义规则的番剧采集APP,支持流媒体在线观看,支持弹幕,支持实时超分辨率。
remove auto orientation lib
Prediditfe06579b8ece
diff --git a/lib/pages/video/video_controller.dart b/lib/pages/video/video_controller.dartindex eda5a318..7d9e7857 100644--- a/lib/pages/video/video_controller.dart+++ b/lib/pages/video/video_controller.dart@@ -7,7 +7,6 @@ import 'package:flutter/material.dart' show debugPrint;import 'package:kazumi/pages/webview/webview_controller.dart';import 'package:kazumi/pages/webview_desktop/webview_desktop_controller.dart';import 'package:kazumi/pages/history/history_controller.dart';-import 'package:auto_orientation/auto_orientation.dart';import 'package:kazumi/utils/utils.dart';import 'package:window_manager/window_manager.dart';import 'package:device_info_plus/device_info_plus.dart';@@ -141,13 +140,13 @@ abstract class _VideoPageController with Store {// SystemUiMode.immersiveSticky,// overlays: [],// );- // await SystemChrome.setPreferredOrientations(- // [- // DeviceOrientation.landscapeLeft,- // DeviceOrientation.landscapeRight,- // ],- // );- await AutoOrientation.landscapeAutoMode(forceSensor: true);+ await SystemChrome.setPreferredOrientations(+ [+ DeviceOrientation.landscapeLeft,+ DeviceOrientation.landscapeRight,+ ],+ );+ // await AutoOrientation.landscapeAutoMode(forceSensor: true);} else if (Platform.isMacOS || Platform.isWindows || Platform.isLinux) {await const MethodChannel('com.alexmercerind/media_kit_video').invokeMethod(diff --git a/pubspec.lock b/pubspec.lockindex 69512d99..b3a16816 100644--- a/pubspec.lock+++ b/pubspec.lock@@ -73,14 +73,6 @@ packages:url: "https://pub.dev"source: hostedversion: "2.0.4"- auto_orientation:- dependency: "direct main"- description:- name: auto_orientation- sha256: cd56bb59b36fa54cc28ee254bc600524f022a4862f31d5ab20abd7bb1c54e678- url: "https://pub.dev"- source: hosted- version: "2.3.1"boolean_selector:dependency: transitivedescription:diff --git a/pubspec.yaml b/pubspec.yamlindex 5d292e57..d3fb8797 100644--- a/pubspec.yaml+++ b/pubspec.yaml@@ -56,7 +56,6 @@ dependencies:fvp: ^0.21.0video_player: ^2.9.1- auto_orientation: ^2.3.1flutter_volume_controller: ^1.3.1screen_brightness: ^0.2.2+1wakelock_plus: ^1.1.1