def queue_remove_from_playlist(self, idx):
ripper = self.ripper
if self.args.remove_from_playlist:
if ripper.current_playlist:
if ripper.current_playlist.owner.canonical_name == \
ripper.session.user.canonical_name:
self.tracks_to_remove.append(idx)
else:
print(Fore.RED +
"This track will not be removed from playlist " +
ripper.current_playlist.name + " since " +
ripper.session.user.canonical_name +
" is not the playlist owner..." + Fore.RESET)
else:
print(Fore.RED +
"No playlist specified to remove this track from. " +
"Did you use '-r' without a playlist link?" + Fore.RESET)
评论列表
文章目录