From 256aae318e9bdaf1c94baee7a36d7c2b1cc64f11 Mon Sep 17 00:00:00 2001 From: Charles Blonde Date: Wed, 5 Jul 2017 09:50:27 +0200 Subject: [PATCH] Pypi release 0.7.0 --- MANIFEST.in | 2 ++ README.md | 7 +++++++ RELEASES.rst | 12 ++++++++++-- setup.py | 4 ++-- 4 files changed, 21 insertions(+), 4 deletions(-) create mode 100644 MANIFEST.in diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..8bbac01 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,2 @@ +include README.md +include LICENSE.md \ No newline at end of file diff --git a/README.md b/README.md index 78b6b8f..9e863a2 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ This Python 2.7+/3.4+ library allows you to control [Bose Soundtouch devices](https://www.soundtouch.com/). +[http://libsoundtouch.readthedocs.io](http://libsoundtouch.readthedocs.io) + ## How to use it ? @@ -53,6 +55,9 @@ device.play_media(Source.SPOTIFY, 'spotify:track:5J59VOgvclrhLDYUoH5OaW', spot_u account_id = device.status().content_item.source_account device.play_media(Source.LOCAL_MUSIC, 'album:1', account_id, Type.ALBUM) +# Play URL +device.play_url('http://fqdn/file.mp3') + # Volume object # device.volume() will do an HTTP request. Try to cache this value if needed. volume = device.volume() @@ -88,6 +93,7 @@ print(len(zone_status.slaves)) * shuffle on/off * select preset (bookmark) * playback selected music +* play HTTP URL (HTTPS not supported) * Websockets notification ### Multi-room @@ -177,6 +183,7 @@ You have to sent an email and you'll received a response in a minute with 2 PDF: | Version | Date | Features | |---------|:----------:|----------------------------------------------------------------------------| +| 0.7.0 | 2017/07/05 | Add play_url method to play an HTTP URL (HTTPS not supported) | | 0.6.2 | 2017/06/21 | Fix websocket source status in messages | | 0.6.1 | 2017/06/19 | Use enum-compat instead of enum34 directly | | 0.6.0 | 2017/06/17 | Add discovery (mDNS) support | diff --git a/RELEASES.rst b/RELEASES.rst index 858c689..0baf6d6 100644 --- a/RELEASES.rst +++ b/RELEASES.rst @@ -1,10 +1,18 @@ +Version 0.7.0 +~~~~~~~~~~~~~ + +:Date: + 2017/07/05 + + - Add play_url to play an HTTP URL (not HTTPS) + Version 0.6.2 ~~~~~~~~~~~~~ :Date: - 2017/06/21 + 2017/06/21 - - Fix: websocket source status in messages + - Fix: websocket source status in messages Version 0.6.1 ~~~~~~~~~~~~~ diff --git a/setup.py b/setup.py index 31480a4..7cf6a6b 100644 --- a/setup.py +++ b/setup.py @@ -23,9 +23,9 @@ setup( name="libsoundtouch", - version="0.6.2", + version="0.7.0", license="Apache License 2.0", - url="https://github.com/CharlesBlonde/libsoundtouch", + url="http://libsoundtouch.readthedocs.io", download_url="https://github.com/CharlesBlonde/libsoundtouch", author="Charles Blonde", author_email="charles.blonde@gmail.com",