From 241a05e506440ba69f0de82ee33f4ccee323f018 Mon Sep 17 00:00:00 2001 From: noahhusby <32528627+noahhusby@users.noreply.github.com> Date: Tue, 10 Sep 2024 18:36:00 -0400 Subject: [PATCH 1/2] fix: add models to export --- aiostreammagic/__init__.py | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/aiostreammagic/__init__.py b/aiostreammagic/__init__.py index 21bb94e..35e92b4 100644 --- a/aiostreammagic/__init__.py +++ b/aiostreammagic/__init__.py @@ -1,7 +1,17 @@ """Asynchronous Python client for StreamMagic API.""" from .exceptions import StreamMagicError, StreamMagicConnectionError -from .models import Info, PlayStateMetadata, PlayState, State, Source +from .models import ( + Info, + PlayStateMetadata, + PlayState, + State, + Source, + NowPlaying, + TransportControl, + RepeatMode, + ShuffleMode, +) from .stream_magic import StreamMagicClient __all__ = [ @@ -13,4 +23,8 @@ "State", "PlayState", "PlayStateMetadata", + "NowPlaying", + "TransportControl", + "ShuffleMode", + "RepeatMode", ] From a4fcb5488311cacfe504873d982f35d13e581900 Mon Sep 17 00:00:00 2001 From: noahhusby <32528627+noahhusby@users.noreply.github.com> Date: Tue, 10 Sep 2024 18:36:24 -0400 Subject: [PATCH 2/2] bump to 2.2.1 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 9c9ba2c..53a7a54 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "aiostreammagic" -version = "2.2.0" +version = "2.2.1" description = "An async python package for interfacing with Cambridge Audio / Stream Magic compatible streamers." authors = ["Noah Husby <32528627+noahhusby@users.noreply.github.com>"] maintainers = ["Noah Husby <32528627+noahhusby@users.noreply.github.com>"]