Skip to main content

A radio automation based on MPD

Project description

Build status Build status on self-managed CI server Latest Version

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…

https://www.youtube.com/watch?v=K9XJkOSSdEA

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

larigira-1.3.3.tar.gz (1.0 MB view details)

Uploaded Source

Built Distribution

larigira-1.3.3-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

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

Hashes for larigira-1.3.3.tar.gz
Algorithm Hash digest
SHA256 d417d1f6bab164ca323b505cfc320e923142f113df8cb1a7e441fab6be2cbc2b
MD5 167eaf2de082b9836faa93724ee3494e
BLAKE2b-256 7eccd4d2efb063dc956ebfc4c27d0b44571d94b4cb9e4fe32fe6f3759511c24d

See more details on using hashes here.

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

Hashes for larigira-1.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 336b9aeb11c8ae8e84b38d473363509a0ac4e64ddf53d3c7d2ccafed47670602
MD5 b8a60a21c84331a89a6fd843c944100a
BLAKE2b-256 4b182687e4c12e62d1e3888c21e824b62c34628680678dfc0b45f7774acc448a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page