fixed track name

This commit is contained in:
Alexander Karpov 2024-01-19 11:11:27 +03:00
parent d3b1fe5fa1
commit 0189377aeb

View File

@ -61,9 +61,7 @@ def load_track(
# Check if title is in name # Check if title is in name
if title in name_clean: if title in name_clean:
name = search_info["title"] name = search_info["title"]
elif name: elif not name:
name = name
else:
name = process_track_name(" ".join(p_name.strip().split("-"))) name = process_track_name(" ".join(p_name.strip().split("-")))
if not name: if not name: