backend: artwork API should prefer the largest artist image it has

Aperta
#1,104 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
58/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
kotlin
Ambito
api, backend

Direzione di ricerca

Start by locating the implementation of GET /v1/artwork?artist=... and tracing how it selects artist images across its sources. Compare the available image sizes and how the apps apply ArtistHeroArtwork.MIN_ARTIST_IMAGE_SIZE. Done means the API prefers the largest available image, ideally at least 1000 px, while still returning a smaller image when no larger one exists.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement impact:U1 P3 reach:R2

GET /v1/artwork?artist=At the Drive-In returns a 600×405 image. The apps reject artist images under 500 px on the short side (ArtistHeroArtwork.MIN_ARTIST_IMAGE_SIZE) unless nothing else exists (#1103). The API should prefer the largest available artist image across its sources, ideally ≥1000 px, and only return a small one when that is all it has.

Impact U1 (small artist heroes, or album covers in their place) · Reach R2 (artists whose best source image is small) · Implemented: no · Design fit: fits · Complexity: M

Lingua principale
Kotlin
Stelle
233
Fork
28
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di timusus/Shuttle2

Tutte le issue di timusus/Shuttle2

Issue simili

Altre issue su Kotlin

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.