diff -Nru mopidy-soundcloud-3.0.0/CHANGELOG.rst mopidy-soundcloud-3.0.1/CHANGELOG.rst --- mopidy-soundcloud-3.0.0/CHANGELOG.rst 2019-12-22 18:06:42.000000000 +0000 +++ mopidy-soundcloud-3.0.1/CHANGELOG.rst 1970-01-01 00:00:00.000000000 +0000 @@ -1,163 +0,0 @@ -********* -Changelog -********* - - -v3.0.0 (2019-12-22) -=================== - -- Depend on final release of Mopidy 3.0.0. - - -v3.0.0rc1 (2019-11-17) -====================== - -- Require Mopidy >= 3.0.0a5, which required the following changes: (PR #109) - - - Stop using removed ``Album.images`` field. - -- Require Python >= 3.7. No major changes required. (PR #109) - -- Rate limit requests to SoundCloud. (Contributes towards fixing #99, PR #104) - -- Update project setup. (PR #109) - - -v2.1.0 (2018-05-30) -=================== - -- Fix ``AttributeError: 'list' object has no attribute 'name'`` when browsing - tracks. (Fixes #43, #45, #59, PR #69) -- Improved error handling. (Fixes #53, #71, #90, #95, PR #100) -- Merged oustanding pull requests implementing various API updates. (Fixes #79, - #82, PR #100) -- Cached main API endpoint responses for 10 seconds. -- Cached stream links to reduce impact of API rate limit. (PR #100) -- Add ``explore_songs`` config to limit the number of results returned. - (PR #100) - - -v2.0.2 (2016-01-03) -=================== - -- Handle HTTP connection errors without a response. (PR #61) - -- Ignore tracks without an URI. (Related to mopidy#1340, PR #62) - - -v2.0.1 (2015-10-06) -=================== - -- Fix Unicode escape sequences in SoundCloud search queries by encoding as - UTF-8. (Fixes #42, PR #55) - - -v2.0.0 (2015-03-25) -=================== - -- Require Mopidy >= 1.0. - -- Update to work with new playback API in Mopidy 1.0. - -- Update to work with new backend search API in Mopidy 1.0. - - -v1.2.5 (2014-06-24) -=================== - -- Add support for new explore api - - -v1.2.4 (2014-05-15) -=================== - -- Add support for adding track by url -- Fix search parsing -- Support for adding playlists from liked section -- Fix for track parsing and empty artists field - - -v1.2.3 (2014-04-02) -=================== - -- Add support for playing music from groups - - -v1.2.2 (2014-03-26) -=================== - -- Update Soundcloud API endpoint - - -v1.2.1 (2014-02-21) -=================== - -- Properly escape unsafe chars in URIs. - - -v1.2.0 (2014-02-16) -=================== - -- Deprecated ``explore`` and ``explore_pages`` config values. - -- Extension is now using Mopidy's virtual filesystem to expose music from your - SoundCloud account instead of fake playlists. See the "Browse" or "Files" - option in your MPD client. - - In the virtual file system you can browse: - - - The "Stream" with tracks from the users you follow. - - - All "Explore" sections. - - - Your followers and their shared tracks. - - - Your liked tracks. - - - Your sets. - -- Add search support. - -- Add support for looking up music by SoundCloud URLs through searching for the - URL as a file name. - - -v1.1.0 (2014-01-20) -=================== - -- Updated extension and backend APIs to match Mopidy 0.18. - - -v1.0.18 (2014-01-11) -==================== - -- Use proper logger namespaced to ``mopidy_soundcloud`` instead of ``mopidy``. - -- Fix wrong use of ``raise`` when the SoundCloud API doesn't respond as - expected. - - -v1.0.17 (2013-12-21) -==================== - -- Don't cache the user request. - -- Require Requests >= 2.0. (Fixes #3) - - -v1.0.16 (2013-10-22) -==================== - -- Require Mopidy >= 0.14. - -- Fix crash when SoundCloud returns 404 on track lookup. (Fixes #7) - -- Add some tests. - - -v1.0.15 (2013-07-31) -==================== - -- Import code from old repo. - -- Handle authentication errors without crashing. (Fixes #3 and #4) diff -Nru mopidy-soundcloud-3.0.0/.circleci/config.yml mopidy-soundcloud-3.0.1/.circleci/config.yml --- mopidy-soundcloud-3.0.0/.circleci/config.yml 2019-12-22 18:00:33.000000000 +0000 +++ mopidy-soundcloud-3.0.1/.circleci/config.yml 2020-12-15 08:09:55.000000000 +0000 @@ -7,6 +7,7 @@ version: 2 test: jobs: + - py39 - py38 - py37 - black @@ -14,9 +15,9 @@ - flake8 jobs: - py38: &test-template + py39: &test-template docker: - - image: mopidy/ci-python:3.8 + - image: mopidy/ci-python:3.9 steps: - checkout - restore_cache: @@ -39,6 +40,11 @@ - store_test_results: path: test-results + py38: + <<: *test-template + docker: + - image: mopidy/ci-python:3.8 + py37: <<: *test-template docker: diff -Nru mopidy-soundcloud-3.0.0/debian/changelog mopidy-soundcloud-3.0.1/debian/changelog --- mopidy-soundcloud-3.0.0/debian/changelog 2019-12-26 13:58:13.000000000 +0000 +++ mopidy-soundcloud-3.0.1/debian/changelog 2020-12-26 18:19:22.000000000 +0000 @@ -1,3 +1,14 @@ +mopidy-soundcloud (3.0.1-1) unstable; urgency=medium + + * New upstream release + * d/watch: Use HTTPS + * d/control: Set Rules-Requires-Root to no + * d/upstream: Add metadata file + * d/rules: Remove changelog override + * d/copyright: Update copyright years + + -- Stein Magnus Jodal Sat, 26 Dec 2020 19:19:22 +0100 + mopidy-soundcloud (3.0.0-1) unstable; urgency=medium * New upstream release diff -Nru mopidy-soundcloud-3.0.0/debian/control mopidy-soundcloud-3.0.1/debian/control --- mopidy-soundcloud-3.0.0/debian/control 2019-12-26 13:54:28.000000000 +0000 +++ mopidy-soundcloud-3.0.1/debian/control 2020-12-26 18:16:51.000000000 +0000 @@ -8,6 +8,7 @@ python3, python3-setuptools, Standards-Version: 4.4.1 +Rules-Requires-Root: no Homepage: https://github.com/mopidy/mopidy-soundcloud Vcs-Git: https://salsa.debian.org/mopidy-team/mopidy-soundcloud.git Vcs-Browser: https://salsa.debian.org/mopidy-team/mopidy-soundcloud diff -Nru mopidy-soundcloud-3.0.0/debian/copyright mopidy-soundcloud-3.0.1/debian/copyright --- mopidy-soundcloud-3.0.0/debian/copyright 2019-12-26 13:44:06.000000000 +0000 +++ mopidy-soundcloud-3.0.1/debian/copyright 2020-12-26 18:18:56.000000000 +0000 @@ -4,11 +4,11 @@ Source: https://github.com/mopidy/mopidy-soundcloud Files: * -Copyright: 2013-2019 Janez Troha and contributors +Copyright: 2013-2020 Janez Troha and contributors License: Expat Files: debian/* -Copyright: 2013-2019 Stein Magnus Jodal +Copyright: 2013-2020 Stein Magnus Jodal License: Expat License: Expat diff -Nru mopidy-soundcloud-3.0.0/debian/rules mopidy-soundcloud-3.0.1/debian/rules --- mopidy-soundcloud-3.0.0/debian/rules 2019-12-26 13:54:28.000000000 +0000 +++ mopidy-soundcloud-3.0.1/debian/rules 2020-12-26 18:18:41.000000000 +0000 @@ -9,6 +9,3 @@ %: dh $@ --with python3 --buildsystem=pybuild - -override_dh_installchangelogs: - dh_installchangelogs CHANGELOG.rst diff -Nru mopidy-soundcloud-3.0.0/debian/upstream/metadata mopidy-soundcloud-3.0.1/debian/upstream/metadata --- mopidy-soundcloud-3.0.0/debian/upstream/metadata 1970-01-01 00:00:00.000000000 +0000 +++ mopidy-soundcloud-3.0.1/debian/upstream/metadata 2020-12-26 18:17:56.000000000 +0000 @@ -0,0 +1,4 @@ +Bug-Database: https://github.com/mopidy/mopidy-soundcloud/issues +Bug-Submit: https://github.com/mopidy/mopidy-soundcloud/issues/new +Repository: https://github.com/mopidy/mopidy-soundcloud.git +Repository-Browse: https://github.com/mopidy/mopidy-soundcloud diff -Nru mopidy-soundcloud-3.0.0/debian/watch mopidy-soundcloud-3.0.1/debian/watch --- mopidy-soundcloud-3.0.0/debian/watch 2019-02-18 21:09:13.000000000 +0000 +++ mopidy-soundcloud-3.0.1/debian/watch 2020-12-26 18:16:35.000000000 +0000 @@ -1,3 +1,3 @@ version=3 opts=uversionmangle=s/(rc|a|b|c)/~$1/ \ -http://pypi.debian.net/Mopidy-SoundCloud/Mopidy-SoundCloud-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) \ No newline at end of file +https://pypi.debian.net/Mopidy-SoundCloud/Mopidy-SoundCloud-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) diff -Nru mopidy-soundcloud-3.0.0/.github/workflows/release.yml mopidy-soundcloud-3.0.1/.github/workflows/release.yml --- mopidy-soundcloud-3.0.0/.github/workflows/release.yml 1970-01-01 00:00:00.000000000 +0000 +++ mopidy-soundcloud-3.0.1/.github/workflows/release.yml 2020-12-15 08:09:55.000000000 +0000 @@ -0,0 +1,23 @@ +name: Release + +on: + release: + types: [published] + +jobs: + release: + runs-on: ubuntu-20.04 + + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 + with: + python-version: '3.9' + - name: "Install dependencies" + run: python3 -m pip install build + - name: "Build package" + run: python3 -m build + - uses: pypa/gh-action-pypi-publish@v1.4.1 + with: + user: __token__ + password: ${{ secrets.PYPI_TOKEN }} diff -Nru mopidy-soundcloud-3.0.0/mopidy_soundcloud/library.py mopidy-soundcloud-3.0.1/mopidy_soundcloud/library.py --- mopidy-soundcloud-3.0.0/mopidy_soundcloud/library.py 2019-12-22 18:00:33.000000000 +0000 +++ mopidy-soundcloud-3.0.1/mopidy_soundcloud/library.py 2020-12-15 08:09:55.000000000 +0000 @@ -5,7 +5,6 @@ from mopidy import backend, models from mopidy.models import SearchResult, Track -from mopidy_soundcloud.soundcloud import safe_url logger = logging.getLogger(__name__) @@ -15,7 +14,7 @@ def new_folder(name, path): - return models.Ref.directory(uri=generate_uri(path), name=safe_url(name)) + return models.Ref.directory(uri=generate_uri(path), name=name) def simplify_search_query(query): diff -Nru mopidy-soundcloud-3.0.0/mopidy_soundcloud/soundcloud.py mopidy-soundcloud-3.0.1/mopidy_soundcloud/soundcloud.py --- mopidy-soundcloud-3.0.0/mopidy_soundcloud/soundcloud.py 2019-12-22 18:00:33.000000000 +0000 +++ mopidy-soundcloud-3.0.1/mopidy_soundcloud/soundcloud.py 2020-12-15 08:09:55.000000000 +0000 @@ -265,7 +265,7 @@ for track in playlist_tracks: tracks.append(self.parse_track(track)) else: - logger.warning(f"Unknown item type {item['kind']!r}",) + logger.warning(f"Unknown item type {item['kind']!r}") return self.sanitize_tracks(tracks) def resolve_url(self, uri): diff -Nru mopidy-soundcloud-3.0.0/Mopidy_SoundCloud.egg-info/PKG-INFO mopidy-soundcloud-3.0.1/Mopidy_SoundCloud.egg-info/PKG-INFO --- mopidy-soundcloud-3.0.0/Mopidy_SoundCloud.egg-info/PKG-INFO 2019-12-22 18:08:35.000000000 +0000 +++ mopidy-soundcloud-3.0.1/Mopidy_SoundCloud.egg-info/PKG-INFO 2020-12-15 08:10:04.000000000 +0000 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: Mopidy-SoundCloud -Version: 3.0.0 +Version: 3.0.1 Summary: Mopidy extension for playing music from SoundCloud Home-page: https://github.com/mopidy/mopidy-soundcloud Author: Janez Troha @@ -89,7 +89,7 @@ - `Source code `_ - `Issue tracker `_ - - `Changelog `_ + - `Changelog `_ Credits @@ -107,6 +107,7 @@ Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 Classifier: Topic :: Multimedia :: Sound/Audio :: Players Requires-Python: >=3.7 Provides-Extra: lint diff -Nru mopidy-soundcloud-3.0.0/Mopidy_SoundCloud.egg-info/SOURCES.txt mopidy-soundcloud-3.0.1/Mopidy_SoundCloud.egg-info/SOURCES.txt --- mopidy-soundcloud-3.0.0/Mopidy_SoundCloud.egg-info/SOURCES.txt 2019-12-22 18:08:35.000000000 +0000 +++ mopidy-soundcloud-3.0.1/Mopidy_SoundCloud.egg-info/SOURCES.txt 2020-12-15 08:10:04.000000000 +0000 @@ -1,5 +1,4 @@ .mailmap -CHANGELOG.rst LICENSE MANIFEST.in README.rst @@ -8,6 +7,7 @@ setup.py tox.ini .circleci/config.yml +.github/workflows/release.yml Mopidy_SoundCloud.egg-info/PKG-INFO Mopidy_SoundCloud.egg-info/SOURCES.txt Mopidy_SoundCloud.egg-info/dependency_links.txt diff -Nru mopidy-soundcloud-3.0.0/PKG-INFO mopidy-soundcloud-3.0.1/PKG-INFO --- mopidy-soundcloud-3.0.0/PKG-INFO 2019-12-22 18:08:35.000000000 +0000 +++ mopidy-soundcloud-3.0.1/PKG-INFO 2020-12-15 08:10:04.501064300 +0000 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: Mopidy-SoundCloud -Version: 3.0.0 +Version: 3.0.1 Summary: Mopidy extension for playing music from SoundCloud Home-page: https://github.com/mopidy/mopidy-soundcloud Author: Janez Troha @@ -89,7 +89,7 @@ - `Source code `_ - `Issue tracker `_ - - `Changelog `_ + - `Changelog `_ Credits @@ -107,6 +107,7 @@ Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 Classifier: Topic :: Multimedia :: Sound/Audio :: Players Requires-Python: >=3.7 Provides-Extra: lint diff -Nru mopidy-soundcloud-3.0.0/README.rst mopidy-soundcloud-3.0.1/README.rst --- mopidy-soundcloud-3.0.0/README.rst 2019-12-22 18:05:41.000000000 +0000 +++ mopidy-soundcloud-3.0.1/README.rst 2020-12-15 08:09:55.000000000 +0000 @@ -81,7 +81,7 @@ - `Source code `_ - `Issue tracker `_ -- `Changelog `_ +- `Changelog `_ Credits diff -Nru mopidy-soundcloud-3.0.0/setup.cfg mopidy-soundcloud-3.0.1/setup.cfg --- mopidy-soundcloud-3.0.0/setup.cfg 2019-12-22 18:08:35.000000000 +0000 +++ mopidy-soundcloud-3.0.1/setup.cfg 2020-12-15 08:10:04.501064300 +0000 @@ -1,6 +1,6 @@ [metadata] name = Mopidy-SoundCloud -version = 3.0.0 +version = 3.0.1 url = https://github.com/mopidy/mopidy-soundcloud author = Janez Troha author_email = dz0ny@ubuntu.si @@ -16,6 +16,7 @@ Programming Language :: Python :: 3 Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 + Programming Language :: Python :: 3.9 Topic :: Multimedia :: Sound/Audio :: Players [options] diff -Nru mopidy-soundcloud-3.0.0/tox.ini mopidy-soundcloud-3.0.1/tox.ini --- mopidy-soundcloud-3.0.0/tox.ini 2019-12-22 18:00:33.000000000 +0000 +++ mopidy-soundcloud-3.0.1/tox.ini 2020-12-15 08:09:55.000000000 +0000 @@ -1,5 +1,5 @@ [tox] -envlist = py37, py38, black, check-manifest, flake8 +envlist = py37, py38, py39, black, check-manifest, flake8 [testenv] sitepackages = true