Restyled by reorder-python-imports
This commit is contained in:
@@ -6,7 +6,8 @@ import time
|
||||
import typing
|
||||
|
||||
from librespot.core.Session import Session
|
||||
from librespot.player import PlayerConfiguration, StateWrapper
|
||||
from librespot.player import PlayerConfiguration
|
||||
from librespot.player import StateWrapper
|
||||
from librespot.player.metrics import PlaybackMetrics
|
||||
from librespot.player.mixing import AudioSink
|
||||
from librespot.player.playback.PlayerSession import PlayerSession
|
||||
|
||||
@@ -4,11 +4,14 @@ import typing
|
||||
|
||||
from librespot.core import Session
|
||||
from librespot.dealer import DealerClient
|
||||
from librespot.player import Player, PlayerConfiguration
|
||||
from librespot.player import Player
|
||||
from librespot.player import PlayerConfiguration
|
||||
from librespot.player.state import DeviceStateHandler
|
||||
from librespot.proto import Connect
|
||||
from librespot.proto.Player import (ContextPlayerOptions, PlayerState,
|
||||
Restrictions, Suppressions)
|
||||
from librespot.proto.Player import ContextPlayerOptions
|
||||
from librespot.proto.Player import PlayerState
|
||||
from librespot.proto.Player import Restrictions
|
||||
from librespot.proto.Player import Suppressions
|
||||
|
||||
|
||||
class StateWrapper(DeviceStateHandler.Listener, DealerClient.MessageListener):
|
||||
|
||||
@@ -11,7 +11,8 @@ import urllib.parse
|
||||
from librespot.common import Utils
|
||||
from librespot.core import Session
|
||||
from librespot.player import PlayerConfiguration
|
||||
from librespot.proto import Connect, Player
|
||||
from librespot.proto import Connect
|
||||
from librespot.proto import Player
|
||||
|
||||
|
||||
class DeviceStateHandler:
|
||||
|
||||
Reference in New Issue
Block a user