A statistics page #4

Merged
squid merged 1 commit from feat/statistics into main 2026-11-15 17:06:19 +00:00
Owner

I'm adding a Statistics page with what the library holds (songs, albums, artists, length, space, formats, the share of each genre and decade) and what I listened to (listens and time, by year, hour and weekday, top artists and songs, the share of each genre), for all time or a period. It comes with GET /stats/library and GET /stats/listening. Closes #2.

I'm adding a Statistics page with what the library holds (songs, albums, artists, length, space, formats, the share of each genre and decade) and what I listened to (listens and time, by year, hour and weekday, top artists and songs, the share of each genre), for all time or a period. It comes with `GET /stats/library` and `GET /stats/listening`. Closes #2.
- GET /stats/library: the songs that can be played with their artists, albums, length and size, the files by format, the share of each genre and decade
- GET /stats/listening: listens, time listened, songs and artists, listens by year, hour and weekday in the listener's time zone, top artists and songs, the share of each genre, for all time or a period
- a song with several genres is split between them, so the shares add up
- web: a Statistics page in the Your listening group, with bars made of CSS and four periods
- the MP3 files, which the scanner calls mpeg, are shown as MP3
- README: the two endpoints
squid merged commit c52386f335 into main 2026-11-15 17:06:19 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
squid/sonda!4
No description provided.