Skip to content

Commit

Permalink
Fix unsubscribe from My Subscriptions #809
Browse files Browse the repository at this point in the history
  • Loading branch information
MoojMidge committed Jun 20, 2024
1 parent 4603bd7 commit d767b75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/lib/youtube_plugin/youtube/helper/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ def update_video_infos(provider, context, video_id_dict,

# update channel mapping
channel_id = snippet.get('channelId', '')
video_item.set_subscription_id(channel_id)
video_item.set_channel_id(channel_id)
if channel_id and channel_items_dict is not None:
if channel_id not in channel_items_dict:
channel_items_dict[channel_id] = []
Expand Down

0 comments on commit d767b75

Please sign in to comment.