rommapp / romm

A beautiful, powerful, self-hosted rom manager
https://romm.app
GNU Affero General Public License v3.0
1.63k stars 76 forks source link

[Feature] Automatic resumption of scanning in case of an error about disconnecting from IGDB. #861

Open Druidblack opened 2 months ago

Druidblack commented 2 months ago

Is your feature request related to a problem? Please describe. When scanning, I sometimes have connection breaks with IGDB. I would like the program to monitor this state and resume scanning automatically after a while.

Additional context 89e5c2fddc1606f9

berturion commented 1 month ago

This feature is very important to me.

I have romm 3.2.0 (romm:latest in my compose). When I launch a scan IGDB enabled or not, it always fails after around 150-200 roms. And the scan is stopped.

When IGDB is enabled, I have the error mentioned here : https://github.com/rommapp/romm/issues/867#issuecomment-2125306109

When IGDB is not enabled, I have this error:

Jun 25 09:06:57 sheldon docker/romm[2166]: CRITICAL: [RomM][2024-06-25 07:06:57] Connection error: can't connect to IGDB
Jun 25 09:06:57 sheldon docker/romm[2166]: ERROR:          [RomM][2024-06-25 07:06:57] 503: Can't connect to IGDB, check your internet connection.

The only way to avoid IGDB API errors is to not configure the corresponding API in the compose.yml file.

There is two things to do with this feature:

  1. Disabling a source (IGDB or MobyGames) when launching a scan should completely disable connexion to IGDB
  2. An API error should not end the scanning process while there are still sources available and working (MobyGames for exemple)