Import multiple tracks from command line
This commit is contained in:
parent
ccbe8fdb1b
commit
8fa85dd47f
@ -62,7 +62,9 @@ def create_track_from_file(session, path, verbose=False):
|
||||
"""
|
||||
|
||||
if verbose:
|
||||
INFO(f"Importing {path}...")
|
||||
str = f"Importing {path}"
|
||||
INFO(str)
|
||||
INFO("-" * len(str))
|
||||
track = Tracks.get_or_create(session, path)
|
||||
if verbose:
|
||||
INFO("Get track info...")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user