goradion

command module
v0.5.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2025 License: Unlicense Imports: 4 Imported by: 0

README

goradion

Goradion is a command line radio player based on mpv.

goradion

Setup

  1. Prerequisites: mpv

    • Mac

      • brew install mpv
    • Ubuntu

      • apt install mpv
    • Arch Linux

      • pacman -S mpv
    • Windows

      • Download: mpv
      • Unpack e.g. into c:\mpv
      • Add this dir to the PATH, either via GUI or: setx /M PATH "%PATH%;c:\mpv"
    • Other OSes

  2. Download goradion

  3. Mark it as executable (not needed on Windows):

chmod +x goradion-<version>

Warning: On some Windows machines, a virus scanner identifies the binary as infected (https://go.dev/doc/faq#virus), in this case it's best to build the binary yourself: go build ..

Run

On Windows just double click the downloaded exe (or run via cmd to use flags), on other OSes:

# Starts with preset radio stations
goradion-<version>

Stations

The stations are configured using a CSV file with a titile, URL and semicolon ; separated tag(s), e.g.:

Title,URL,tag_1[;...;tag_n]
...

Stations file can be passed with -s argument; goradion supports both local files and HTTP URLs, e.g.:

goradion -s /path/to/stations.csv

OR

goradion -s https://path-to/stations.csv

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL