diff --git a/modules/server/containers/apps/servarr.nix b/modules/server/containers/apps/servarr.nix index 70f8bcb..f7edbe6 100644 --- a/modules/server/containers/apps/servarr.nix +++ b/modules/server/containers/apps/servarr.nix @@ -327,8 +327,8 @@ in -H "X-Api-Key: $SONARR__AUTH__APIKEY" -H 'X-Sonarr-Client: true' \ -H 'Accept: application/json' -H 'Content-Type: application/json') - FORMAT_ID_2160=$(echo "$SONARR_CF" | ${pkgs.jq}/bin/jq -r '.[] | select(.name == "ORIG_1080") | .id') - FORMAT_ID_1080=$(echo "$SONARR_CF" | ${pkgs.jq}/bin/jq -r '.[] | select(.name == "ORIG_2160") | .id') + FORMAT_ID_1080=$(echo "$SONARR_CF" | ${pkgs.jq}/bin/jq -r '.[] | select(.name == "ORIG_1080") | .id') + FORMAT_ID_2160=$(echo "$SONARR_CF" | ${pkgs.jq}/bin/jq -r '.[] | select(.name == "ORIG_2160") | .id') FORMAT_ID_SUBS=$(echo "$SONARR_CF" | ${pkgs.jq}/bin/jq -r '.[] | select(.name == "SUBS") | .id') FORMAT_ID_LANG=$(echo "$SONARR_CF" | ${pkgs.jq}/bin/jq -r '.[] | select(.name == "LANG_OTHER") | .id')