github TheTastyHanuta/your_spotify 1.20.1-fork.9

one hour ago

What's new

  • Period navigation in the date picker – arrows step to the previous or next day, week, month or year; switching the period type jumps to the one around the same date (last week becomes the month it ended in), clicking the selected type again goes back to the current period, and clicking the dates opens the calendar. Thanks @rhysperry111 for this contribution! (#60)
  • Fill gaps from your extended streaming history – the import recognises listens YourSpotify already recorded, adds the plays the poller missed and corrects the time of listens Spotify stamped minutes to days off, including old offline plays. The status bar and the import history show its progress while it looks up songs on Spotify, and the server log lists up to 100 stored listens the export doesn't have, so you can check them (#55, #56)

Improvements

  • Plays that Spotify adds to the history hours late are now stored, as long as they are among your last 50 plays (#50)
  • "Release decades over time" on the Taste page follows the selected period (#46)
  • Songs whose recording code (ISRC) is written in lowercase or with hyphens are now recognised as the same song, so more duplicates can be found (#58)
  • Server logs say which step failed and why when retrying, and point out plays that arrived late (#51)
  • Install guide fixes: the example compose file publishes ports on 127.0.0.1 only, with clearer reverse-proxy notes, first-start tips and FAQ answers (#57)
  • Dependency updates with security fixes, including one where a malformed request could crash the server before login (#49)
  • New contributing guide and pull request template (#48)

Bug fixes

  • Charts over time no longer drop the first or last step when your browser's timezone differs from the stats timezone, and hourly charts handle daylight saving changes (#47)
  • History imports no longer drop plays that end less than a minute after another song (#52)
  • Imported plays of blacklisted artists are now left out of the stats, and blacklisting goes by each play's own main artist (#53)
  • A new refresh token from Spotify is now saved, so you no longer have to log in again when Spotify replaces it (#53)
  • Share-link guests no longer see buttons that send them to the login page, and the Affinity pages tell them they are not available (#53)
  • When Affinity is turned off, opening it no longer logs you out (#53)
  • Shift-clicking the last selected row in History or Top songs no longer freezes the tab (#53)
  • Plays of a song merged into a song that no longer exists are kept instead of dropped (#53)
  • A play could be stored twice, or a removed play come back, when its song exists under two Spotify IDs (#50)
  • The poller exits again when MongoDB becomes unreachable (#49)

Upgrade notes

  • Without Docker, run the migrations before starting the new version, as described in LOCAL_INSTALL.md. Docker installs run them on their own (#53, #58).
  • If you have log alerts on "Retrying crashed promise", update them: the message is now "… failed (reason), try n/10 …" (#51).
  • If a script of yours calls GET /spotify/taste/decades, update it: the endpoint is removed (#46).
  • On the first start, two migrations run. One rebuilds the blacklisted-artist marks, so imported plays of blacklisted artists drop out of the stats (#53). The other rewrites stored ISRCs into one spelling; the log says how many it changed. Songs this reveals as stored twice are not merged automatically: they show up in Settings → Admin → Merge duplicate songs, where you can apply them to combine their plays (#58).
  • If you imported your Spotify history before, importing the same files again adds the plays that were dropped (#52). Importing a new extended streaming history export also adds missed plays and can correct the time of listens you already have, without storing them twice (#55).
  • The example compose file now publishes the ports on 127.0.0.1 only. Existing installs are not affected. If you copy the new file and your reverse proxy runs in Docker or on another machine, follow the README's reverse-proxy notes (#57).
  • Usernames made of a single emoji are now too short to rename to (#49).
  • Dashboard links with a custom period now use ISO dates; older links still work (#60).
  • No config changes required.
  • As always, back up your database before updating.

Docker images

ghcr.io/thetastyhanuta/your_spotify_server:1.20.1-fork.9
ghcr.io/thetastyhanuta/your_spotify_client:1.20.1-fork.9

Full Changelog: 1.20.1-fork.8...1.20.1-fork.9

Don't miss a new your_spotify release

NewReleases is sending notifications on new releases.