aliquote

< a quantity that can be divided into another a whole number of time />

October 27, 2022

Little shell script to listen to some free internet radios:

#!/usr/bin/env bash

# sources
jazz="https://jazzradio.ice.infomaniak.ch/jazzradio-high.mp3"
misc="https://www.lemellotron.com/stream"
piano="https://pianosolo.streamguys1.com/live"

case "$1" in
  jazz)
    src=$jazz
    ;;
  misc)
    src=$misc
    ;;
  piano)
    src=$piano
    ;;
  *)
    echo "Unknown streaming source..."
    ;;
esac

mpv --no-video $src