Skip to content

Commit

Permalink
Fix hanging of Kodi after adding or removing from My List
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelarnauts committed Oct 16, 2019
1 parent c2bb1f8 commit 9410400
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions resources/lib/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,7 @@ def kids_mylist_add(video_type, content_id):
def mylist_add(video_type, content_id):
""" Add an item to My List. """
vtm_go.add_mylist(video_type, content_id)
kodi.end_of_directory()


@routing.route('/kids/mylist/del/<video_type>/<content_id>')
Expand All @@ -443,6 +444,7 @@ def kids_mylist_del(video_type, content_id):
def mylist_del(video_type, content_id):
""" Remove an item from My List. """
vtm_go.del_mylist(video_type, content_id)
kodi.end_of_directory()


@routing.route('/kids/catalog')
Expand Down

0 comments on commit 9410400

Please sign in to comment.