mirror of
https://github.com/Psychotoxical/psysonic.git
synced 2026-07-22 07:15:47 +00:00
e734a8fc43
* feat(genre): add paginated songs-by-genre API Wraps the Subsonic getSongsByGenre endpoint plus a fetchAllSongsByGenre helper that paginates until exhausted, capped to keep the queue and the burst of requests bounded for very large genres. * refactor(playback): extract shared bulk play/shuffle/enqueue helper A single fetchTracks-driven core (loading flag, empty guard, canonical shuffleArray) so async detail-page play buttons stop growing divergent copies. Artist detail now reuses it, dropping its weaker sort-random shuffle. * feat(genre): play, shuffle and queue buttons on the genre view Header buttons load the genre's songs and start ordered or shuffled playback, or append them to the queue. The slice is bounded to stay within the queue resolver's cache budget so every row resolves instead of rendering as a placeholder. Strings added across all nine locales. * docs(changelog): genre play/shuffle buttons (#926)
15 lines
426 B
TypeScript
15 lines
426 B
TypeScript
export const genres = {
|
|
title: 'Genuri',
|
|
genreCount: 'Genuri',
|
|
albumCount_one: '{{count}} album',
|
|
albumCount_other: '{{count}} albume',
|
|
loading: 'Se încarcă genuri…',
|
|
empty: 'Niciun gen găsit.',
|
|
albumsLoading: 'Se încarcă albume…',
|
|
albumsEmpty: 'Niciun album găsit pentru acest gen.',
|
|
loadMore: 'Încarcă mai mult',
|
|
back: 'Înapoi',
|
|
shuffle: 'Amestecă',
|
|
addToQueue: 'Adaugă la coadă',
|
|
};
|