mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-24 17:56:11 +00:00
revert etag use as the API does not currently return the etag when
getting a collection of items (eg all episodes of a tv show).
This commit is contained in:
parent
ba5211dcb8
commit
bc09e570fd
1 changed files with 13 additions and 13 deletions
|
@ -124,9 +124,9 @@ class API():
|
|||
# else just add some fields to a string
|
||||
checksum = ""
|
||||
|
||||
if item.get("Etag") != None:
|
||||
checksum = item.get("Etag")
|
||||
else:
|
||||
#if item.get("Etag") != None:
|
||||
#checksum = item.get("Etag")
|
||||
#else:
|
||||
userData = item.get("UserData")
|
||||
if(userData != None):
|
||||
checksum += str(userData.get("Played"))
|
||||
|
|
Loading…
Reference in a new issue