We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ed818a commit 76b5c30Copy full SHA for 76b5c30
ytmusic_deleter/cli.py
@@ -204,7 +204,7 @@ def remove_library_items(library_items):
204
if id:
205
logging.debug(f"Removing album using id: {id}")
206
response = yt_auth.rate_playlist(id, common.INDIFFERENT)
207
- elif item.get("feedbackTokens") and isinstance(item.get("feedbackTokens"), dict):
+ elif item.get("feedbackTokens") and isinstance(item.get("feedbackTokens"), dict) and item.get("album"):
208
logging.debug("This is a song, removing item by removing containing album.")
209
album_browse_id = item["album"]["id"]
210
audio_playlist_id = common.get_album_audio_playlist_id(album_browse_id)
0 commit comments