mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
feat: sqlite video player (#19792)
* feat: video player * use remote asset id in local query * fix: error from pre-caching beyond total assets * fix: flipped local videos * incorrect aspect ratio on iOS * ignore other storage id during equals check --------- Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
parent
51ab7498e9
commit
dfe6d27bbd
31 changed files with 832 additions and 82 deletions
|
|
@ -23,6 +23,7 @@ class PlatformAsset {
|
|||
final int? width;
|
||||
final int? height;
|
||||
final int durationInSeconds;
|
||||
final int orientation;
|
||||
|
||||
const PlatformAsset({
|
||||
required this.id,
|
||||
|
|
@ -33,6 +34,7 @@ class PlatformAsset {
|
|||
this.width,
|
||||
this.height,
|
||||
this.durationInSeconds = 0,
|
||||
this.orientation = 0,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue