forked from Wobbl/Wobuzz
Implemented importing of playlists via the menubar.
This commit is contained in:
parent
37f1ea3ff8
commit
5c7f4c4ef7
3 changed files with 32 additions and 2 deletions
|
@ -112,3 +112,12 @@ class Library:
|
|||
|
||||
playlist.load()
|
||||
|
||||
def import_playlist(self, playlist_path: str):
|
||||
playlist = Playlist(self.app, "Temporary Playlist", playlist_path)
|
||||
|
||||
self.replace_temporary_playlist(playlist)
|
||||
|
||||
self.load_playlist_views()
|
||||
|
||||
playlist.load()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue