precheck video dimension

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-04-23 17:08:51 +08:00
parent efc202c10f
commit 5b5983ed50
32 changed files with 237 additions and 81 deletions

View File

@@ -95,6 +95,7 @@ class BiliDownloadEntryInfo with MultiSelectData {
epId: ep?.episodeId,
title: title,
cover: cover,
isVertical: pageData?.isVertical ?? false,
);
},
),
@@ -262,6 +263,8 @@ class PageInfo {
bool get cacheWidth => width <= height;
bool get isVertical => rotate == 1 ? width > height : height > width;
PageInfo({
required this.cid,
required this.page,