JagandeepBrar / lunasea

Self-hosted software controller built using Flutter
https://www.lunasea.app
GNU General Public License v3.0
1.32k stars 64 forks source link

[Bug] Triggering Sonarr download of searched release throws Error #784

Open gradylogic opened 1 month ago

gradylogic commented 1 month ago

Describe the Bug On the iOS app, doing a manual search for an episode of a TV show, and then attempting to start downloading that release, results in an error: type 'List<dynamic>' is not a subtype of type 'Map<String, dynamic>'

To Reproduce Manually search for releases from Sonarr. Seems like the expected input here https://github.com/JagandeepBrar/lunasea/blob/5d069a537a9f206e41f0dbe842f1b9eb2fe02795/lib/api/sonarr/controllers/release/add_release.dart#L15 is a Map but it's responding with a List?

Expected Behaviour Expected to download with no error

Screenshots IMG_8090

Versions version 10.2.6, platform iOS, channel Stable, BUILD 1000001068 Sonarr version 3.0.10.1567

Additional context Happy to provide anything additional if requested.