commits
- Updated Release struct to include optional fields for artist credit, track count, and release group.
- Introduced ReleaseGroup struct for better organization of release data.
- Modified scrobble function to utilize MusicBrainzClient passed as a parameter, improving dependency management.
- Implemented search_musicbrainz_recording function to streamline MusicBrainz recording searches and handle errors gracefully.
- Enhanced caching mechanism for MusicBrainz responses to reduce redundant API calls.
- Improved query construction for MusicBrainz searches to include status filtering.
- Added tests for MusicBrainz client and release selection logic to ensure reliability.
- Refactored artist credit handling in Track conversion for better safety and clarity.
- Updated dependencies in Cargo.toml for improved functionality and testing capabilities.
- Replaced all instances of `println!` and `eprintln!` with `tracing::info!`, `tracing::warn!`, and `tracing::error!` for better structured logging.
- Updated log messages to include relevant context and structured fields for improved traceability.
- Ensured consistent logging practices across the `jetstream`, `scrobbler`, and `webscrobbler` crates.
- Updated string literals from double quotes to single quotes in various files for consistency.
- Changed import statements to use `import type` for type-only imports in multiple modules.
- Removed unnecessary initializations of variables to `undefined` where applicable.
- Enhanced type definitions and interfaces for better clarity and maintainability.
- Ensured that all generated code comments remain intact and unchanged.
- Updated Release struct to include optional fields for artist credit, track count, and release group.
- Introduced ReleaseGroup struct for better organization of release data.
- Modified scrobble function to utilize MusicBrainzClient passed as a parameter, improving dependency management.
- Implemented search_musicbrainz_recording function to streamline MusicBrainz recording searches and handle errors gracefully.
- Enhanced caching mechanism for MusicBrainz responses to reduce redundant API calls.
- Improved query construction for MusicBrainz searches to include status filtering.
- Added tests for MusicBrainz client and release selection logic to ensure reliability.
- Refactored artist credit handling in Track conversion for better safety and clarity.
- Updated dependencies in Cargo.toml for improved functionality and testing capabilities.
- Replaced all instances of `println!` and `eprintln!` with `tracing::info!`, `tracing::warn!`, and `tracing::error!` for better structured logging.
- Updated log messages to include relevant context and structured fields for improved traceability.
- Ensured consistent logging practices across the `jetstream`, `scrobbler`, and `webscrobbler` crates.
- Updated string literals from double quotes to single quotes in various files for consistency.
- Changed import statements to use `import type` for type-only imports in multiple modules.
- Removed unnecessary initializations of variables to `undefined` where applicable.
- Enhanced type definitions and interfaces for better clarity and maintainability.
- Ensured that all generated code comments remain intact and unchanged.