kodi platform: following jsonrpc-request version bump (0.3), let kodi file abstraction layer handle a collection item, url or file to play (#2398)

This commit is contained in:
patkap authored and Paulus Schoutsen committed 2016-06-30 16:35:20 -07:00
1 parent a57cd58675
commit 952b1a3e0c
1 file changed
+1 -1
@@ -301,4 +301,4 @@ class KodiDevice(MediaPlayerDevice):
def play_media(self, media_type, media_id, **kwargs):
"""Send the play_media command to the media player."""
self._server.Player.Open({media_type: media_id}, {})
self._server.Player.Open({"item": {"file": str(media_id)}})