././@PaxHeader0000000000000000000000000000003400000000000010212 xustar0028 mtime=1649016027.4319015 Mopidy-InternetArchive-3.0.1/0000775000175000017500000000000000000000000014531 5ustar00tkemtkem././@PaxHeader0000000000000000000000000000003400000000000010212 xustar0028 mtime=1649016027.4279015 Mopidy-InternetArchive-3.0.1/.github/0000775000175000017500000000000000000000000016071 5ustar00tkemtkem././@PaxHeader0000000000000000000000000000003400000000000010212 xustar0028 mtime=1649016027.4279015 Mopidy-InternetArchive-3.0.1/.github/workflows/0000775000175000017500000000000000000000000020126 5ustar00tkemtkem././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1649015790.0 Mopidy-InternetArchive-3.0.1/.github/workflows/ci.yml0000664000175000017500000000330200000000000021242 0ustar00tkemtkemname: CI on: [push, pull_request] jobs: main: strategy: fail-fast: false matrix: include: - name: "Test: Python 3.7" python: "3.7" tox: py37 - name: "Test: Python 3.8" python: "3.8" tox: py38 - name: "Test: Python 3.9" python: "3.9" tox: py39 - name: "Test: Python 3.10" python: "3.10" tox: py310 coverage: true - name: "Lint: check-manifest" python: "3.10" tox: check-manifest - name: "Lint: flake8" python: "3.10" tox: flake8 - name: "Docs" python: "3.10" tox: docs name: ${{ matrix.name }} runs-on: ubuntu-20.04 container: ghcr.io/mopidy/ci:latest steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: python-version: ${{ matrix.python }} - name: Fix home dir permissions to enable pip caching run: chown -R root /github/home - name: Cache pip uses: actions/cache@v2 with: path: ~/.cache/pip key: ${{ runner.os }}-${{ matrix.python }}-${{ matrix.tox }}-pip-${{ hashFiles('setup.cfg') }}-${{ hashFiles('tox.ini') }} restore-keys: | ${{ runner.os }}-${{ matrix.python }}-${{ matrix.tox }}-pip- - run: python -m pip install pygobject tox - run: python -m tox -e ${{ matrix.tox }} if: ${{ ! matrix.coverage }} - run: python -m tox -e ${{ matrix.tox }} -- --cov-report=xml if: ${{ matrix.coverage }} - uses: codecov/codecov-action@v1 if: ${{ matrix.coverage }} ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1597080944.0 Mopidy-InternetArchive-3.0.1/.readthedocs.yml0000644000175000017500000000031400000000000017613 0ustar00tkemtkemversion: 2 python: version: 3.7 install: - method: pip path: . extra_requirements: - docs sphinx: builder: htmldir configuration: docs/conf.py formats: - pdf - epub ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1649015813.0 Mopidy-InternetArchive-3.0.1/CHANGELOG.rst0000664000175000017500000000563100000000000016557 0ustar00tkemtkemv3.0.1 (2022-04-03) =================== - Officially support Python 3.9 and 3.10. v3.0.0 (2019-12-26) =================== - Depend on final release of Mopidy 3.0.0. v3.0.0a1 (2019-12-06) ===================== - Require Python >= 3.7. - Require Mopidy >= 3.0.0a5. - Require Pykka >= 2.0.1. - Update project setup. v2.0.3 (2017-06-16) =================== - Handle archive.org JSON API changes. v2.0.2 (2017-01-09) =================== - Fix file name handling. v2.0.1 (2017-01-09) =================== - Handle multiple item titles. v2.0.0 (2015-12-08) =================== - Support configurable sort criteria when browsing collections via "browse views". - Include collections in browse results. - Add support for ``LibraryProvider.get_images()``. - Drop support for deprecated ``Album.images``. - Drop special handling of bookmarks. - Cache root collections. - Update documentation. v1.3.0 (2015-09-11) =================== - Require Mopidy >= 1.1. - Use Mopidy proxy settings and HTTP User-Agent. - Fix track bitrates represented in Kbit/s. - Drop exact search support. - Only cache items. v1.2.1 (2015-03-25) =================== - Remove search query normalization. - Prepare for Mopidy v1.0 exact search API. v1.2.0 (2015-03-19) =================== - Remove playlists provider. - Add bookmarks to root directory for browsing. v1.1.0 (2014-11-19) =================== - Load bookmarks as individual playlists. - Clear library cache when refreshing playlists. - Encode filenames in URIs. - Add HTTP connection retries. v1.0.3 (2014-11-14) =================== - Fix handling of re-derived VBR MP3 files. - Remove Ogg Vorbis from default audio formats. v1.0.2 (2014-11-07) =================== - Update dependencies. - Browse Internet Archive items as albums. - Make caching optional. - Disable PNG image format in default configuration. - Temporarily disable VBR MP3 and track comments. v1.0.1 (2014-09-29) =================== - Add item descriptions as track comments. - Filter search results for exact queries. v1.0.0 (2014-09-26) =================== - Major rewrite for version 1.0.0. v0.5.0 (2014-02-28) =================== - Update `README` with link to documentation. - New config values: ``search_order``, ``browse_order``. - Allow empty queries for searching. v0.4.0 (2014-02-25) =================== - Various performance and stability improvements. - Option to exclude specific collections from searching/browsing. - Add image URLs to albums. v0.3.1 (2014-02-21) =================== - Fix default configuration. v0.3.0 (2014-02-21) =================== - Add bookmark browsing support. - Better filtering of search results. - Stability and performance improvements. v0.2.0 (2014-01-31) =================== - Add library browsing support. - Cache search results and metadata. - Properly quote/encode query terms. v0.1.0 (2014-01-24) =================== - Initial release. ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1597080944.0 Mopidy-InternetArchive-3.0.1/LICENSE0000644000175000017500000002367600000000000015552 0ustar00tkemtkem Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1597080944.0 Mopidy-InternetArchive-3.0.1/MANIFEST.in0000644000175000017500000000051700000000000016270 0ustar00tkemtkeminclude *.py include *.rst include .mailmap include .readthedocs.yml include LICENSE include MANIFEST.in include pyproject.toml include tox.ini recursive-include .circleci * recursive-include .github * include mopidy_*/ext.conf recursive-include tests *.py recursive-include tests/data * recursive-include docs * prune docs/_build ././@PaxHeader0000000000000000000000000000003400000000000010212 xustar0028 mtime=1649016027.4279015 Mopidy-InternetArchive-3.0.1/Mopidy_InternetArchive.egg-info/0000775000175000017500000000000000000000000022636 5ustar00tkemtkem././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1649016027.0 Mopidy-InternetArchive-3.0.1/Mopidy_InternetArchive.egg-info/PKG-INFO0000644000175000017500000000731000000000000023732 0ustar00tkemtkemMetadata-Version: 2.1 Name: Mopidy-InternetArchive Version: 3.0.1 Summary: Mopidy extension for playing music from the Internet Archive Home-page: https://github.com/tkem/mopidy-internetarchive Author: Thomas Kemmer Author-email: tkemmer@computer.org License: Apache License, Version 2.0 Platform: UNKNOWN Classifier: Environment :: No Input/Output (Daemon) Classifier: Intended Audience :: End Users/Desktop Classifier: License :: OSI Approved :: Apache Software License Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: 3.10 Classifier: Topic :: Multimedia :: Sound/Audio :: Players Requires-Python: >=3.7 Provides-Extra: docs Provides-Extra: lint Provides-Extra: release Provides-Extra: test Provides-Extra: dev License-File: LICENSE ********************** Mopidy-InternetArchive ********************** .. image:: https://img.shields.io/pypi/v/Mopidy-InternetArchive :target: https://pypi.org/project/Mopidy-InternetArchive/ :alt: Latest PyPI version .. image:: https://img.shields.io/github/workflow/status/tkem/mopidy-internetarchive/CI :target: https://github.com/tkem/mopidy-internetarchive/actions :alt: CI build status .. image:: https://img.shields.io/readthedocs/mopidy-internetarchive :target: https://mopidy-internetarchive.readthedocs.io/ :alt: Read the Docs build status .. image:: https://img.shields.io/codecov/c/gh/tkem/mopidy-internetarchive :target: https://codecov.io/gh/tkem/mopidy-internetarchive :alt: Test coverage .. image:: https://img.shields.io/github/license/tkem/mopidy-internetarchive :target: https://raw.github.com/tkem/mopidy-internetarchive/master/LICENSE :alt: License .. image:: https://img.shields.io/badge/code%20style-black-000000.svg :target: https://github.com/psf/black :alt: Code style: black Mopidy-InternetArchive is a Mopidy_ extension for playing music from the `Internet Archive`_. This extension lets you search for and stream recordings ranging from `alternative news programming`_, to `Grateful Dead concerts`_, to `Old Time Radio shows`_, to `book and poetry readings`_, to `original music`_ uploaded by Internet Archive users. It also gives you access to a vast number of high-quality live recordings from the `Live Music Archive`_, and thousands of free audiobooks from the LibriVox_ collection. For more information and installation instructions, please see Mopidy-InternetArchive's online documentation_. .. _Mopidy: http://www.mopidy.com/ .. _Internet Archive: http://archive.org .. _alternative news programming: https://archive.org/details/audio_news .. _Grateful Dead concerts: https://archive.org/details/GratefulDead .. _Old Time Radio shows: https://archive.org/details/radioprograms .. _book and poetry readings: https://archive.org/details/audio_bookspoetry .. _original music: https://archive.org/details/opensource_audio .. _Live Music Archive: https://archive.org/details/etree .. _LibriVox: https://archive.org/details/librivoxaudio .. _Documentation: http://mopidy-internetarchive.readthedocs.org/en/latest/ Project resources ================= - `Source code `_ - `Issue tracker `_ - `Changelog `_ Credits ======= - Original author: `Thomas Kemmer `__ - Current maintainer: `Thomas Kemmer `__ - `Contributors `_ ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1649016027.0 Mopidy-InternetArchive-3.0.1/Mopidy_InternetArchive.egg-info/SOURCES.txt0000644000175000017500000000201200000000000024513 0ustar00tkemtkem.readthedocs.yml CHANGELOG.rst LICENSE MANIFEST.in README.rst pyproject.toml setup.cfg setup.py tox.ini .github/workflows/ci.yml Mopidy_InternetArchive.egg-info/PKG-INFO Mopidy_InternetArchive.egg-info/SOURCES.txt Mopidy_InternetArchive.egg-info/dependency_links.txt Mopidy_InternetArchive.egg-info/entry_points.txt Mopidy_InternetArchive.egg-info/not-zip-safe Mopidy_InternetArchive.egg-info/requires.txt Mopidy_InternetArchive.egg-info/top_level.txt docs/.gitignore docs/Makefile docs/changelog.rst docs/conf.py docs/config.rst docs/index.rst docs/install.rst docs/license.rst mopidy_internetarchive/__init__.py mopidy_internetarchive/backend.py mopidy_internetarchive/client.py mopidy_internetarchive/ext.conf mopidy_internetarchive/library.py mopidy_internetarchive/playback.py mopidy_internetarchive/translator.py tests/__init__.py tests/conftest.py tests/test_browse.py tests/test_configmap.py tests/test_extension.py tests/test_images.py tests/test_lookup.py tests/test_playback.py tests/test_search.py tests/test_translator.py././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1649016027.0 Mopidy-InternetArchive-3.0.1/Mopidy_InternetArchive.egg-info/dependency_links.txt0000644000175000017500000000000100000000000026702 0ustar00tkemtkem ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1649016027.0 Mopidy-InternetArchive-3.0.1/Mopidy_InternetArchive.egg-info/entry_points.txt0000644000175000017500000000010000000000000026121 0ustar00tkemtkem[mopidy.ext] internetarchive = mopidy_internetarchive:Extension ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1597080937.0 Mopidy-InternetArchive-3.0.1/Mopidy_InternetArchive.egg-info/not-zip-safe0000644000175000017500000000000100000000000025062 0ustar00tkemtkem ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1649016027.0 Mopidy-InternetArchive-3.0.1/Mopidy_InternetArchive.egg-info/requires.txt0000644000175000017500000000060000000000000025230 0ustar00tkemtkemMopidy>=3.0.0 Pykka>=2.0.1 cachetools>=1.0 requests>=2.0 setuptools uritools>=1.0 [dev] sphinx black check-manifest flake8 flake8-black flake8-bugbear flake8-import-order isort[pyproject] twine wheel pytest pytest-cov [docs] sphinx [lint] black check-manifest flake8 flake8-black flake8-bugbear flake8-import-order isort[pyproject] [release] twine wheel [test] pytest pytest-cov ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1649016027.0 Mopidy-InternetArchive-3.0.1/Mopidy_InternetArchive.egg-info/top_level.txt0000644000175000017500000000002700000000000025365 0ustar00tkemtkemmopidy_internetarchive ././@PaxHeader0000000000000000000000000000003400000000000010212 xustar0028 mtime=1649016027.4319015 Mopidy-InternetArchive-3.0.1/PKG-INFO0000664000175000017500000000731000000000000015627 0ustar00tkemtkemMetadata-Version: 2.1 Name: Mopidy-InternetArchive Version: 3.0.1 Summary: Mopidy extension for playing music from the Internet Archive Home-page: https://github.com/tkem/mopidy-internetarchive Author: Thomas Kemmer Author-email: tkemmer@computer.org License: Apache License, Version 2.0 Platform: UNKNOWN Classifier: Environment :: No Input/Output (Daemon) Classifier: Intended Audience :: End Users/Desktop Classifier: License :: OSI Approved :: Apache Software License Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: 3.10 Classifier: Topic :: Multimedia :: Sound/Audio :: Players Requires-Python: >=3.7 Provides-Extra: docs Provides-Extra: lint Provides-Extra: release Provides-Extra: test Provides-Extra: dev License-File: LICENSE ********************** Mopidy-InternetArchive ********************** .. image:: https://img.shields.io/pypi/v/Mopidy-InternetArchive :target: https://pypi.org/project/Mopidy-InternetArchive/ :alt: Latest PyPI version .. image:: https://img.shields.io/github/workflow/status/tkem/mopidy-internetarchive/CI :target: https://github.com/tkem/mopidy-internetarchive/actions :alt: CI build status .. image:: https://img.shields.io/readthedocs/mopidy-internetarchive :target: https://mopidy-internetarchive.readthedocs.io/ :alt: Read the Docs build status .. image:: https://img.shields.io/codecov/c/gh/tkem/mopidy-internetarchive :target: https://codecov.io/gh/tkem/mopidy-internetarchive :alt: Test coverage .. image:: https://img.shields.io/github/license/tkem/mopidy-internetarchive :target: https://raw.github.com/tkem/mopidy-internetarchive/master/LICENSE :alt: License .. image:: https://img.shields.io/badge/code%20style-black-000000.svg :target: https://github.com/psf/black :alt: Code style: black Mopidy-InternetArchive is a Mopidy_ extension for playing music from the `Internet Archive`_. This extension lets you search for and stream recordings ranging from `alternative news programming`_, to `Grateful Dead concerts`_, to `Old Time Radio shows`_, to `book and poetry readings`_, to `original music`_ uploaded by Internet Archive users. It also gives you access to a vast number of high-quality live recordings from the `Live Music Archive`_, and thousands of free audiobooks from the LibriVox_ collection. For more information and installation instructions, please see Mopidy-InternetArchive's online documentation_. .. _Mopidy: http://www.mopidy.com/ .. _Internet Archive: http://archive.org .. _alternative news programming: https://archive.org/details/audio_news .. _Grateful Dead concerts: https://archive.org/details/GratefulDead .. _Old Time Radio shows: https://archive.org/details/radioprograms .. _book and poetry readings: https://archive.org/details/audio_bookspoetry .. _original music: https://archive.org/details/opensource_audio .. _Live Music Archive: https://archive.org/details/etree .. _LibriVox: https://archive.org/details/librivoxaudio .. _Documentation: http://mopidy-internetarchive.readthedocs.org/en/latest/ Project resources ================= - `Source code `_ - `Issue tracker `_ - `Changelog `_ Credits ======= - Original author: `Thomas Kemmer `__ - Current maintainer: `Thomas Kemmer `__ - `Contributors `_ ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1649015790.0 Mopidy-InternetArchive-3.0.1/README.rst0000664000175000017500000000536300000000000016227 0ustar00tkemtkem********************** Mopidy-InternetArchive ********************** .. image:: https://img.shields.io/pypi/v/Mopidy-InternetArchive :target: https://pypi.org/project/Mopidy-InternetArchive/ :alt: Latest PyPI version .. image:: https://img.shields.io/github/workflow/status/tkem/mopidy-internetarchive/CI :target: https://github.com/tkem/mopidy-internetarchive/actions :alt: CI build status .. image:: https://img.shields.io/readthedocs/mopidy-internetarchive :target: https://mopidy-internetarchive.readthedocs.io/ :alt: Read the Docs build status .. image:: https://img.shields.io/codecov/c/gh/tkem/mopidy-internetarchive :target: https://codecov.io/gh/tkem/mopidy-internetarchive :alt: Test coverage .. image:: https://img.shields.io/github/license/tkem/mopidy-internetarchive :target: https://raw.github.com/tkem/mopidy-internetarchive/master/LICENSE :alt: License .. image:: https://img.shields.io/badge/code%20style-black-000000.svg :target: https://github.com/psf/black :alt: Code style: black Mopidy-InternetArchive is a Mopidy_ extension for playing music from the `Internet Archive`_. This extension lets you search for and stream recordings ranging from `alternative news programming`_, to `Grateful Dead concerts`_, to `Old Time Radio shows`_, to `book and poetry readings`_, to `original music`_ uploaded by Internet Archive users. It also gives you access to a vast number of high-quality live recordings from the `Live Music Archive`_, and thousands of free audiobooks from the LibriVox_ collection. For more information and installation instructions, please see Mopidy-InternetArchive's online documentation_. .. _Mopidy: http://www.mopidy.com/ .. _Internet Archive: http://archive.org .. _alternative news programming: https://archive.org/details/audio_news .. _Grateful Dead concerts: https://archive.org/details/GratefulDead .. _Old Time Radio shows: https://archive.org/details/radioprograms .. _book and poetry readings: https://archive.org/details/audio_bookspoetry .. _original music: https://archive.org/details/opensource_audio .. _Live Music Archive: https://archive.org/details/etree .. _LibriVox: https://archive.org/details/librivoxaudio .. _Documentation: http://mopidy-internetarchive.readthedocs.org/en/latest/ Project resources ================= - `Source code `_ - `Issue tracker `_ - `Changelog `_ Credits ======= - Original author: `Thomas Kemmer `__ - Current maintainer: `Thomas Kemmer `__ - `Contributors `_ ././@PaxHeader0000000000000000000000000000003400000000000010212 xustar0028 mtime=1649016027.4279015 Mopidy-InternetArchive-3.0.1/docs/0000775000175000017500000000000000000000000015461 5ustar00tkemtkem././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1597080944.0 Mopidy-InternetArchive-3.0.1/docs/.gitignore0000644000175000017500000000000700000000000017444 0ustar00tkemtkem_build ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1597080944.0 Mopidy-InternetArchive-3.0.1/docs/Makefile0000644000175000017500000001277400000000000017132 0ustar00tkemtkem# Makefile for Sphinx documentation # # You can set these variables from the command line. SPHINXOPTS = SPHINXBUILD = sphinx-build PAPER = BUILDDIR = _build # Internal variables. PAPEROPT_a4 = -D latex_paper_size=a4 PAPEROPT_letter = -D latex_paper_size=letter ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . # the i18n builder cannot share the environment and doctrees with the others I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . .PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext help: @echo "Please use \`make ' where is one of" @echo " html to make standalone HTML files" @echo " dirhtml to make HTML files named index.html in directories" @echo " singlehtml to make a single large HTML file" @echo " pickle to make pickle files" @echo " json to make JSON files" @echo " htmlhelp to make HTML files and a HTML help project" @echo " qthelp to make HTML files and a qthelp project" @echo " devhelp to make HTML files and a Devhelp project" @echo " epub to make an epub" @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter" @echo " latexpdf to make LaTeX files and run them through pdflatex" @echo " text to make text files" @echo " man to make manual pages" @echo " texinfo to make Texinfo files" @echo " info to make Texinfo files and run them through makeinfo" @echo " gettext to make PO message catalogs" @echo " changes to make an overview of all changed/added/deprecated items" @echo " linkcheck to check all external links for integrity" @echo " doctest to run all doctests embedded in the documentation (if enabled)" clean: -rm -rf $(BUILDDIR)/* html: $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html @echo @echo "Build finished. The HTML pages are in $(BUILDDIR)/html." dirhtml: $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml @echo @echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml." singlehtml: $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml @echo @echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml." pickle: $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle @echo @echo "Build finished; now you can process the pickle files." json: $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json @echo @echo "Build finished; now you can process the JSON files." htmlhelp: $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp @echo @echo "Build finished; now you can run HTML Help Workshop with the" \ ".hhp project file in $(BUILDDIR)/htmlhelp." qthelp: $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp @echo @echo "Build finished; now you can run "qcollectiongenerator" with the" \ ".qhcp project file in $(BUILDDIR)/qthelp, like this:" @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/Mopidy-InternetArchive.qhcp" @echo "To view the help file:" @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/Mopidy-InternetArchive.qhc" devhelp: $(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp @echo @echo "Build finished." @echo "To view the help file:" @echo "# mkdir -p $$HOME/.local/share/devhelp/Mopidy-InternetArchive" @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/Mopidy-InternetArchive" @echo "# devhelp" epub: $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub @echo @echo "Build finished. The epub file is in $(BUILDDIR)/epub." latex: $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex @echo @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex." @echo "Run \`make' in that directory to run these through (pdf)latex" \ "(use \`make latexpdf' here to do that automatically)." latexpdf: $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex @echo "Running LaTeX files through pdflatex..." $(MAKE) -C $(BUILDDIR)/latex all-pdf @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex." text: $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text @echo @echo "Build finished. The text files are in $(BUILDDIR)/text." man: $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man @echo @echo "Build finished. The manual pages are in $(BUILDDIR)/man." texinfo: $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo @echo @echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo." @echo "Run \`make' in that directory to run these through makeinfo" \ "(use \`make info' here to do that automatically)." info: $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo @echo "Running Texinfo files through makeinfo..." make -C $(BUILDDIR)/texinfo info @echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo." gettext: $(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale @echo @echo "Build finished. The message catalogs are in $(BUILDDIR)/locale." changes: $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes @echo @echo "The overview file is in $(BUILDDIR)/changes." linkcheck: $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck @echo @echo "Link check complete; look for any errors in the above output " \ "or in $(BUILDDIR)/linkcheck/output.txt." doctest: $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest @echo "Testing of doctests in the sources finished, look at the " \ "results in $(BUILDDIR)/doctest/output.txt." ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1597080944.0 Mopidy-InternetArchive-3.0.1/docs/changelog.rst0000644000175000017500000000010000000000000020127 0ustar00tkemtkem********** Change Log ********** .. include:: ../CHANGELOG.rst ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1649015790.0 Mopidy-InternetArchive-3.0.1/docs/conf.py0000664000175000017500000000205000000000000016755 0ustar00tkemtkemimport configparser import pathlib def setup(app): app.add_object_type( "confval", "confval", objname="configuration value", indextemplate="pair: %s; configuration value", ) def get_version(): # Get current library version without requiring the library to be # installed, like ``pkg_resources.get_distribution(...).version`` requires. cp = configparser.ConfigParser() cp.read(pathlib.Path(__file__).parent.parent / "setup.cfg") return cp["metadata"]["version"] project = "Mopidy-InternetArchive" copyright = "2014-2022 Thomas Kemmer" version = get_version() release = version exclude_patterns = ["_build"] master_doc = "index" html_theme = "default" latex_documents = [ ( "index", "Mopidy-InternetArchive.tex", "Mopidy-InternetArchive Documentation", "Thomas Kemmer", "manual", ) ] man_pages = [ ( "index", "mopidy-internetarchive", "Mopidy-InternetArchive Documentation", ["Thomas Kemmer"], 1, ) ] ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1597080944.0 Mopidy-InternetArchive-3.0.1/docs/config.rst0000644000175000017500000000736400000000000017470 0ustar00tkemtkem************* Configuration ************* This extension has a number of configuration values that can be tweaked. However, the :ref:`default configuration ` contains everything to get you up and running, and will usually require only a few modifications to match personal preferences. .. _confvals: Configuration Values ==================== .. confval:: internetarchive/enabled Whether this extension should be enabled or not. .. confval:: internetarchive/base_url Base URL to access the Internet Archive. .. confval:: internetarchive/collections A list of collection identifiers to show as top-level directories when browsing. These are also used to limit the search scope when no search base is given by Mopidy clients explicitly. .. confval:: internetarchive/audio_formats A list of audio file formats, in order of preference. This entry contains a list of `Internet Archive file formats`_. By default, only audio formats suitable for streaming are requested. Note that the Internet Archive also contains a large number of high-quality media files in FLAC_ and other lossless formats, but for sake of bandwidth (both your's and the Archive's), it is recommended that you stick to lossy audio formats for streaming through Mopidy. .. confval:: internetarchive/image_formats A list of image file formats, in order of preference. This entry contains a list of `Internet Archive file formats`_ to be considered when providing images for Internet Archive items. Note that some Mopidy clients, especially MPD clients, will ignore album art provided by Mopidy-InternetArchive or other Mopidy extensions. .. confval:: internetarchive/browse_limit The maximum number of browse results. This is used to limit the number of items returned when browsing the Internet Archive. .. confval:: internetarchive/browse_views When browsing Internet Archive collections (or *directories* in Mopidy), this provides a list of virtual subdirectories so results can be retrieved using a particular :ref:`sort order`. The format for each entry is `` (asc|desc) |