mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-18 14:16:13 +00:00
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:
parent
097d48c2c4
commit
4a6c5c10ac
2 changed files with 18 additions and 8 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue