feat: add gRPC client with config-based server address and album support

- Add tonic/prost gRPC client connecting to music-agregator service
- Add config.yaml for configurable server host/port
- Add build.rs for proto compilation from music-agregator
- Update Artist/Album models to match proto with MonitorState enum
- Convert album list from GetArtists response
- Fix album click selection with correct layout offsets
- Improve monitor state icons for better visibility
This commit is contained in:
Alexander
2026-05-08 23:10:15 +02:00
parent 620bd374de
commit e77e854d2e
14 changed files with 1812 additions and 50 deletions
+9
View File
@@ -8,3 +8,12 @@ ratatui = "0.29"
crossterm = "0.28"
color-eyre = "0.6"
nix = { version = "0.29", features = ["fs"] }
serde = { version = "1", features = ["derive"] }
serde_yaml = "0.9"
tonic = "0.12"
prost = "0.13"
tokio = { version = "1", features = ["rt-multi-thread", "macros", "sync", "time"] }
[build-dependencies]
tonic-build = "0.12"