Created
January 22, 2026 20:05
-
-
Save shinokada/d5084b5971490ee10d98ae459c22678e to your computer and use it in GitHub Desktop.
For Debian package using spt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Package: tera | |
| Version: 0.8.1 | |
| Architecture: all | |
| Maintainer: Shinichi Okada <147320+shinokada@users.noreply.github.com> | |
| Depends: mpv, jq, fzf, wget, bash (>= 4.0) | |
| Section: utils | |
| Priority: optional | |
| Homepage: https://github.com/shinokada/tera | |
| Description: Interactive Bash script terminal music radio player. Play your favorite radio station, CRUD your favorite lists, and explore new radio stations from your terminal. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -eu | |
| # shellcheck disable=SC2034 | |
| VERSION="0.8.0" | |
| SCRIPT_DOT_DIR="$HOME/.config/tera" | |
| # CACHE_DIR="$HOME/.cache" | |
| FAVORITE_PATH="$SCRIPT_DOT_DIR/favorite" | |
| TMP_PATH="$HOME/.cache/tera" | |
| FAVORITE_FILE="My-favorites.json" | |
| FAVORITE_FULL="${FAVORITE_PATH}/${FAVORITE_FILE}" | |
| SCRIPT_NAME=$(basename "$0") | |
| APP_NAME="TERA" | |
| RADIO_BROWSER="https://de1.api.radio-browser.info/json/stations/bytag/" | |
| SEARCH_URL="https://de1.api.radio-browser.info/json/stations/search" | |
| script_dir="/usr/share/tera" | |
| // ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment