From c26e434d1e0489601bef4f4065644bd5c7d5f79e 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 7edd5f1..15979e2 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 @@ -222,8 +222,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)