An improved Curses interface for listening to internet radio.
Project description
Curseradio-Improved
Overview
An internet radio in the terminal.
Curseradio-improved
is an improved version of curseradio
, a curses
interface for browsing and playing an OPML
directory of internet radio streams. It is designed to use the tunein directory found here, but could be adapted to others.
Audio playback uses mpv. Curseradio-improved
requires python3
and the libraries requests
, xdg
and lxml
.
Installation
Install the module from PyPI
:
pip3 install curseradio-improved
curseradio-improved # tests the success installation
You can also install curseradio-improved
from source by cloning (or downloading the code from) this repository. Then type:
make # might prompt for `sudo' password
curseradio-improved # tests the success installation
Settings
Settings are parsed from a configs.json
. Currently, colors and key bindings can be change to your liking. Additional settings like status bar display text, section separators and more will be configurable in the future. To find the location of the settings file of your installation, type:
echo "$(pip3 show curseradio-improved | grep -i 'location' | awk '{ print $2 }')/curseradio_improved/configs.json"
Key Bindings
You can use the keys below to navigate and select things in the tui
. vi
-like keys should work intuitively.
Key(s) | Command |
---|---|
↑ or k, ↓ or j | navigate |
PgUp or p, PgDn or n | navigate inbetween sections |
Home or g, End or G | to top/bottom |
Enter | open/close folders, play stream |
s | stop playing stream |
q | quit |
f | toggle favourite |
License
curseradio-improved
is MIT-licensed (see LICENSE.md).
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file curseradio-improved-0.3.8.tar.gz
.
File metadata
- Download URL: curseradio-improved-0.3.8.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eafc04e0820ee611b0ac73b1592512a1ffe5340d2a6a3d1cebb036d8ea9b9408 |
|
MD5 | 3c8015be9c7284051702848a7b09ca0d |
|
BLAKE2b-256 | a4e0447e993f7b39d127f3623e2359198296d904f7501d4f0c8d6187c2d2e9f5 |
File details
Details for the file curseradio_improved-0.3.8-py3-none-any.whl
.
File metadata
- Download URL: curseradio_improved-0.3.8-py3-none-any.whl
- Upload date:
- Size: 9.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b73e7078b446340d24dd435a6ba84a857febecd98ed4371960f0c0d9a9eade1a |
|
MD5 | 5216f066c975c022eaa4e19a2bc21db7 |
|
BLAKE2b-256 | 390ec6418c5fb293941f36e36b8d544097da999b44389e8fda66514f48c95ed9 |