parole
Parole is a TUI tool to display lyrics from the song you are currently playing !
Download here !
Quick start
1. Dependencies
You will need pipx or pip to run this program
On Windows, you will need the Visual Studio build tools
2. Download the program
pipx install parole-tui
or if you don't have pipx
pip install parole-tui
3. Launch the program
parole
Usage
Here is a list of the arguments that it can take :
-h, --help Show the available arguments
--delay DELAY Delay at which the program will update lyrics
--no-song-infos Don't show song infos at the start of the song
--no-ansi Don't use terminal colors
--line-count LINE_COUNT Number of lyrics shown before and after the current one
Troubleshoot
It just shows "No song is playing"
Check if the media stream is detected.
On Linux, install playerctl and run :
playerctl metadate
It should show the artist and song. If not, try another player or submit an issue if none works.
On Windows, check the media center for any media stream.
If it works, then submit an issue and I'll look at what's going on.
No lyrics is found
Your song does not have lyrics on LRCLib or lrc.red, sorry
Features
- Show lyrics in terminal
- Multiplatform - Uses MPRIS or winsdk depending on your OS
- Some customization options
- Sync lyrics with music
- Two source: LRCLib and lrc.red
Development
You can see infos on how to contribute and develop on the CONTRIBUTING.md file
How does that works ?
The program takes the current song using two ways, depending on the OS. If it runs on Linux, it will create a LinuxMediaProvider which uses MPRIS (through dbus-next) to get infos, while on Windows it uses a WindowsMediaProvider that uses winsdk to get infos. If the song changed, it sends a request to LRCLib to get the lyrics and display them ! If LRCLib does not have the song or is down, it asks lrc.red for the lyrics instead.
Stardance
This tool was made for Stardance, a program ran by Hack Club
My project page | Hack Club | Stardance Program
AI Notice
AI was used to do research in this project, but the code was always rewritten and edited by an human.
Credit
Libraries
- dbus-next, to interact with MPRIS on Linux : pypi.org/project/dbus-next
- Winsdk, to interact with Windows : pypi.org/project/winsdk
- Textual, to display the TUI : textual.textualize.io
API
- LRCLib, to get the lyrics : lrclib.net
- lrc.red, to also get the lyrics : lrc.red
Project management
- UV, to manage the project : docs.astral.sh/uv
- uv-script, to create custom scripts (lint, format...) : pypi.org/project/uv-script
- Ruff, to lint and format : docs.astral.sh/ruff
- Deptry, to check dependencies problems : deptry.com
Metadata
Release files for parole-tui 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| parole_tui-1.1.0.tar.gz | 8.4 kB | With provenance | Details for parole_tui-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| parole_tui-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for parole_tui-1.1.0-py3-none-any.whl |
Total release size: 18.3 kB
Release files / parole_tui-1.1.0.tar.gz
| Download URL | parole_tui-1.1.0.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1710d2876830ad0410d7e2060d7b2965c64169baced779769d9b854f61625718
|
|
BLAKE2b-256 checksum How to use checksums |
a65a55ba5d7b3d1dd39e78426e56bd4449941acb4b15d055ed37695dbb1108f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 31, 2026.
Transparency logRelease files / parole_tui-1.1.0-py3-none-any.whl
| Download URL | parole_tui-1.1.0-py3-none-any.whl |
|---|---|
| Size | 9.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
943be799a45e9693a72d6e6559849e4c7553bb45c4825aeffb20808cfaa52db8
|
|
BLAKE2b-256 checksum How to use checksums |
3c83fb26d064610741c70980c556677702e1b848c6b8c5d985e466a82a4bb635
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 31, 2026.
Transparency logSecurity for parole-tui 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for parole_tui-1.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 31, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.