feat: move the client to searchable, downloadable moods
- new mood/song/search/recommendation models and API calls - AppCache v2 with moods and details only - Search and Downloads screens; remove Library and Longform - new mood detail with songs, add music and recommendation states - song-keyed covers and updated tests/docs
This commit is contained in:
1 parent
1bb23901eb
commit
dc270f863c
18 files changed
+1466
-1929
No files matched your search
@@ -46,3 +46,23 @@ Remove `LibraryScreen` and all longform UI.
|
||||
- Playback snapshot/history, desktop seek, Android media session, sleep timer
|
||||
and device downloads remain.
|
||||
- Offline mood playback uses device downloads and cached mood details.
|
||||
|
||||
## Implementation status (2026-11-15)
|
||||
|
||||
Implemented. Concretely:
|
||||
|
||||
- `Models.kt` reflects the mood-first DTOs: `Song(videoId, thumbnail)`,
|
||||
`Mood(collectionPercent, recommendationCount, song counts)`,
|
||||
`MoodSong`, `Recommendation(song, download)`, `SearchResult`.
|
||||
- `ApiClient` uses `/moods/{id}/songs`, `/search`, recommendation
|
||||
`add|reject|retry`, and `/songs/{id}/cover`.
|
||||
- `AppCache` (version 2) stores moods and details only; old cache shapes are
|
||||
discarded. Session and playback snapshots are kept.
|
||||
- `AppStore` has `Moods | MoodDetail | Search | Downloads | Settings`, remote
|
||||
search with a target mood, add/remove song, recommendation actions, offline
|
||||
playback from device downloads, and no longform/library paths.
|
||||
- The UI has a dedicated Search screen (mood picker, paste URL, downloaded
|
||||
badges) and a Downloads screen. Mood Detail shows songs, add music,
|
||||
recommendation states and the new options. The player keeps queue editing,
|
||||
previous/seek and the sleep timer.
|
||||
- Device downloads store covers by song id (`<songId>.jpg`).
|
||||
Reference in new issue
Block a user