Add Zeroconf Support

* still not working
This commit is contained in:
kokarare1212
2021-09-13 21:04:50 +09:00
parent 928685f296
commit 1dd7816590
4 changed files with 310 additions and 1 deletions

View File

@@ -1,5 +1,7 @@
from __future__ import annotations
from librespot.crypto import DiffieHellman
from librespot.proto.Keyexchange_pb2 import BuildInfo, Platform, Product, ProductFlags
from librespot.structure import Closeable, Runnable
import platform
@@ -29,4 +31,4 @@ class Version:
return BuildInfo(product=Product.PRODUCT_CLIENT,
product_flags=[ProductFlags.PRODUCT_FLAG_NONE],
platform=Version.platform(),
version=112800721)
version=112800721)