type "Stream" zu Methode kodiitem hinzugefügt
This commit is contained in:
parent
5079f6393a
commit
7925de9ea6
1 changed files with 3 additions and 1 deletions
|
|
@ -1,5 +1,4 @@
|
|||
import urllib.request
|
||||
import time
|
||||
|
||||
class kodi():
|
||||
def __init__(self,url="10.0.1.102"):
|
||||
|
|
@ -66,9 +65,12 @@ class kodi():
|
|||
elif koditems["type"] == "unknown":
|
||||
koditems["season"] = ""
|
||||
koditems["episode"] = ""
|
||||
if koditems["type"]=="unknown" and koditems["label"]!="":
|
||||
print("Stream?!")
|
||||
return koditems
|
||||
|
||||
koditems = {"episode": "", "width": "","label": ""}
|
||||
a = kodi()
|
||||
|
||||
print(a.kodiitem())
|
||||
print(a.JSON_holen)
|
||||
Loading…
Add table
Add a link
Reference in a new issue