A radio automation based on MPD
Project description
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.5 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…
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file larigira-1.3.3.tar.gz
.
File metadata
- Download URL: larigira-1.3.3.tar.gz
- Upload date:
- Size: 1.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d417d1f6bab164ca323b505cfc320e923142f113df8cb1a7e441fab6be2cbc2b |
|
MD5 | 167eaf2de082b9836faa93724ee3494e |
|
BLAKE2b-256 | 7eccd4d2efb063dc956ebfc4c27d0b44571d94b4cb9e4fe32fe6f3759511c24d |
File details
Details for the file larigira-1.3.3-py3-none-any.whl
.
File metadata
- Download URL: larigira-1.3.3-py3-none-any.whl
- Upload date:
- Size: 1.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 336b9aeb11c8ae8e84b38d473363509a0ac4e64ddf53d3c7d2ccafed47670602 |
|
MD5 | b8a60a21c84331a89a6fd843c944100a |
|
BLAKE2b-256 | 4b182687e4c12e62d1e3888c21e824b62c34628680678dfc0b45f7774acc448a |