Skip to content

Commit

Permalink
Fixed another crash in video_id search
Browse files Browse the repository at this point in the history
  • Loading branch information
Tutislav committed Jun 17, 2022
1 parent 1f292c3 commit e0a1649
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions neodeemer/songinfoloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,10 @@ def track_find_video_id(self, track_dict):
except:
sleep(2)
continue
else:
if len(videos) == 0:
sleep(2)
continue
suitable_videos = []
for video in videos:
video_channel = norm(video["channel"])
Expand Down

0 comments on commit e0a1649

Please sign in to comment.