v0.94.0: a playlist made from a Spotify or Apple Music link keeps the link's cover image (stored, not shown yet)
This commit is contained in:
@@ -154,7 +154,7 @@ def window(qapp, tmp_path, fake, monkeypatch):
|
||||
win.close()
|
||||
|
||||
|
||||
def _import(window, qapp, monkeypatch, ids, name="Road Trip"):
|
||||
def _import(window, qapp, monkeypatch, ids, name="Road Trip", cover=""):
|
||||
from lintunes.gui import main_window as mw
|
||||
chosen = [{"id": i, "title": f"Song {i}",
|
||||
"url": f"https://www.youtube.com/watch?v={i}"} for i in ids]
|
||||
@@ -169,6 +169,9 @@ def _import(window, qapp, monkeypatch, ids, name="Road Trip"):
|
||||
return False
|
||||
def new_playlist_name(self):
|
||||
return name
|
||||
|
||||
def new_playlist_cover(self):
|
||||
return cover
|
||||
def chosen_entries(self):
|
||||
return chosen
|
||||
def spotify_tracks(self):
|
||||
|
||||
Reference in New Issue
Block a user