Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
- Performing a Container.Update in the internal playlist window should be avoided
  • Loading branch information
MoojMidge committed Jan 1, 2024
1 parent 2787809 commit b2be81a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions resources/lib/youtube_plugin/kodion/items/menu_items.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def more_for_video(context, video_id, logged_in=False, refresh_container=False):
def related_videos(context, video_id):
return (
context.localize('related_videos'),
'Container.Update({0})'.format(context.create_uri(
'ActivateWindow(Videos, {0}, return)'.format(context.create_uri(
('special', 'related_videos',),
{
'video_id': video_id,
Expand All @@ -42,7 +42,7 @@ def related_videos(context, video_id):
def video_comments(context, video_id):
return (
context.localize('video.comments'),
'Container.Update({0})'.format(context.create_uri(
'ActivateWindow(Videos, {0}, return)'.format(context.create_uri(
('special', 'parent_comments',),
{
'video_id': video_id,
Expand Down Expand Up @@ -302,7 +302,7 @@ def watch_later_local_clear(context):
def go_to_channel(context, channel_id, channel_name):
return (
context.localize('go_to_channel') % context.get_ui().bold(channel_name),
'Container.Update({0})'.format(context.create_uri(
'ActivateWindow(Videos, {0}, return)'.format(context.create_uri(
('channel', channel_id,)
))
)
Expand Down

0 comments on commit b2be81a

Please sign in to comment.