raise FileNotFoundError to catch for reindex

This commit is contained in:
simon
2022-02-05 09:30:34 +07:00
parent 7aaf140ccb
commit 3ef35a9d53

View File

@@ -174,7 +174,7 @@ class YoutubeVideo(YouTubeItem, YoutubeSubtitle):
vid_path = os.path.join(cache_path, file_cached)
return vid_path
return False
raise FileNotFoundError
def add_player(self):
"""add player information for new videos"""