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