Made the tracks get copied into the library on import.

This commit is contained in:
The Wobbler 2025-03-07 20:27:18 +01:00
parent 259b453358
commit 4ae398c6aa
3 changed files with 43 additions and 3 deletions

View file

@ -40,7 +40,10 @@ class Popups:
self.app.library.open_tracks(files)
def import_tracks(self):
self.open_tracks() # placeholder
files = self.select_audio_files()
if files is not None and not files == []:
self.app.library.import_tracks(files)
def open_playlist(self):
playlist_path = self.select_playlist_file()