Quick fix for new playback

This commit is contained in:
angelblue05 2015-05-07 01:50:34 -05:00
parent b8334e89f2
commit 11e4b3edf9
2 changed files with 3 additions and 1 deletions

View File

@ -115,6 +115,8 @@ class PlayUtils():
def directPlay(self, result): def directPlay(self, result):
addon = self.addon
try: try:
# Item can be played directly # Item can be played directly
playurl = result[u'MediaSources'][0][u'Path'] playurl = result[u'MediaSources'][0][u'Path']

View File

@ -58,7 +58,7 @@ class PlaybackUtils():
playurl = PlayUtils().getPlayUrl(server, id, result) playurl = PlayUtils().getPlayUrl(server, id, result)
if playurl == False: if playurl == False:
xbmcgui.Dialog().ok('Warning', 'Failed to launch playback.') #xbmcgui.Dialog().ok('Warning', 'Failed to launch playback.')
xbmc.log("Failed to retrieve the playback path/url.") xbmc.log("Failed to retrieve the playback path/url.")
return return