diff --git a/librespot/core/Session.py b/librespot/core/Session.py index 79f1276..7519503 100644 --- a/librespot/core/Session.py +++ b/librespot/core/Session.py @@ -987,7 +987,7 @@ class Session(Closeable, SubListener, DealerClient.MessageListener): self.session._scheduledReconnect) def anonymous(): - self._LOGGER.warning( + self.session._LOGGER.warning( "Socket timed out. Reconnecting...") self.session._reconnect() diff --git a/librespot/metadata/ShowId.py b/librespot/metadata/ShowId.py index 41a823f..e14ec8a 100644 --- a/librespot/metadata/ShowId.py +++ b/librespot/metadata/ShowId.py @@ -7,7 +7,7 @@ from librespot.common import Utils from librespot.metadata import SpotifyId -class ShowId(SpotifyId.SpotifyId): +class ShowId(SpotifyId): _PATTERN = re.compile("spotify:show:(.{22})") _BASE62 = Base62.create_instance_with_inverted_character_set() _hexId: str