mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
throw doanload error
This commit is contained in:
parent
3003ecbdca
commit
f1aaed636d
1 changed files with 1 additions and 11 deletions
|
@ -110,17 +110,7 @@ class Read_EmbyServer():
|
|||
|
||||
def getItem(self, itemid):
|
||||
# This will return the full item
|
||||
item = {}
|
||||
|
||||
try:
|
||||
result = self.doUtils.downloadUrl("{server}/emby/Users/{UserId}/Items/%s?format=json" % itemid)
|
||||
except Exception as error:
|
||||
log.info("Error getting item from server: " + str(error))
|
||||
result = None
|
||||
|
||||
if result is not None:
|
||||
item = result
|
||||
|
||||
item = self.doUtils.downloadUrl("{server}/emby/Users/{UserId}/Items/%s?format=json" % itemid)
|
||||
return item
|
||||
|
||||
def getItems(self, item_list):
|
||||
|
|
Loading…
Reference in a new issue