diff --git a/resources/lib/youtube_plugin/youtube/helper/resource_manager.py b/resources/lib/youtube_plugin/youtube/helper/resource_manager.py index 6c7688708..01f52ee4b 100644 --- a/resources/lib/youtube_plugin/youtube/helper/resource_manager.py +++ b/resources/lib/youtube_plugin/youtube/helper/resource_manager.py @@ -296,7 +296,8 @@ def get_videos(self, playback_history = self._context.get_playback_history() played_items = playback_history.get_items(ids) for video_id, play_data in played_items.items(): - result[video_id]['play_data'] = play_data + if video_id in result: + result[video_id]['play_data'] = play_data return result