mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2026-04-27 14:00:34 +00:00
rename vars to avoid confusion
This commit is contained in:
parent
11fc40b287
commit
301e6f2087
1 changed files with 3 additions and 3 deletions
|
|
@ -121,9 +121,9 @@ class Events(object):
|
|||
is_current = params["id"] in playing_file
|
||||
else:
|
||||
queue = json.loads(window("jellyfin_play.json") or "[]")
|
||||
for item in queue:
|
||||
if item.get("Path") == playing_file:
|
||||
if item.get("Id") == params["id"]:
|
||||
for p_item in queue:
|
||||
if p_item.get("Path") == playing_file:
|
||||
if p_item.get("Id") == params["id"]:
|
||||
is_current = True
|
||||
break
|
||||
if is_current:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue