v0.78.0: importing a playlist link can make a new playlist of the same name
Once a YouTube, SoundCloud or Spotify link turns out to be a named list, Import from URL offers "Make a new playlist of these songs, named …" (off unless ticked, the name editable). yt-dlp's listing now prints each entry's playlist_title; Spotify's probe hands over the album's or playlist's name. The playlist is made when the first song lands, so a link that downloads nothing leaves no empty playlist, and the songs go in in the link's order. Undoing "New Playlist" takes it all back in one step.
This commit is contained in:
@@ -347,6 +347,8 @@ class TestWindow:
|
||||
return "https://x.test/list"
|
||||
def add_to_playlist(self):
|
||||
return True
|
||||
def new_playlist_name(self):
|
||||
return ""
|
||||
monkeypatch.setattr(mw, "UrlImportDialog", _Dialog)
|
||||
|
||||
window._show_playlist("a")
|
||||
|
||||
Reference in New Issue
Block a user