Skip to content

v2.1

Compare
Choose a tag to compare
@misiektoja misiektoja released this 21 May 23:23
· 10 commits to main since this release

Features and Improvements:

  • NEW: The tool can now be installed via pip: pip install lastfm_monitor
  • NEW: Added support for external config files, environment-based secrets and dotenv integration with auto-discovery
  • NEW: Added support for saving recent tracks to CSV when using -l with -b
  • IMPROVE: Improved parsing of tracks file: supports CP1252 encoding, comment lines (starting with #) and ignores empty lines
  • IMPROVE: Refactored comparison logic between listed and played tracks for better accuracy
  • IMPROVE: Enhanced startup summary to show loaded config, dotenv and monitored tracks file paths
  • IMPROVE: Simplified and renamed command-line arguments for improved usability
  • NEW: Implemented SIGHUP handler for dynamic reload of secrets from dotenv files (previous handler for progress indicator has been assigned to SIGURG)
  • NEW: Added configuration option to control clearing the terminal screen at startup
  • IMPROVE: Changed connectivity check to use Last.fm Audio Scrobbler endpoint for reliability
  • IMPROVE: Added check for missing pip dependencies with install guidance
  • IMPROVE: Allow disabling liveness check by setting interval to 0 (default changed to 12h)
  • IMPROVE: Improved handling of log file creation
  • IMPROVE: Refactored CSV file initialization and processing
  • NEW: Added support for ~ path expansion across all file paths
  • IMPROVE: Refactored code structure to support packaging for PyPI
  • IMPROVE: Enforced configuration option precedence: code defaults < config file < env vars < CLI flags
  • IMPROVE: Updated horizontal line for improved output aesthetics
  • IMPROVE: Removed short option for --send-test-email to avoid ambiguity

Bug fixes:

  • BUGFIX: Fixed issue handling 'track songs' files encoded in Windows-1252/CP1252