From 4c4113f66f25080fddf95554f20756a847d083c6 Mon Sep 17 00:00:00 2001 From: kfj001 Date: Sun, 17 May 2026 14:32:03 -0700 Subject: [PATCH] Alters the metadata sent to google cast to reflect the station rather the song when cast began. --- .../main/kotlin/com/example/kryz_go_flutter/MainActivity.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/app/src/main/kotlin/com/example/kryz_go_flutter/MainActivity.kt b/android/app/src/main/kotlin/com/example/kryz_go_flutter/MainActivity.kt index c86c0e7..470a473 100644 --- a/android/app/src/main/kotlin/com/example/kryz_go_flutter/MainActivity.kt +++ b/android/app/src/main/kotlin/com/example/kryz_go_flutter/MainActivity.kt @@ -251,8 +251,8 @@ class MainActivity : AudioServiceActivity(), MethodChannel.MethodCallHandler, Ev } val streamUrl = arguments["streamUrl"] as? String - val title = arguments["title"] as? String ?: "Live Stream" - val subtitle = arguments["subtitle"] as? String ?: "" + val title = "KRYZ 98.5 LPFM Mariposa Community Radio" + val subtitle = "Live Stream" if (streamUrl.isNullOrBlank()) { result.error("invalid_stream_url", "streamUrl is required", null)