chore: rename package from music-remote to encore.
This commit is contained in:
+2
-2
@@ -49,7 +49,7 @@ form) and **Reset settings** (confirm dialog → clears DataStore + disconnects)
|
||||
|
||||
- `SettingsRepository.clear()` wipes DataStore; `MpdConnectionManager.resetSettings()`
|
||||
clears + disconnects.
|
||||
- Navigation is lightweight state (`showSettings` in `MusicRemoteApp`, only over
|
||||
- Navigation is lightweight state (`showSettings` in `EncoreApp`, only over
|
||||
the player screen; a `LaunchedEffect` drops it when leaving the player) — no
|
||||
Navigation-Compose dependency yet.
|
||||
- **Playback section**: a **Consume mode** toggle (live-bound to `status.consume`,
|
||||
@@ -64,7 +64,7 @@ form) and **Reset settings** (confirm dialog → clears DataStore + disconnects)
|
||||
|
||||
Done — full MALP-style **OS integration**, not just in-app. Architecture:
|
||||
|
||||
- **`MpdConnectionManager`** (app-scoped, held by `MusicRemoteApplication`) now
|
||||
- **`MpdConnectionManager`** (app-scoped, held by `EncoreApplication`) now
|
||||
owns the single `MpdClient`, so the connection survives Activity recreation and
|
||||
runs while the service is up. `PlayerViewModel` is a thin delegate over it.
|
||||
- **`PlaybackService`** — a `mediaPlayback` foreground service hosting a
|
||||
|
||||
Reference in New Issue
Block a user