Skip to content

Some rules and sorting only works with "Songs I've liked" #81

@maxnowack

Description

@maxnowack

I've saw that some rules and sorting are only applied if Songs I've liked is selected.
While it absolutely make sense for the Days Ago (How many days ago was the song added?) rule, there are some more rules which also could be applied if one of the other catalogs are selected (Play count and Last played). There're also some sorting which also could be used with other catalogs than Songs I've liked.

The main reason is that the play statistics are held in the follows table. The follows table only contains a document when the user have liked the song.
I saw that there is another table streams which holds all plays of a song for a user. Maybe we could refactor the rules mentioned above to use the streams table instead of follows.
What do you think @Shpigford?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions