mirror of
https://github.com/immich-app/immich.git
synced 2025-07-09 03:04:16 -04:00
show fullsize assets on casting
This commit is contained in:
parent
d31cfef4c7
commit
2bbe2ceae1
@ -14,6 +14,7 @@ import 'package:immich_mobile/repositories/gcast.repository.dart';
|
|||||||
import 'package:immich_mobile/repositories/sessions_api.repository.dart';
|
import 'package:immich_mobile/repositories/sessions_api.repository.dart';
|
||||||
import 'package:immich_mobile/utils/image_url_builder.dart';
|
import 'package:immich_mobile/utils/image_url_builder.dart';
|
||||||
import 'package:immich_mobile/utils/url_helper.dart';
|
import 'package:immich_mobile/utils/url_helper.dart';
|
||||||
|
import 'package:openapi/api.dart';
|
||||||
|
|
||||||
final gCastServiceProvider = Provider(
|
final gCastServiceProvider = Provider(
|
||||||
(ref) => GCastService(
|
(ref) => GCastService(
|
||||||
@ -191,7 +192,10 @@ class GCastService implements ICastDestinationService {
|
|||||||
? getPlaybackUrlForRemoteId(
|
? getPlaybackUrlForRemoteId(
|
||||||
asset.remoteId!,
|
asset.remoteId!,
|
||||||
)
|
)
|
||||||
: getThumbnailUrlForRemoteId(asset.remoteId!);
|
: getThumbnailUrlForRemoteId(
|
||||||
|
asset.remoteId!,
|
||||||
|
type: AssetMediaSize.fullsize,
|
||||||
|
);
|
||||||
|
|
||||||
final authenticatedURL =
|
final authenticatedURL =
|
||||||
"$unauthenticatedUrl&sessionKey=${sessionKey?.token}";
|
"$unauthenticatedUrl&sessionKey=${sessionKey?.token}";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user