TUI WebRadio player
Project description
AudioPlayer
New in this Version
-- 23.12.2025 --
- Play URL added. Now you can enter an url to play it
-- 21.12.2025 --
- Small design changes
- Playlist items can now be played by hiting enter key or mouse click
- Prepared for playlist editing - but still not working
A textual.app for playing online radio streams
The app was actually developed for the Raspberry Pi to provide a simple but attractive interface for a Raspi LCD display. However, the app works in principle on all Linux distributions that meet the following requirements:
- a terminal which supports Rich Python library
- can run a VLC-Player
- uses ALSA soundsystem (also pipewire with ALSA)
You can run the app also remote with ssh.
The app can also be controlled in a browser.
To do so go into the src/tui_audioplayer directory and run python3 server.py
Installation
you can install the app with pip install tui_audioplayer
pipx will not work :-(
You can also clone the repository
go into te src folder and run python3 -m tui_audioplayer
On Raspi
If you want to install the package on a Raspi, you will possibly get an error.
The problem is the pyalsa package. This package has to be installed with sudo apt install python3-pyalsa
Then run pip install tui_audioplayer again.
Playlist
The Playlist is the JSON version off XSPF.
Each Category has its own folder in the Playlist folder. You can create categories as you like.
Every category folder contains a playlist file (.jspf). The playlist file has the same name in lower case as the category e.g.: category Jazz playlist file name jazz.jspf.
The playlist entries -the radio stations- are organized in tracks as followed:
- location: the url (in []) where the music comes from
- title: the radio station name
- image: the file name for the image of the radio station. The image is a 400x400 png in the same folder of the playlist. Please avoid spaces in file names.
To open and close the Playlist press the p key
Issues
- Key events are ignored for changing the volume, so changing the volume works only with mouse scrolling up or down.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tui_audioplayer-0.1.5.tar.gz.
File metadata
- Download URL: tui_audioplayer-0.1.5.tar.gz
- Upload date:
- Size: 7.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"openSUSE Tumbleweed","version":"20251220","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd37c6ab6f6b67be16b3d13a3d7499914b8860601f65868b13d6f6726b05c7c1
|
|
| MD5 |
eb517e8885f49bccac8a3839338cc106
|
|
| BLAKE2b-256 |
6dad29f72b459a1a1cdd9aba8a020b147bc17aff3047bfdb4c26c167fd2a5765
|
File details
Details for the file tui_audioplayer-0.1.5-py3-none-any.whl.
File metadata
- Download URL: tui_audioplayer-0.1.5-py3-none-any.whl
- Upload date:
- Size: 7.7 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"openSUSE Tumbleweed","version":"20251220","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ceafbaf16e3263b467941aafef8476c9fd5763d8d82f7f625d8ad1f368dffa7
|
|
| MD5 |
4288ea1b97cfe355c8d140ad03ae6dea
|
|
| BLAKE2b-256 |
70b93a14e69d4399737fa2beb4f3e5321345fc590cfe3c6098cfbbda65b15da9
|