Change package layout

This commit is contained in:
kokarare1212
2021-09-13 06:47:53 +09:00
parent dee69a9ee5
commit dc41f749bf
4 changed files with 7 additions and 8 deletions

View File

@@ -1,3 +1,4 @@
from __future__ import annotations
from librespot.proto.Keyexchange_pb2 import BuildInfo, Platform, Product, ProductFlags
import platform
@@ -28,4 +29,4 @@ class Version:
return BuildInfo(product=Product.PRODUCT_CLIENT,
product_flags=[ProductFlags.PRODUCT_FLAG_NONE],
platform=Version.platform(),
version=112800721)
version=112800721)

View File

@@ -1,12 +1,9 @@
from __future__ import annotations
import urllib.parse
from Cryptodome import Random
from Cryptodome.Hash import HMAC, SHA1
from Cryptodome.PublicKey import RSA
from Cryptodome.Signature import PKCS1_v1_5
from librespot import util
from librespot import util, Version
from librespot.audio import AudioKeyManager, CdnManager, PlayableContentFeeder
from librespot.audio.storage import ChannelManager
from librespot.cache import CacheManager
@@ -16,7 +13,6 @@ from librespot.metadata import AlbumId, ArtistId, EpisodeId, ShowId, TrackId
from librespot.proto import Authentication_pb2 as Authentication, Connect_pb2 as Connect, Keyexchange_pb2 as Keyexchange, Metadata_pb2 as Metadata
from librespot.proto.ExplicitContentPubsub_pb2 import UserAttributesUpdate
from librespot.structure import Closeable, MessageListener, RequestListener, SubListener
from librespot.version import Version
import base64
import concurrent.futures
import defusedxml.ElementTree
@@ -35,6 +31,7 @@ import struct
import threading
import time
import typing
import urllib.parse
import websocket