Site Tools


braille_radio

This is an old revision of the document!


braille_radio

From the project homepage; github.com/Inqbus/braille_radio

A neat commandline internet radio for braille users or small character displays (e.g. Raspberry Pi).

Function Braille_radio plays internet radio stations. The station information is gathered from the open radio data project https://www.radio-browser.info.

Slow indexing for lighting fast searching: The station information is processed by Whoosh into a quick search index. Therefore, the initial start of braille_radio will need a minute or two to create the index, so please be patient. The subsequent starts will be quite fast. Then you can fluidly search (offline) as you type.

Optimized GUI: The GUI is quite minimal. The main action takes place in the top line of the screen. This is for the comfort of the braille users. Additional lines are displayed for further help/information, only.

Sound output: The sound output is via VLC only. So you will need VLC to use this software.

Work in progress This is a work in progress. Please open an issue if you have a question, found a bug or like to introduce some new ideas.

Installation: $ pip install braille_radio

Usage:

$ braille_radio

or

$ bradio

bradio
#!/usr/bin/env bash
set -e
 
VENV_DIR="${HOME}/.venv/braille_radio"
 
case "${1}" in
  i|install)
    # To install Braille_Radio
    sudo apt install python3-venv python3-pip vlc -y
    python3 -m venv ${VENV_DIR}
    source ${VENV_DIR}/bin/activate
    pip install braille_radio
    ;;
 
  u|update)
    if [ ! -d "${VENV_DIR}" ]; then
      echo "Error: ${VENV_DIR} does not exist. Run '${0} install' first."
      exit 1
    fi
    # To update Braille_Radio and the .venv
    source ${VENV_DIR}/bin/activate
    python -m pip install --upgrade pip setuptools wheel
    pip install --upgrade braille_radio
    deactivate
    ;;
 
  *)
    # To run Braille_Radio
    source ${VENV_DIR}/bin/activate
    braille_radio
    deactivate
    ;;
esac
braille_radio.1795973017.txt.gz · Last modified: by Steve Jones