Skip to content

Allow artists to be excluded in recommendations #37

Description

@RadValentin

API

  • Implement exclude_artists on /api/v1/recommend/ endpoint
  "filters": {
    "exclude_artists": ["<artist-mbid>", "<artist-mbid>", "..."],
    "same_genre": true,
    "same_decade": true,
    "genre_classification": "rosamerica"
  },

Front-End

  • Store a history of previously played tracks
  • Extract a list of artist MBIDs from history, it gets sent to the recommend endpoint when a new set of data is fetched
    • By default it's 5 artists, on every request pop the oldest one - prevents the same artist showing up too frequently
    • Consider mechanism for users to disable this functionality, e.g. session storage or separate session API

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions