feat: fetch beat metadata from api

This commit is contained in:
2026-05-31 11:41:06 +02:00
parent 633afd115d
commit f7c5b932e9
7 changed files with 176 additions and 2 deletions

View File

@@ -213,6 +213,10 @@ fun NowPlayingRoute(
playlistDisplayName = viewModel.getPlaylistDisplayName(playlistId)
}
LaunchedEffect(playlistId, playlistDisplayName) {
viewModel.fetchBeatsMetadataForPlaylist(playlistId, playlistDisplayName)
}
LaunchedEffect(playback) {
val service = playback ?: return@LaunchedEffect
service.uiState.collect { p ->