Correction to the http dialog

However still unsure there's a bug. The only way the dialog will show up
is if xbmcvfs.exists() returned false. Still waiting for someone to post
a debug log.
This commit is contained in:
angelblue05 2015-07-23 03:18:17 -05:00
parent 097d48c2c4
commit 4a6c5c10ac
2 changed files with 18 additions and 8 deletions

View file

@ -31,6 +31,8 @@ class PlaybackUtils():
language = addon.getLocalizedString
logLevel = 0
downloadUtils = DownloadUtils()
WINDOW.clearProperty('playurlFalse')
def __init__(self, *args):
pass
@ -90,8 +92,8 @@ class PlaybackUtils():
return self.AddToPlaylist(itemsToPlay)
playurl = PlayUtils().getPlayUrl(server, id, result)
if playurl == False:
#xbmcgui.Dialog().ok('Warning', 'Failed to launch playback.')
if playurl == False or WINDOW.getProperty('playurlFalse') == "true":
WINDOW.clearProperty('playurlFalse')
xbmc.log("Failed to retrieve the playback path/url.")
return