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):
addon = self.addon
try:
# Item can be played directly
playurl = result[u'MediaSources'][0][u'Path']

View file

@ -58,7 +58,7 @@ class PlaybackUtils():
playurl = PlayUtils().getPlayUrl(server, id, result)
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.")
return