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

Merged
kfj001 merged 1 commits from cast_station_name_not_current_track into main 2026-05-17 14:32:59 -07:00
Showing only changes of commit 4c4113f66f - Show all commits
@@ -251,8 +251,8 @@ class MainActivity : AudioServiceActivity(), MethodChannel.MethodCallHandler, Ev
} }
val streamUrl = arguments["streamUrl"] as? String val streamUrl = arguments["streamUrl"] as? String
val title = arguments["title"] as? String ?: "Live Stream" val title = "KRYZ 98.5 LPFM Mariposa Community Radio"
val subtitle = arguments["subtitle"] as? String ?: "" val subtitle = "Live Stream"
if (streamUrl.isNullOrBlank()) { if (streamUrl.isNullOrBlank()) {
result.error("invalid_stream_url", "streamUrl is required", null) result.error("invalid_stream_url", "streamUrl is required", null)