Skip to content

A small Python script to play various radio stations from a terminal.

License

Notifications You must be signed in to change notification settings

GijsTimmers/yamlradio

Repository files navigation

pypi travis health

yamlradio

A small Python script to play various radio stations from a terminal.

Installation

Installing via pip (recommended)

On Ubuntu:

$ sudo apt-get install python3-pip mpv

On Arch:

$ sudo pacman -S python-pip mpv

After installing pip, use it to install yamlradio:

$ sudo pip3 install yamlradio

You don't need to mind the python dependencies as they will be installed automatically.

Usage

$ yamlradio <CHANNEL-ABBREVIATION>

e.g.

$ yamlradio r2nl
$ yamlradio stubru

Music will start playing automatically, press any of the following keys to exit:

  • q
  • Esc
  • Enter
  • Space

Requesting radio stations

You can request for a radio station to be added to yamlradio. Open an issue by clicking this url. Please limit your requests to one station per issue.

Adding other radio stations yourself

You can replace our fine choices with your own recommendations by creating a file in your home directory, called .yamlradio.yml. Adhere to the syntax defined in zenders.yml, otherwise you may run into some problems.

Advanced usage

I try to provide tech-savvy users with the right tools to customise yamlradio to their likings. Some things you can do:

About

A small Python script to play various radio stations from a terminal.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages