diff --git a/docs/conf.py b/docs/conf.py index 8935244..83e0082 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -3,9 +3,7 @@ # This file only contains a selection of the most common options. For a full # list see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html - # -- Path setup -------------------------------------------------------------- - # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. @@ -13,7 +11,6 @@ # import os # import sys # sys.path.insert(0, os.path.abspath('.')) - # -- Project information ----------------------------------------------------- project = "librespot-python" diff --git a/librespot/metadata/AlbumId.py b/librespot/metadata/AlbumId.py index 14efec8..2316014 100644 --- a/librespot/metadata/AlbumId.py +++ b/librespot/metadata/AlbumId.py @@ -2,7 +2,8 @@ from __future__ import annotations import re -from librespot.common import Base62, Utils +from librespot.common import Base62 +from librespot.common import Utils from librespot.metadata import SpotifyId diff --git a/librespot/metadata/ArtistId.py b/librespot/metadata/ArtistId.py index e3a8c68..414e77e 100644 --- a/librespot/metadata/ArtistId.py +++ b/librespot/metadata/ArtistId.py @@ -2,7 +2,8 @@ from __future__ import annotations import re -from librespot.common import Base62, Utils +from librespot.common import Base62 +from librespot.common import Utils from librespot.metadata import SpotifyId diff --git a/librespot/metadata/ShowId.py b/librespot/metadata/ShowId.py index 1ec25c1..e98f6a8 100644 --- a/librespot/metadata/ShowId.py +++ b/librespot/metadata/ShowId.py @@ -2,7 +2,8 @@ from __future__ import annotations import re -from librespot.common import Base62, Utils +from librespot.common import Base62 +from librespot.common import Utils from librespot.metadata import SpotifyId diff --git a/librespot/player/Player.py b/librespot/player/Player.py index 5def457..9d553a4 100644 --- a/librespot/player/Player.py +++ b/librespot/player/Player.py @@ -5,7 +5,8 @@ import sched import time 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 diff --git a/librespot/player/StateWrapper.py b/librespot/player/StateWrapper.py index 148ee49..f9d3473 100644 --- a/librespot/player/StateWrapper.py +++ b/librespot/player/StateWrapper.py @@ -2,11 +2,14 @@ from __future__ import annotations 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): diff --git a/librespot/player/state/DeviceStateHandler.py b/librespot/player/state/DeviceStateHandler.py index 17156ba..68a68ec 100644 --- a/librespot/player/state/DeviceStateHandler.py +++ b/librespot/player/state/DeviceStateHandler.py @@ -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: