Fix really ugly bug

- artwork queue was initiated and stuck in endless loop
This commit is contained in:
tomkat83 2016-10-26 20:33:13 +02:00
parent 5bf74f8bbb
commit 7b0ec13297

View file

@ -13,7 +13,6 @@ import xbmcgui
import xbmcvfs import xbmcvfs
import xbmcplugin import xbmcplugin
import artwork
from utils import window, settings, language as lang from utils import window, settings, language as lang
from utils import tryDecode, tryEncode, CatchExceptions from utils import tryDecode, tryEncode, CatchExceptions
import clientinfo import clientinfo
@ -469,7 +468,8 @@ def BrowseContent(viewname, browse_type="", folderid=""):
xbmcplugin.endOfDirectory(handle=int(sys.argv[1])) xbmcplugin.endOfDirectory(handle=int(sys.argv[1]))
##### CREATE LISTITEM FROM EMBY METADATA ##### ##### CREATE LISTITEM FROM EMBY METADATA #####
def createListItemFromEmbyItem(item,art=artwork.Artwork(),doUtils=downloadutils.DownloadUtils()): # def createListItemFromEmbyItem(item,art=artwork.Artwork(),doUtils=downloadutils.DownloadUtils()):
def createListItemFromEmbyItem(item,art=None,doUtils=downloadutils.DownloadUtils()):
API = PlexAPI.API(item) API = PlexAPI.API(item)
itemid = item['Id'] itemid = item['Id']