Yooooomi / your_spotify

Self hosted Spotify tracking dashboard
GNU General Public License v3.0
2.67k stars 109 forks source link

Importing history from Spotify ignores blacklisted artists #333

Open MrSuttonmann opened 6 months ago

MrSuttonmann commented 6 months ago

Describe the bug

Importing history from Spotify ignores blacklisted artists. I had blacklisted an artist, then imported my listening history. The artist then appears in stats.

Expected behavior

I do not expect a blacklisted artist to appear in the stats, regardless of when the data was imported.

Additional context

version: "3.3"
services:
  mongo6:
    container_name: mongo6
    image: mongo:6
    restart: unless-stopped
    networks:
      - mongo-network
  your-spotify:
    restart: unless-stopped
    image: lscr.io/linuxserver/your_spotify:latest
    ports:
      - 22000:80
      - 22443:443
    environment:
      - PUID=${PUID}
      - PGID=${PGID}
      - TZ=${TZ}
      - APP_URL=${APP_URL}
      - MONGO_ENDPOINT=${MONGO_ENDPOINT}
      - SPOTIFY_PUBLIC=${SPOTIFY_PUBLIC}
      - SPOTIFY_SECRET=${SPOTIFY_SECRET}
    depends_on:
      - mongo6
    networks:
      - mongo-network
networks:
  mongo-network: {}
x-dockge:
  urls:
    - ${APP_URL}

Screenshots

image

image

Shared link

https://soundstats.littleberrylodge.co.uk/?gname=All&token=8cbe326e-fb9d-4d0e-8768-d81c7698da16