library: song-copies follow-ups (metered ranking, missing files, merge-off cost)
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Start with LibraryModule.kt, MeteredNetwork, CopyAvailability.kt, and LibraryCopies.kt, then read the linked follow-up context in #1069. The issue lists six separate follow-ups involving network changes, missing files, copy ranking, merge state, provider counts, and a later UI design step; identify which item is in scope before changing anything. For the first five, done means addressing the specified behavior and verifying it with focused playback or library tests; the sixth is deferred to a UI/UX design pass.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Follow-ups to #1069 step 1 (song copies merged across sources), from the re-review of worktree-song-match-corpus:
- Ranking after a network change (medium).
LibraryModule.ktreadsmeteredNetwork.isMetered()only when a quality setting changes, so the streaming cap used for ranking is fixed at launch. Start on Wi-Fi, move to mobile data with a 128 kbps cap, and a remote FLAC still outranks a local 320 kbps MP3 under BestQuality. Needs a connectivity flow onMeteredNetwork. missingSongIdsis never filled (CopyAvailability.kt). A local file deleted since the last scan still outranks a reachable server copy, then fails to play. Feed it from playback load failures or file checks, and fall back to the next copy (this ties in with step 2 playback fallback).- Wasted work with merging off (
LibraryCopies.kt).ranking()still emits on availability changes, so collectors re-filter and re-sort the whole library. Gateranking()and grouping behindenabled. - Race when merging is switched back on (
LibraryCopies.kt). For a momentenabledis true whilelibrarystill holds the unmerged snapshot. A favourite or exclude in that window touches one copy only. countSongsByProviderstill counts per copy.- Make primary and Preferred copy have no UI or setter use case yet. That belongs to step 3, which starts with the UI/UX design pass.
- Lingua principale
- Kotlin
- Stelle
- 232
- Fork
- 28
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di timusus/Shuttle2
-
design
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
enhancement impact:U2 P3 reach:R1 size:S
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
enhancement impact:U2 P3 reach:R1 size:M
Difficoltà 4/5 1-2 giorni Idoneità per principianti 54/100
-
bug
Difficoltà 4/5 1-2 giorni Idoneità per principianti 55/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
Tutte le issue di timusus/Shuttle2
Issue simili
-
pending:code-area pending:issue-category to-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
T31n/YagniLauncher#1096 ·
I maintainer di solito rispondono entro 1 giorno
-
win_build: parallel PostBuildEvent race in example_app_atiopencl and example_app_nvopencl copying openclapp_kernels.clForse già presa @qixuancao l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
I maintainer di solito rispondono entro 1 giorno
-
OkHttp versions 5.4.0+ no longer include baseline-prof.txtForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertabug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 83/100
lysine-dev/okhttp#9828 ·
I maintainer di solito rispondono entro 1 giorno
-
bug Impact: Low Work: Low
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
oppia/oppia-android#6532 · 1 commento ·
I maintainer di solito rispondono entro 3 giorni