audio-feeder


Nameaudio-feeder JSON
Version 0.6.2 PyPI version JSON
download
home_page
Summaryaudio-feeder provides a server that serves your audiobooks and other audio
upload_time2022-12-04 03:38:40
maintainer
docs_urlNone
authorPaul Ganssle
requires_python>=3.9
licenseApache 2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ``audio-feeder`` is a Flask-based web-app that hosts your audiobooks (or other audio content) as RSS feeds compatible with podcatchers.

Features
========

The main interface lists all your audiobooks once the database is updated (either by using ``audio-feeder update`` or by visiting the ``/update`` url. The default interface should also work well on mobile:

Rendered feeds
**************
For each entry, ``audio-feeder`` can also generate "rendered" feeds, depending on what metadata is available:

- Single file: This feed consists of a single file; if the original directory contains multiple files, they will be merged together using ``ffmpeg``. If chapter information is not available in the original files, each file will be considered a separate "chapter".

- Chapters: This feed has one file per chapter; it is only available if explicit chapter metadata is available in the file (e.g. in an ``m4b`` file, or using Overdrive MediaMarkers).

- Segmented: This is a feed that splits up and recombines files in such a way as to create files that are ~1 hour long (preferring longer files to shorter files). Files will only be split up along chapter boundaries, but they can be combined from files without chapter information. This mode is available if the original entry has more than one file, or if it has chapter information (or both).

QR Codes
********

Each feed has an associated QR code, so that you can easily browse the list from a computer, but scan the individual feeds from your phone. In the default front-end, QR codes are displayed via modal pop-ups:

Display options
***************

The user can customize things like the sort order and the number of entries per page:

Installation and use
====================

Probably the easiest way to deploy this is via docker. For your convenience, I have created `a repository with a docker-compose configuration <https://github.com/pganssle/audio_feeder_docker>`_. It uses ``nginx`` to serve static media files, and ``gunicorn`` to deploy the application.

If you want to test it out locally, you can use ``tox -e start_server`` to run a test server. This will create a temporary server directory at ``/tmp/audio_feeder_server``, and you can play around with, and you can mount your audiobook directory at ``/tmp/audio_feeder_server/static/media`` to have it work on your own audiobooks (bind mount, symlink or hard link should work just fine).

In a ``virtualenv`` with ``audio-feeder`` installed, you can run ``audio-feeder --help`` to see the various command line tools bundled with the application.

Note
=====

While the state of this is getting much closer to something production-ready, I am emphatically *not* a front-end developer, and I don't have extremely high confidence in the security of this project. Use at your own risk (and if you do come up with some security and/or usability improvements, please do send a PR).

This is only tested on Linux, but it may also work on other platforms.

Dependencies
============

In addition to the python dependencies specified in ``pyproject.toml``, this project also requires installing ``ffmpeg`` with at least the ``aac`` codec, and the tests also require the ``libmp3lame`` codec.

License
=======
All images and documentation contained herein are licensed under `CC-0 <https://creativecommons.org/publicdomain/zero/1.0/>`_.

The code is released under the `Apache 2.0 <https://www.apache.org/licenses/LICENSE-2.0>`_ license.

Contributing
============
Pull requests and issues are more than welcome. Please be aware that your contributions will be released under the licenses stated above. If you are not comfortable with that, please do not make a pull request.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "audio-feeder",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "",
    "author": "Paul Ganssle",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/aa/cc/0f2c6987997cd1d4ba260cc1303aa1cad476887c3fb289e4365a95077592/audio_feeder-0.6.2.tar.gz",
    "platform": null,
    "description": "``audio-feeder`` is a Flask-based web-app that hosts your audiobooks (or other audio content) as RSS feeds compatible with podcatchers.\n\nFeatures\n========\n\nThe main interface lists all your audiobooks once the database is updated (either by using ``audio-feeder update`` or by visiting the ``/update`` url. The default interface should also work well on mobile:\n\nRendered feeds\n**************\nFor each entry, ``audio-feeder`` can also generate \"rendered\" feeds, depending on what metadata is available:\n\n- Single file: This feed consists of a single file; if the original directory contains multiple files, they will be merged together using ``ffmpeg``. If chapter information is not available in the original files, each file will be considered a separate \"chapter\".\n\n- Chapters: This feed has one file per chapter; it is only available if explicit chapter metadata is available in the file (e.g. in an ``m4b`` file, or using Overdrive MediaMarkers).\n\n- Segmented: This is a feed that splits up and recombines files in such a way as to create files that are ~1 hour long (preferring longer files to shorter files). Files will only be split up along chapter boundaries, but they can be combined from files without chapter information. This mode is available if the original entry has more than one file, or if it has chapter information (or both).\n\nQR Codes\n********\n\nEach feed has an associated QR code, so that you can easily browse the list from a computer, but scan the individual feeds from your phone. In the default front-end, QR codes are displayed via modal pop-ups:\n\nDisplay options\n***************\n\nThe user can customize things like the sort order and the number of entries per page:\n\nInstallation and use\n====================\n\nProbably the easiest way to deploy this is via docker. For your convenience, I have created `a repository with a docker-compose configuration <https://github.com/pganssle/audio_feeder_docker>`_. It uses ``nginx`` to serve static media files, and ``gunicorn`` to deploy the application.\n\nIf you want to test it out locally, you can use ``tox -e start_server`` to run a test server. This will create a temporary server directory at ``/tmp/audio_feeder_server``, and you can play around with, and you can mount your audiobook directory at ``/tmp/audio_feeder_server/static/media`` to have it work on your own audiobooks (bind mount, symlink or hard link should work just fine).\n\nIn a ``virtualenv`` with ``audio-feeder`` installed, you can run ``audio-feeder --help`` to see the various command line tools bundled with the application.\n\nNote\n=====\n\nWhile the state of this is getting much closer to something production-ready, I am emphatically *not* a front-end developer, and I don't have extremely high confidence in the security of this project. Use at your own risk (and if you do come up with some security and/or usability improvements, please do send a PR).\n\nThis is only tested on Linux, but it may also work on other platforms.\n\nDependencies\n============\n\nIn addition to the python dependencies specified in ``pyproject.toml``, this project also requires installing ``ffmpeg`` with at least the ``aac`` codec, and the tests also require the ``libmp3lame`` codec.\n\nLicense\n=======\nAll images and documentation contained herein are licensed under `CC-0 <https://creativecommons.org/publicdomain/zero/1.0/>`_.\n\nThe code is released under the `Apache 2.0 <https://www.apache.org/licenses/LICENSE-2.0>`_ license.\n\nContributing\n============\nPull requests and issues are more than welcome. Please be aware that your contributions will be released under the licenses stated above. If you are not comfortable with that, please do not make a pull request.\n",
    "bugtrack_url": null,
    "license": "Apache 2.0",
    "summary": "audio-feeder provides a server that serves your audiobooks and other audio",
    "version": "0.6.2",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "ac65df507cdae7495de2b583db397467",
                "sha256": "ed8c71a22662257adc1dabf48983a1be0c8935c550e9a9df547fdb9dffddc406"
            },
            "downloads": -1,
            "filename": "audio_feeder-0.6.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ac65df507cdae7495de2b583db397467",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 88124,
            "upload_time": "2022-12-04T03:38:38",
            "upload_time_iso_8601": "2022-12-04T03:38:38.749458Z",
            "url": "https://files.pythonhosted.org/packages/75/79/0588dd2dea9b086ac9efed39bce5ab712658891c73508b08992b6ef98c0a/audio_feeder-0.6.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "cca9c2bcf3d4b55864bee8b5d8e3b072",
                "sha256": "ababe4454d909714a9c184a24f3a8730a6b06fe8948a844a0dd42ec8b212d7e5"
            },
            "downloads": -1,
            "filename": "audio_feeder-0.6.2.tar.gz",
            "has_sig": false,
            "md5_digest": "cca9c2bcf3d4b55864bee8b5d8e3b072",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 1363894,
            "upload_time": "2022-12-04T03:38:40",
            "upload_time_iso_8601": "2022-12-04T03:38:40.234163Z",
            "url": "https://files.pythonhosted.org/packages/aa/cc/0f2c6987997cd1d4ba260cc1303aa1cad476887c3fb289e4365a95077592/audio_feeder-0.6.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-04 03:38:40",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "audio-feeder"
}
        
Elapsed time: 0.01739s