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:
@@ -363,6 +363,8 @@ def test_only_the_chosen_songs_download(window, qapp, fake, mp3_file,
|
||||
return MIX
|
||||
def add_to_playlist(self):
|
||||
return False
|
||||
def new_playlist_name(self):
|
||||
return ""
|
||||
def chosen_entries(self):
|
||||
return chosen
|
||||
def spotify_tracks(self):
|
||||
@@ -409,6 +411,8 @@ def test_one_song_gets_no_progress_window(window, qapp, fake, mp3_file,
|
||||
return "https://www.youtube.com/watch?v=aaa"
|
||||
def add_to_playlist(self):
|
||||
return False
|
||||
def new_playlist_name(self):
|
||||
return ""
|
||||
def chosen_entries(self):
|
||||
return []
|
||||
def spotify_tracks(self):
|
||||
|
||||
Reference in New Issue
Block a user