diff --git a/shared/debrid.py b/shared/debrid.py index f201834..636596e 100644 --- a/shared/debrid.py +++ b/shared/debrid.py @@ -190,6 +190,8 @@ def _getInstantAvailability(self, refresh=False): instantAvailabilities = instantAvailabilityRequest.json() self.print('instantAvailabilities:', instantAvailabilities) + if not instantAvailabilities: return + instantAvailabilityHosters = next(iter(instantAvailabilities.values())) if not instantAvailabilityHosters: return