diff --git a/tubearchivist/home/src/download/queue.py b/tubearchivist/home/src/download/queue.py index 26d8e216..71075a41 100644 --- a/tubearchivist/home/src/download/queue.py +++ b/tubearchivist/home/src/download/queue.py @@ -52,7 +52,6 @@ class PendingIndex: def get_indexed(self): """get a list of all videos indexed""" - self.all_videos = [] data = { "query": {"match_all": {}}, "sort": [{"published": {"order": "desc"}}], diff --git a/tubearchivist/home/src/index/filesystem.py b/tubearchivist/home/src/index/filesystem.py index 9601fdc2..0dc8302d 100644 --- a/tubearchivist/home/src/index/filesystem.py +++ b/tubearchivist/home/src/index/filesystem.py @@ -59,6 +59,7 @@ class FilesystemScanner: def get_all_indexed(): """get a list of all indexed videos""" index_handler = PendingList() + index_handler.get_download() index_handler.get_indexed() all_indexed = []