feat(import): keep the artist and the time of plays of artists I do not have
The plays of songs that are not in the library were only counted. Now, when such a play counts as listened (not a skip, long enough), its artist and its time are kept in a new table (migration 0031, outside_plays), so a model can later learn which artists are played together, also those not in the library. No title, album, IP address, country or platform is stored. The same play is kept once however many times the export is imported, and the report says how many were kept (history.kept_outside).
This commit is contained in:
parent
01cbab21be
commit
3ba087bcc5
1 changed files with 314 additions and 28 deletions
6
web/src/api/schema.d.ts
vendored
6
web/src/api/schema.d.ts
vendored
|
|
@ -1572,7 +1572,9 @@ export interface paths {
|
|||
*
|
||||
* Everything happens on this server and nothing is sent to anyone. The files are read from the request and not
|
||||
* kept, and of each play only the song, the artist, the album, the time and how it ended are read: the IP
|
||||
* addresses, the country and the platform in the file are never looked at.
|
||||
* addresses, the country and the platform in the file are never looked at. Of a play that is not in your
|
||||
* library and counts as listened, the name of the artist and the time are kept (and nothing else), so that
|
||||
* Sonda can learn which artists you play together.
|
||||
*
|
||||
* A play is matched to a song of your library by artist and title (case, accents and punctuation do not matter,
|
||||
* a "Remastered" note on either side does not either, and any of the credited artists will do; a play of a
|
||||
|
|
@ -3836,6 +3838,8 @@ export interface components {
|
|||
not_found: number;
|
||||
/** @description Podcast episodes, and plays with no time that can be read. */
|
||||
ignored: number;
|
||||
/** @description Of the plays not in your library, the ones that count as listened, whose artist and time are kept to learn what you listen to together (never the title, the album or anything else). */
|
||||
kept_outside: number;
|
||||
};
|
||||
playlists: {
|
||||
name: string;
|
||||
|
|
|
|||
Loading…
Reference in a new issue