Alters the metadata sent to google cast to reflect the station rather the song when cast began.

This commit is contained in:
2026-05-17 14:32:38 -07:00
parent 5f3801e65f
commit 4c4113f66f
@@ -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)