mirror of
https://github.com/kilyabin/psysonic.git
synced 2026-07-21 22:15:40 +00:00
feat(player-stats): local listening history tab with heatmap and summaries (#849)
* feat(player-stats): local listening history tab with heatmap and summaries Record play sessions in library.sqlite when the library index is enabled, add Rust read APIs and Tauri commands for year/day aggregates, and ship the Player stats UI with session clustering, event-driven live refresh, and a notice when some servers are excluded from indexing. * test(player-stats): split play_session repo and expand test coverage Move the repository into play_session/ (completion, cluster, integration tests), add remap/purge/FK coverage in Rust, and cover ingestion gates plus live-refresh hooks on the frontend per spec v0.3. * docs(release): CHANGELOG and credits for player stats (PR #849) * fix(player-stats): satisfy tsc and clippy CI gates Use InternetRadioStation field names in the radio skip test and replace manual month/day range checks with RangeInclusive::contains.
This commit is contained in:
@@ -44,4 +44,33 @@ export const statistics = {
|
||||
topRatedArtists: 'Artistas Mejor Calificados',
|
||||
noRatedSongs: 'Aún no hay canciones calificadas. Califica canciones en la vista de álbum o playlist.',
|
||||
noRatedArtists: 'Aún no hay artistas calificados.',
|
||||
tabServer: 'Estadísticas del servidor',
|
||||
tabPlayer: 'Estadísticas del reproductor',
|
||||
playerEmpty: 'Empieza a escuchar — tu historial local aparecerá aquí con el índice de biblioteca activo.',
|
||||
playerSummaryTime: 'Tiempo de escucha',
|
||||
playerListeningDayShort: '{{count}}d',
|
||||
playerListeningHourShort: '{{count}}h',
|
||||
playerListeningMinuteShort: '{{count}}m',
|
||||
playerSummarySessions: 'Sesiones',
|
||||
playerSummaryTracks: 'Pistas',
|
||||
playerSummaryUniqueTracks: 'Pistas únicas',
|
||||
playerSummaryDays: 'Days',
|
||||
playerPartialIndexNotice: 'Algunos servidores están excluidos del índice local de biblioteca. La escucha en esos servidores no se registra en las estadísticas del reproductor.',
|
||||
playerPartialIndexSettings: 'Ajustes de biblioteca',
|
||||
playerSummaryCompletion: 'Completas / parciales',
|
||||
playerYearPrev: 'Año anterior',
|
||||
playerYearNext: 'Año siguiente',
|
||||
playerHeatmapLegend: 'Más oscuro = más pistas escuchadas ese día.',
|
||||
playerHeatmapLess: 'Menos',
|
||||
playerHeatmapMore: 'Más',
|
||||
playerDaySessions: '{{count}} sesiones',
|
||||
playerDayTrackPlays: '{{count}} pistas',
|
||||
playerDayFullPartial: '{{full}} completas · {{partial}} parciales',
|
||||
playerRecentDaysTitle: 'Días recientes',
|
||||
playerDayToday: 'Hoy',
|
||||
playerDayYesterday: 'Ayer',
|
||||
playerListenedSecShort: '{{seconds}} s',
|
||||
playerListenedMinDecimal: '{{minutes}} min',
|
||||
completionFull: 'Escucha completa',
|
||||
completionPartial: 'Parcial',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user