fix playlist reindex after PendingList refactor

This commit is contained in:
simon 2022-03-26 18:31:00 +07:00
parent fcadb5ead8
commit f15bb50cfe
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

View File

@ -221,6 +221,7 @@ class Reindex:
print(f"reindexing {len(self.all_playlist_ids)} playlists")
if self.all_playlist_ids:
handler = PendingList()
handler.get_download()
handler.get_indexed()
all_indexed_ids = [i["youtube_id"] for i in handler.all_videos]
for playlist_id in self.all_playlist_ids: