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
|
||||
|
||||
@@ -50,14 +50,14 @@ From the repo root, inside `nix develop`:
|
||||
```sh
|
||||
./gradlew assembleDebug
|
||||
adb install -r app/build/outputs/apk/debug/app-debug.apk
|
||||
adb shell am start -n ca.ksamad.musicremote/.MainActivity # optional auto-launch
|
||||
adb shell am start -n ca.ksamad.encore/.MainActivity # optional auto-launch
|
||||
```
|
||||
|
||||
`-r` reinstalls over the existing app **keeping its data** (so persisted
|
||||
connection settings survive). To simulate a clean first run:
|
||||
|
||||
```sh
|
||||
adb shell pm clear ca.ksamad.musicremote
|
||||
adb shell pm clear ca.ksamad.encore
|
||||
```
|
||||
|
||||
## Screenshots
|
||||
|
||||
Reference in New Issue
Block a user