From b0a73c9038c3febf5fd2cba2f8f92a3f21663cb5 Mon Sep 17 00:00:00 2001 From: Eric B Munson Date: Wed, 17 Jan 2024 15:14:01 -0500 Subject: [PATCH] Fix corrupted version string Signed-off-by: Eric B Munson --- CHANGELOG.md | 4 ++++ README.md | 3 +-- src/libopensonic/_version.py | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 234de42..8268530 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +##4.0.5 + +Fiddly bits of packaging... + ##4.0.4 Protect against missing headers in response diff --git a/README.md b/README.md index d86dbfb..85ce556 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,6 @@ and then get a couple of random songs. ```python #!/usr/bin/env python -from pprint import pprint import libopensonic # We pass in the base url, the username, password, and port number @@ -45,7 +44,7 @@ conn = libopensonic.Connection('https://music.example.com' , 'myuser' , # Let's get 2 completely random songs songs = conn.getRandomSongs(size=2) # We'll just pretty print the results we got to the terminal -pprint(songs) +print(songs[0].to_dict()) ``` As you can see, it's really pretty simple. If you use the documentation diff --git a/src/libopensonic/_version.py b/src/libopensonic/_version.py index b01e464..99c7710 100644 --- a/src/libopensonic/_version.py +++ b/src/libopensonic/_version.py @@ -17,4 +17,4 @@ #Semantic versioning string for the library -__version__ = '4.0.3' +__version__ = '4.0.5'