github therobbiedavis/Listenarr 0.1.35
Canary 0.1.35

latest releases: 0.2.45, 0.2.44, 0.2.40...
pre-release2 months ago

This pull request improves the robustness of entity property conversions in listenarr.api/Models/ListenArrDbContext.cs by ensuring that deserialization gracefully handles empty or null database values. The changes prevent errors during deserialization and ensure properties are initialized with empty collections when appropriate.

Improvements to deserialization and property initialization:

  • Updated JSON deserialization for properties like Metadata, Qualities, JobData, and ProcessingLog to check for null or whitespace before attempting to deserialize, defaulting to empty collections when necessary. [1] [2] [3] [4]
  • Enhanced string-to-list conversions for properties such as PreferredFormats, PreferredWords, MustNotContain, MustContain, and PreferredLanguages to return empty lists when the database value is null or whitespace, preventing exceptions and ensuring consistent initialization. [1] [2] [3] [4] [5]

Automated canary build

  • Version: 0.1.35
  • Commit: bb6ccae
  • Original PR: #80

Don't miss a new Listenarr release

NewReleases is sending notifications on new releases.