dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit c13949e3cbc9f4f3b50e7a2be4e677d0d8bac1bd
parent 0abf29fb04a57b822cc038fcfbff30d07033619b
Author: Alex Balgavy <a.balgavy@gmail.com>
Date:   Fri, 24 Apr 2020 23:57:09 +0200

radio: minor changes

Former-commit-id: 7366278dd27fe22991165971a4337df6b18baf56
Diffstat:
Mradio/radio-config | 16++++++++--------
Mscripts/radio | 36++++++++++++++++++------------------
2 files changed, 26 insertions(+), 26 deletions(-)

diff --git a/radio/radio-config b/radio/radio-config @@ -14,10 +14,10 @@ six_forty="http://54.173.171.80:8000/6forty" # SOMA FM # groove_salad="https://somafm.com/groovesalad256.pls" # Ambient/downtempo -mission_control="https://somafm.com/missioncontrol.pls" # Ambient with sounds from space +mission_control="https://somafm.com/missioncontrol.pls" # Ambient with sounds from space the_trip="https://somafm.com/thetrip.pls" # Prog house/trance beat_blender="https://somafm.com/beatblender.pls" # Deep house, downtempo chill -dub_step="https://somafm.com/dubstep256.pls" # Dubstep, dub +dub_step="https://somafm.com/dubstep256.pls" # Dubstep, dub defcon="https://somafm.com/defcon256.pls" # Music for hacking deep_space="https://somafm.com/deepspaceone.pls" # Deep ambient electronic/experimental @@ -44,13 +44,13 @@ radios=( radio_names=( "Drive Radio" "Nightwave Plaza" - "SOMA - Groove Salad" - "SOMA - Mission Control" - "SOMA - The Trip" - "SOMA - Beat Blender" + "SOMA - Groove Salad (ambient/downtempo)" + "SOMA - Mission Control (ambient, space)" + "SOMA - The Trip (prog house/trance)" + "SOMA - Beat Blender (deep house, downtempo)" "SOMA - Dub Step" - "SOMA - Defcon" - "SOMA - Deep Space" + "SOMA - Defcon " + "SOMA - Deep Space (deep ambient electro/experimental)" "PSYSTATION - Classic Goa" "PSYSTATION - Progressive Psy Trance" "6forty radio - Post Rock" diff --git a/scripts/radio b/scripts/radio @@ -16,7 +16,7 @@ VISUALISER=false while getopts ":v" opt; do case ${opt} in v ) - VISUALISER=true + VISUALISER=true esac done @@ -30,23 +30,23 @@ do else for i in "${!radio_names[@]}"; do if [[ "${radio_names[$i]}" = "${RADIO}" ]]; then - if [[ "$RADIO" = "Play from music subreddit" ]]; then - if command -v rplayer &> /dev/null; then - rplayer - else - echo "rplayer not in path." - fi - else - clear - echo "Now playing $RADIO" - echo "Loading..." - if $VISUALISER; then - nice -n 20 mpv ${radios[$i]} --volume=50 --script="$HOME/.config/mpv/visualizer.lua" --really-quiet -vo caca - else - nice -n 20 mpv ${radios[$i]} --volume=50 - fi - break - fi + if [[ "$RADIO" = "Play from music subreddit" ]]; then + if command -v rplayer &> /dev/null; then + rplayer + else + echo "rplayer not in path." + fi + else + clear + echo "Now playing $RADIO" + echo "Loading..." + if $VISUALISER; then + nice -n 20 mpv ${radios[$i]} --volume=50 --script="$HOME/.config/mpv/visualizer.lua" --really-quiet -vo caca + else + nice -n 20 mpv ${radios[$i]} --volume=50 + fi + break + fi fi done break