parent
1a16b1022d
commit
a72a86cfcc
@ -77,7 +77,7 @@ def create_track_from_file(session, path, interactive=False):
|
|||||||
INFO(f" Artist: \"{artist}\"")
|
INFO(f" Artist: \"{artist}\"")
|
||||||
# Check for duplicate
|
# Check for duplicate
|
||||||
tracks = Tracks.search_titles(session, title)
|
tracks = Tracks.search_titles(session, title)
|
||||||
if tracks:
|
if interactive and tracks:
|
||||||
print("Found the following possible matches:")
|
print("Found the following possible matches:")
|
||||||
for track in tracks:
|
for track in tracks:
|
||||||
print(f'"{track.title}" by {track.artist}')
|
print(f'"{track.title}" by {track.artist}')
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user