larigira
About
A radio automation based on MPD. Larigira will sit right to your mpd player and will keep your playlist never empty. It will also manage a db of "events", so that you can schedule shows, play jingles every X minutes, etc.
Software stack
- MPD, of course
- python3.8 or greater
- gevent as an async framework
- flask to provide web interface and rpc
- tinydb as an embedded database
Why? (aka design features)
Reinventing a player is a bad idea. MPD provides an eccellent base.
Separating the player from "action loops" makes it easy to work on this. For example, you can stop larigira for some minutes, and the audio will keep playing. It also means that you can easily replace specific parts of your radio automation.
The "continous playing" part is separated from the "events" part.
larigira can be run to perform one, the other, or both.
The "audio generation" part can be used separately by any script that you like.
Installation
Just run python setup.py install. It will, of course, also work in a
virtualenv. Apart from running an MPD server, there is no additional
setup.
You will find some command in your PATH now; they all begin with
larigira, so the usual <TAB><TAB> is a good way to explore them ;)
The name
larigira mai la sbaglia...
Metadata
Release files for larigira 1.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| larigira-1.4.1-py3-none-any.whl | Python 3 | none | any | Details |
Release files / larigira-1.4.1-py3-none-any.whl
| Download URL | larigira-1.4.1-py3-none-any.whl |
|---|---|
| Size | 1.2 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a2c9f20f08a65b6a11fd39537e1fb52636139b3c243b8a751372fa309e7fb8b1
|
|
BLAKE2b-256 checksum How to use checksums |
d6c5b96ca2388a2796b7a0cd2ec06eb319d2deea70890ea19ccdbe08eb0dee6d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Security for larigira 1.4.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.