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:
2026-11-17 19:15:36 -08:00
parent 2069e1b1d0
commit 81b6fa509f
13 changed files with 287 additions and 13 deletions
+4 -1
View File
@@ -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):