Fix playback play from http and remember error

Still waiting for someone to post a log to troubleshoot the actual play
from http issue some people seem to be experiencing.
This commit is contained in:
angelblue05 2015-07-22 20:36:41 -05:00
parent 542679a0f0
commit 682f9418af

View file

@ -92,7 +92,7 @@ class PlayUtils():
resp = xbmcgui.Dialog().select('Warning: Unable to direct play.', ['Play from HTTP', 'Play from HTTP and remember next time.']) resp = xbmcgui.Dialog().select('Warning: Unable to direct play.', ['Play from HTTP', 'Play from HTTP and remember next time.'])
if resp == 1: if resp == 1:
# Remember next time # Remember next time
addon.setSetting('playFromStream', "true") self.addon.setSetting('playFromStream', "true")
else: else:
# User decided not to proceed. # User decided not to proceed.
self.logMsg("Unable to direct play. Verify the following path is accessible by the device: %s. You might also need to add SMB credentials in the addon settings." % result[u'MediaSources'][0][u'Path']) self.logMsg("Unable to direct play. Verify the following path is accessible by the device: %s. You might also need to add SMB credentials in the addon settings." % result[u'MediaSources'][0][u'Path'])