Skip to main content
Help improve PyPI by participating in a 5-minute user interface survey!

A radio automation based on MPD

Project Description

Build status 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

Release history Release notifications

This version
History Node

1.1.0

History Node

1.0.1

History Node

1.0

History Node

1.0b1

History Node

0.4.2

History Node

0.4.1

History Node

0.4

History Node

0.3

History Node

0.2

History Node

0.1.1

History Node

0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
larigira-1.1.0.linux-x86_64.tar.gz (1.1 MB) Copy SHA256 hash SHA256 Source None Mar 7, 2017
larigira-1.1.0-py3-none-any.whl (1.1 MB) Copy SHA256 hash SHA256 Wheel py3 Mar 7, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page