mirror of
https://github.com/kilyabin/psysonic.git
synced 2026-07-22 14:35:41 +00:00
feat(now-playing): redesign page as info dashboard (#266)
Replace the flat Now Playing page with a two-column dashboard: hero (cover, metadata, badges, Last.fm stats + love button, release-age tagline), and a grid of themed cards (Album tracklist with sliding window, most-played-by-artist, credits, about-the-artist with Last.fm bio fallback, compact discography contact-sheet with expand, upcoming tours via Bandsintown). Adds lastfmGetTrackInfo + lastfmGetArtistStats for global listener counts + userplaycount, plus Last.fm love/unlove wired to the new hero button. Module-level TTL caches per entity keep same-artist track switches instant. Artist-image guard filters the well-known Last.fm no-image placeholder so the card collapses cleanly when no real image exists. Co-authored-by: Psychotoxical <dev@psysonic.app> Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
committed by
GitHub
parent
f0e5b2542b
commit
b4f31e0954
@@ -94,6 +94,30 @@ export const esTranslation = {
|
||||
showLess: 'Mostrar menos',
|
||||
genreInfo: 'Género',
|
||||
trackInfo: 'Información de la Pista',
|
||||
topSongs: 'Más reproducidas de este artista',
|
||||
topSongsCredit: 'Temas principales de {{name}}',
|
||||
trackPosition: 'Pista {{pos}}',
|
||||
playsCount_one: '{{count}} reproducción',
|
||||
playsCount_other: '{{count}} reproducciones',
|
||||
releasedYearsAgo_one: 'hace {{count}} año',
|
||||
releasedYearsAgo_other: 'hace {{count}} años',
|
||||
discography: 'Discografía',
|
||||
lastfmStats: 'Estadísticas de Last.fm',
|
||||
thisTrack: 'Este tema',
|
||||
thisArtist: 'Este artista',
|
||||
listeners: 'oyentes',
|
||||
scrobbles: 'scrobbles',
|
||||
yourScrobbles: 'por ti',
|
||||
listenersN: '{{n}} oyentes',
|
||||
scrobblesN: '{{n}} scrobbles',
|
||||
playsByYouN: 'reproducido {{n}}× por ti',
|
||||
openTrackOnLastfm: 'Tema en Last.fm',
|
||||
openArtistOnLastfm: 'Artista en Last.fm',
|
||||
rgTrackTooltip: 'ReplayGain (pista)',
|
||||
rgAlbumTooltip: 'ReplayGain (álbum)',
|
||||
rgAutoTooltip: 'ReplayGain (auto)',
|
||||
showMoreTracks: 'Mostrar {{count}} más',
|
||||
showLessTracks: 'Mostrar menos',
|
||||
},
|
||||
contextMenu: {
|
||||
playNow: 'Reproducir Ahora',
|
||||
|
||||
Reference in New Issue
Block a user