././@PaxHeader0000000000000000000000000000003400000000000010212 xustar0028 mtime=1779662465.2884493 mopidy_internetarchive-4.0.1/0000775000175100017510000000000015204677201015021 5ustar00tkemtkem././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1779662323.0 mopidy_internetarchive-4.0.1/CHANGELOG.rst0000664000175100017510000000704415204676763017063 0ustar00tkemtkemv4.0.1 (2026-05-25) =================== - Documentation fixes. v4.0.0 (2026-05-24) =================== - Require Mopidy >= 4.0.0. - Remove deprecated configuration entries. - Update build environment. v3.1.2 (2026-04-13) =================== - Improve Mopidy 4.x compatibility. v3.1.1 (2026-04-10) =================== - Minor documentation improvements. v3.1.0 (2026-04-05) =================== - Add support for Python <= 3.14. - Fix unit tests on Python >= 3.12. - Fix track bitrate resolution. - Change default base URL to ``https://archive.org/``. - Modernize build environment and packages structure. - Update CI environment. v3.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=1775328449.0 mopidy_internetarchive-4.0.1/LICENSE0000664000175100017510000002367615164256301016043 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=1779655740.0 mopidy_internetarchive-4.0.1/MANIFEST.in0000664000175100017510000000007415204662074016562 0ustar00tkemtkemprune .github/ exclude .gitignore exclude .readthedocs.yaml ././@PaxHeader0000000000000000000000000000003400000000000010212 xustar0028 mtime=1779662465.2884285 mopidy_internetarchive-4.0.1/PKG-INFO0000644000175100017510000001117015204677201016114 0ustar00tkemtkemMetadata-Version: 2.4 Name: Mopidy-InternetArchive Version: 4.0.1 Summary: Mopidy extension for playing music from the Internet Archive Author-email: Thomas Kemmer Maintainer-email: Thomas Kemmer License-Expression: Apache-2.0 Project-URL: Homepage, https://github.com/tkem/mopidy-internetarchive/ Project-URL: Documentation, https://mopidy-internetarchive.readthedocs.io/en/stable/ Project-URL: Source, https://github.com/tkem/mopidy-internetarchive/ Project-URL: Repository, https://github.com/tkem/mopidy-internetarchive/ Project-URL: Issues, https://github.com/tkem/mopidy-internetarchive/issues Project-URL: Changelog, https://github.com/tkem/mopidy-internetarchive/blob/master/CHANGELOG.rst Classifier: Environment :: No Input/Output (Daemon) Classifier: Intended Audience :: End Users/Desktop Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.13 Classifier: Programming Language :: Python :: 3.14 Classifier: Topic :: Multimedia :: Sound/Audio :: Players Requires-Python: >=3.13 Description-Content-Type: text/x-rst License-File: LICENSE Requires-Dist: cachetools>=5.3.3 Requires-Dist: mopidy>=4.0.0 Requires-Dist: pykka>=4.1 Requires-Dist: requests>=2.32 Requires-Dist: uritools>=4.0.3 Dynamic: license-file ********************** 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/actions/workflow/status/tkem/mopidy-internetarchive/ci.yml :target: https://github.com/tkem/mopidy-internetarchive/actions/workflows/ci.yml :alt: CI build status .. image:: https://img.shields.io/readthedocs/mopidy-internetarchive :target: https://mopidy-internetarchive.readthedocs.io/ :alt: Documentation 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. Installation ============ Debian/Ubuntu/Raspbian: Install the ``mopidy-internetarchive`` package from `apt.mopidy.com `_:: apt-get install mopidy-internetarchive Otherwise, install the package from PyPI:: pip install Mopidy-Internetarchive Project resources ================= - `Documentation`_ - `Issue tracker`_ - `Source code`_ - `Change log`_ License ======= Copyright (c) 2014-2026 Thomas Kemmer. Licensed under the `Apache License, Version 2.0`_. Credits ======= - Original author: `Thomas Kemmer `__ - Current maintainer: `Thomas Kemmer `__ - `Contributors `_ .. _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 .. _PyPI: https://pypi.org/project/mopidy-internetarchive/ .. _Documentation: http://mopidy-internetarchive.readthedocs.org/en/latest/ .. _Source code: https://github.com/tkem/mopidy-internetarchive/ .. _Issue tracker: https://github.com/tkem/mopidy-internetarchive/issues .. _Change log: https://github.com/tkem/mopidy-internetarchive/blob/master/CHANGELOG.rst .. _Apache License, Version 2.0: https://raw.github.com/tkem/mopidy-internetarchive/master/LICENSE ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1775765591.0 mopidy_internetarchive-4.0.1/README.rst0000664000175100017510000000640115166004127016507 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/actions/workflow/status/tkem/mopidy-internetarchive/ci.yml :target: https://github.com/tkem/mopidy-internetarchive/actions/workflows/ci.yml :alt: CI build status .. image:: https://img.shields.io/readthedocs/mopidy-internetarchive :target: https://mopidy-internetarchive.readthedocs.io/ :alt: Documentation 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. Installation ============ Debian/Ubuntu/Raspbian: Install the ``mopidy-internetarchive`` package from `apt.mopidy.com `_:: apt-get install mopidy-internetarchive Otherwise, install the package from PyPI:: pip install Mopidy-Internetarchive Project resources ================= - `Documentation`_ - `Issue tracker`_ - `Source code`_ - `Change log`_ License ======= Copyright (c) 2014-2026 Thomas Kemmer. Licensed under the `Apache License, Version 2.0`_. Credits ======= - Original author: `Thomas Kemmer `__ - Current maintainer: `Thomas Kemmer `__ - `Contributors `_ .. _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 .. _PyPI: https://pypi.org/project/mopidy-internetarchive/ .. _Documentation: http://mopidy-internetarchive.readthedocs.org/en/latest/ .. _Source code: https://github.com/tkem/mopidy-internetarchive/ .. _Issue tracker: https://github.com/tkem/mopidy-internetarchive/issues .. _Change log: https://github.com/tkem/mopidy-internetarchive/blob/master/CHANGELOG.rst .. _Apache License, Version 2.0: https://raw.github.com/tkem/mopidy-internetarchive/master/LICENSE ././@PaxHeader0000000000000000000000000000003300000000000010211 xustar0027 mtime=1779662465.286695 mopidy_internetarchive-4.0.1/docs/0000775000175100017510000000000015204677201015751 5ustar00tkemtkem././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1775328449.0 mopidy_internetarchive-4.0.1/docs/.gitignore0000664000175100017510000000000715164256301017735 0ustar00tkemtkem_build ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1779662323.0 mopidy_internetarchive-4.0.1/docs/conf.py0000664000175100017510000000157715204676763017276 0ustar00tkemtkem# Extract the current version from the source. import pathlib import sys src_directory = (pathlib.Path(__file__).parent.parent / "src").resolve() sys.path.insert(0, str(src_directory)) def get_version(package): """Get the version and release from the source code.""" text = (src_directory / "mopidy_internetarchive/__init__.py").read_text() for line in text.splitlines(): if not line.strip().startswith("__version__"): continue return line.partition("=")[2].strip().strip("\"'") project = "Mopidy-InternetArchive" copyright = "2014-2026 Thomas Kemmer" release = get_version(project) version = ".".join(release.split(".")[:2]) extensions = [ "sphinx.ext.autodoc", "sphinx.ext.coverage", "sphinx.ext.doctest", "sphinx.ext.intersphinx", "sphinx.ext.todo", ] exclude_patterns = ["_build"] master_doc = "index" html_theme = "classic" ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1775842139.0 mopidy_internetarchive-4.0.1/docs/index.rst0000664000175100017510000001620515166231533017617 0ustar00tkemtkem:tocdepth: 3 ********************** Mopidy-InternetArchive ********************** 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. Browsing the Internet Archive ============================= If your Mopidy client supports browsing, there should be a top-level directory named *Internet Archive*. Beneath that, you will find the Internet Archive collections listed in :confval:`collections`, and you should be able to browse individual audio items (albums) and files (tracks) within these. For practical and performance reasons, the number of items that will be shown within a collection is limited, e.g. you will not see all 167,967 audio items of the Live Music Archive [#footnote1]_. The :ref:`default configuration ` sets this limit to 100, but this can be changed using :confval:`browse_limit`. To allow browsing collections using different sort criteria, every collection provides a number of *views*, virtual subdirectories which let you browse the collection's items by popularity, title, publish date, and so on. The default views are set up to resemble the archive.org_ Web interface, but can be changed at your own discretion with :confval:`browse_views`. Searching the Internet Archive ============================== The Internet Archive only supports searching for *items*, but not for individual files or tracks. Therefore, only *albums* will show up when searching in Mopidy. This also means that only album-related search fields are supported, so searching for track names or numbers will yield no results from the Internet Archive. The number and ordering of search results returned from the Internet Archive can be changed with :confval:`search_limit` and :confval:`search_order`. Unless you explicitly specify an Internet Archive collection to search within, search scope will also be limited to the collections listed in :confval:`collections`. Archive Favorites ================= If you have an Internet Archive account - also termed a `Virtual Library Card`_ - you can access your `Archive Favorites`_ from Mopidy. To do so, you just need to add the identifier of your favorites collection to :confval:`collections`. Typically, the identifier is *fav-{username}*, but you should be able to figure it out from the archive.org_ Web site. When added to :confval:`collections`, you will be able to browse and search your Archive Favorites just like the other collections listed there. ************* 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:: enabled Whether this extension should be enabled or not. .. confval:: base_url Base URL to access the Internet Archive. .. confval:: 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:: 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:: 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:: browse_limit The maximum number of browse results. This is used to limit the number of items returned when browsing the Internet Archive. .. confval:: 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) |