mirror of
https://github.com/immich-app/immich
synced 2025-06-07 09:20:57 +00:00
remove prints
This commit is contained in:
parent
4cc5ae472a
commit
325e057c69
@ -56,7 +56,6 @@ class GCastService implements ICastDestinationService {
|
||||
}
|
||||
|
||||
void _onCastStatusCallback(CastSessionState state) {
|
||||
print("Cast session state changed: $state");
|
||||
if (state == CastSessionState.connected) {
|
||||
onConnectionState?.call(true);
|
||||
isConnected = true;
|
||||
@ -68,7 +67,6 @@ class GCastService implements ICastDestinationService {
|
||||
}
|
||||
|
||||
void _onCastMessageCallback(Map<String, dynamic> message) {
|
||||
print("Received cast message: $message");
|
||||
switch (message['type']) {
|
||||
case "MEDIA_STATUS":
|
||||
_handleMediaStatus(message);
|
||||
@ -170,7 +168,6 @@ class GCastService implements ICastDestinationService {
|
||||
|
||||
@override
|
||||
void loadMedia(Asset asset, bool reload) async {
|
||||
print("Loading media for asset: ${asset.remoteId}");
|
||||
if (!isConnected) {
|
||||
return;
|
||||
} else if (asset.remoteId == null) {
|
||||
@ -179,8 +176,6 @@ class GCastService implements ICastDestinationService {
|
||||
return;
|
||||
}
|
||||
|
||||
print("tried to send it!");
|
||||
|
||||
// create a session key
|
||||
if (!isSessionValid()) {
|
||||
sessionKey = await _sessionsApiService.createSession(
|
||||
|
Loading…
x
Reference in New Issue
Block a user