mirror of
https://github.com/tubearchivist/tubearchivist.git
synced 2024-12-22 09:50:12 +00:00
fix filesysem rescan function
This commit is contained in:
parent
b68a00073f
commit
3ba6e0478d
@ -52,7 +52,6 @@ class PendingIndex:
|
|||||||
|
|
||||||
def get_indexed(self):
|
def get_indexed(self):
|
||||||
"""get a list of all videos indexed"""
|
"""get a list of all videos indexed"""
|
||||||
self.all_videos = []
|
|
||||||
data = {
|
data = {
|
||||||
"query": {"match_all": {}},
|
"query": {"match_all": {}},
|
||||||
"sort": [{"published": {"order": "desc"}}],
|
"sort": [{"published": {"order": "desc"}}],
|
||||||
|
@ -59,6 +59,7 @@ class FilesystemScanner:
|
|||||||
def get_all_indexed():
|
def get_all_indexed():
|
||||||
"""get a list of all indexed videos"""
|
"""get a list of all indexed videos"""
|
||||||
index_handler = PendingList()
|
index_handler = PendingList()
|
||||||
|
index_handler.get_download()
|
||||||
index_handler.get_indexed()
|
index_handler.get_indexed()
|
||||||
|
|
||||||
all_indexed = []
|
all_indexed = []
|
||||||
|
Loading…
Reference in New Issue
Block a user