Skip to content

Refactor services to support cancellation tokens and improve error ha…#104

Merged
standleypg merged 1 commit into
masterfrom
platform-health
Jul 12, 2026
Merged

Refactor services to support cancellation tokens and improve error ha…#104
standleypg merged 1 commit into
masterfrom
platform-health

Conversation

@standleypg

Copy link
Copy Markdown
Collaborator

…ndling

  • Updated RadioSourceService to use asynchronous fetching with cancellation support.
  • Modified SoundCloudService to initialize with cancellation tokens and handle exceptions more gracefully.
  • Enhanced StatisticsService to log errors using ILogger and improved song fetching logic.
  • Adjusted UserService to handle nullable LastPlayed dates correctly.
  • Refactored YoutubeService to accept cancellation tokens in various methods and improved error handling.
  • Added integration tests for BlacklistService and StatisticsService to ensure correct functionality.
  • Created PostgresFixture for integration tests with a shared PostgreSQL container.
  • Implemented unit tests for event handling and music player services to ensure correct behavior.
  • Updated DependencyInjection to register MusicPlayerBackgroundService and related services.
  • Added Ffmpeg configuration to appsettings for audio processing.

…ndling

- Updated RadioSourceService to use asynchronous fetching with cancellation support.
- Modified SoundCloudService to initialize with cancellation tokens and handle exceptions more gracefully.
- Enhanced StatisticsService to log errors using ILogger and improved song fetching logic.
- Adjusted UserService to handle nullable LastPlayed dates correctly.
- Refactored YoutubeService to accept cancellation tokens in various methods and improved error handling.
- Added integration tests for BlacklistService and StatisticsService to ensure correct functionality.
- Created PostgresFixture for integration tests with a shared PostgreSQL container.
- Implemented unit tests for event handling and music player services to ensure correct behavior.
- Updated DependencyInjection to register MusicPlayerBackgroundService and related services.
- Added Ffmpeg configuration to appsettings for audio processing.
@standleypg
standleypg merged commit 8f8a299 into master Jul 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant