Restyled by isort
This commit is contained in:
@@ -6,8 +6,7 @@ import time
|
||||
import typing
|
||||
|
||||
from librespot.core.Session import Session
|
||||
from librespot.player import PlayerConfiguration
|
||||
from librespot.player import StateWrapper
|
||||
from librespot.player import PlayerConfiguration, StateWrapper
|
||||
from librespot.player.metrics import PlaybackMetrics
|
||||
from librespot.player.mixing import AudioSink
|
||||
from librespot.player.playback.PlayerSession import PlayerSession
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from librespot.audio.decoders import AudioQuality
|
||||
|
||||
|
||||
|
||||
@@ -4,14 +4,11 @@ import typing
|
||||
|
||||
from librespot.core import Session
|
||||
from librespot.dealer import DealerClient
|
||||
from librespot.player import Player
|
||||
from librespot.player import PlayerConfiguration
|
||||
from librespot.player import Player, PlayerConfiguration
|
||||
from librespot.player.state import DeviceStateHandler
|
||||
from librespot.proto import Connect
|
||||
from librespot.proto.Player import ContextPlayerOptions
|
||||
from librespot.proto.Player import PlayerState
|
||||
from librespot.proto.Player import Restrictions
|
||||
from librespot.proto.Player import Suppressions
|
||||
from librespot.proto.Player import (ContextPlayerOptions, PlayerState,
|
||||
Restrictions, Suppressions)
|
||||
|
||||
|
||||
class StateWrapper(DeviceStateHandler.Listener, DealerClient.MessageListener):
|
||||
|
||||
@@ -3,9 +3,9 @@ from __future__ import annotations
|
||||
import logging
|
||||
import typing
|
||||
|
||||
from librespot.audio.decoders.AudioQuality import AudioQuality
|
||||
from librespot.audio.format.AudioQualityPicker import AudioQualityPicker
|
||||
from librespot.audio.format.SuperAudioFormat import SuperAudioFormat
|
||||
from librespot.audio.decoders.AudioQuality import AudioQuality
|
||||
from librespot.proto import Metadata
|
||||
|
||||
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
from librespot.player.codecs.VorbisOnlyAudioQuality import VorbisOnlyAudioQuality
|
||||
from librespot.player.codecs.VorbisOnlyAudioQuality import \
|
||||
VorbisOnlyAudioQuality
|
||||
|
||||
@@ -11,8 +11,7 @@ import urllib.parse
|
||||
from librespot.common import Utils
|
||||
from librespot.core import Session
|
||||
from librespot.player import PlayerConfiguration
|
||||
from librespot.proto import Connect
|
||||
from librespot.proto import Player
|
||||
from librespot.proto import Connect, Player
|
||||
|
||||
|
||||
class DeviceStateHandler:
|
||||
|
||||
Reference in New Issue
Block a user