You've already forked immich
mirror of
https://github.com/immich-app/immich.git
synced 2025-08-08 23:07:06 +02: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:
5
mobile/lib/platform/native_sync_api.g.dart
generated
5
mobile/lib/platform/native_sync_api.g.dart
generated
@ -40,6 +40,7 @@ class PlatformAsset {
|
||||
this.width,
|
||||
this.height,
|
||||
required this.durationInSeconds,
|
||||
required this.orientation,
|
||||
});
|
||||
|
||||
String id;
|
||||
@ -58,6 +59,8 @@ class PlatformAsset {
|
||||
|
||||
int durationInSeconds;
|
||||
|
||||
int orientation;
|
||||
|
||||
List<Object?> _toList() {
|
||||
return <Object?>[
|
||||
id,
|
||||
@ -68,6 +71,7 @@ class PlatformAsset {
|
||||
width,
|
||||
height,
|
||||
durationInSeconds,
|
||||
orientation,
|
||||
];
|
||||
}
|
||||
|
||||
@ -86,6 +90,7 @@ class PlatformAsset {
|
||||
width: result[5] as int?,
|
||||
height: result[6] as int?,
|
||||
durationInSeconds: result[7]! as int,
|
||||
orientation: result[8]! as int,
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user