Restyled by isort

This commit is contained in:
Restyled.io
2021-05-22 01:26:35 +00:00
parent 544c57ff1f
commit adb111fa8b
32 changed files with 100 additions and 105 deletions

View File

@@ -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

View File

@@ -1,4 +1,5 @@
from __future__ import annotations
from librespot.audio.decoders import AudioQuality

View File

@@ -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):

View File

@@ -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

View File

@@ -1 +1,2 @@
from librespot.player.codecs.VorbisOnlyAudioQuality import VorbisOnlyAudioQuality
from librespot.player.codecs.VorbisOnlyAudioQuality import \
VorbisOnlyAudioQuality

View File

@@ -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: