github therobbiedavis/Listenarr 0.2.22
Canary 0.2.22

latest releases: 0.2.45, 0.2.44, 0.2.40...
pre-releaseone month ago

This pull request addresses issues with Discord bot integration by updating the database schema and cleaning up backend warnings. The most important changes include adding missing Discord-related columns to the ApplicationSettings table to prevent SQLite migration errors, and silencing compiler warnings in DiscordBotService by making certain async methods return completed tasks.

Database migration improvements:

  • Added migration 20251108121500_AddDiscordSettingsToApplicationSettings.cs to add Discord-related columns (DiscordApplicationId, DiscordBotAvatar, DiscordBotEnabled, DiscordBotToken, DiscordBotUsername, DiscordChannelId, DiscordCommandGroupName, DiscordCommandSubcommandName, DiscordGuildId) to the ApplicationSettings table, ensuring compatibility with older databases and preventing runtime SQLite errors.

Backend warning cleanup:

  • Updated DiscordBotService.cs to silence CS1998 compiler warnings by making StopBotAsync and IsBotRunningAsync return Task.FromResult(...) instead of being marked async without any awaits. This ensures proper async method signatures without unnecessary warnings. [1] [2]

Documentation:

  • Added a changelog entry for version 0.2.22 documenting the database migration and backend warning cleanup.Introduces new migration to add Discord-related configuration fields to the ApplicationSettings table. Refactors DiscordBotService methods StopBotAsync and IsBotRunningAsync to return Task<bool> synchronously instead of using async/await.

Automated canary build

Don't miss a new Listenarr release

NewReleases is sending notifications on new releases.