Merge pull request #88 from Maven85/master
authorSebastian Golasch <public@asciidisco.com>
Mon, 7 Aug 2017 18:14:27 +0000 (20:14 +0200)
committerGitHub <noreply@github.com>
Mon, 7 Aug 2017 18:14:27 +0000 (20:14 +0200)
fix(navigation): fixes problems with play back files from library

resources/lib/Navigation.py

index e233c0bed61221d7a7df53c21c60a3252f0374c6..ea6e81bdfaa7e798ca598e27e35ba7332047bb0c 100644 (file)
@@ -106,7 +106,7 @@ class Navigation:
             # display the lists (recommendations, genres, etc.)
             return self.show_user_list(type=params['type'])
         elif params['action'] == 'play_video':
-            self.play_video(video_id=params['video_id'], start_offset=params.get('start_offset', -1), infoLabels=params['infoLabels'])
+            self.play_video(video_id=params['video_id'], start_offset=params.get('start_offset', -1), infoLabels=params.get('infoLabels', {}))
         elif params['action'] == 'user-items' and params['type'] == 'search':
             # if the user requested a search, ask for the term
             term = self.kodi_helper.show_search_term_dialog()