Methode "Kodiitem" modifiziert 2.0
This commit is contained in:
parent
69704d4daf
commit
2707b19583
2 changed files with 12 additions and 1 deletions
|
|
@ -62,7 +62,12 @@ class kodi():
|
||||||
return koditems
|
return koditems
|
||||||
|
|
||||||
items = {"episode": "","width": "","duration":"","type":""}
|
items = {"episode": "","width": "","duration":"","type":""}
|
||||||
wz = kodi()
|
|
||||||
|
|
||||||
|
sz = kodi("10.0.1.101")
|
||||||
|
wz = kodi("10.0.1.102")
|
||||||
|
|
||||||
|
print(sz.kodiitem())
|
||||||
|
print(sz.JSON_holen)
|
||||||
print(wz.kodiitem())
|
print(wz.kodiitem())
|
||||||
print(wz.JSON_holen)
|
print(wz.JSON_holen)
|
||||||
|
|
||||||
|
|
|
||||||
6
Sound_lib.py
Normal file
6
Sound_lib.py
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
from libsoundtouch import discover_devices
|
||||||
|
|
||||||
|
devices = discover_devices(timeout=2) # Default timeout is 5 seconds
|
||||||
|
|
||||||
|
for device in devices:
|
||||||
|
print(device.config.name + " - " + device.config.type)
|
||||||
Loading…
Add table
Add a link
Reference in a new issue