From 5f52aa29e4e74a717f382134a03700c6dd5139cc Mon Sep 17 00:00:00 2001 From: garret Date: Fri, 8 Sep 2023 13:35:34 +0100 Subject: add debug message for station not found --- yt_dlp_plugins/extractor/radiko.py | 1 + 1 file changed, 1 insertion(+) (limited to 'yt_dlp_plugins/extractor') diff --git a/yt_dlp_plugins/extractor/radiko.py b/yt_dlp_plugins/extractor/radiko.py index fe8d23e..7498a91 100755 --- a/yt_dlp_plugins/extractor/radiko.py +++ b/yt_dlp_plugins/extractor/radiko.py @@ -434,6 +434,7 @@ class _RadikoBaseIE(InfoExtractor): def _get_station_region(self, station): regions = self.cache.load("rajiko", "region_index") if regions is None or station not in regions: + self.write_debug(f"station {station} not found, re-indexing in case it's new") regions = self._index_regions() return regions[station] -- cgit v1.2.3-70-g09d2