A lightweight terminal music player with a pulsing Cthulhu
Project description
CLI Music Player
A lightweight, terminal-based music player written in Python, featuring a pulsing Cthulhu and online lyrics support.
Features
- Terminal User Interface (TUI): Clean interface built with
curses. - Online & Synced Lyrics: Automatic lyrics fetching from
LRCLIB,Letras.mus.br, andLyrics.ovh. - File Browser: Navigate directories to find your music.
- Recursive Library Mode: Scan all subdirectories and play your entire collection at once.
- Shuffle Mode: Randomized playback with a history-aware "Previous" function.
- Audio Formats: Supports mp3, wav, flac, ogg, m4a, wma, aac, opus.
- Playback Controls:
- Play / Pause / Stop
- Next / Previous Track
- Volume Control
- Progress Bar with Synced Lyrics highlighting.
- Now Playing View: Dedicated screen showing track info, progress, and Cthulhu/Lyrics.
Requirements
- Python 3.8+
- Audio output device.
Installation
Via PIP (Recommended)
Install directly from PyPI:
pip install cli-music-player-cthulhu
From Source
-
Clone the repository:
git clone https://github.com/thiagofmendonca/cli-music-player.git cd cli-music-player
-
Install dependencies:
pip install pygame mutagen
-
Run the script:
python musicplayer.py
Usage
Run the command from your terminal:
musicplayer
Controls
| Key | Action |
|---|---|
| Arrow Up/Down | Navigate files / Scroll Lyrics |
| Enter | Play file / Open directory |
| Space | Play / Pause |
| l | Toggle Lyrics View |
| n | Next Track |
| p | Previous Track (History-aware) |
| z | Toggle Shuffle Mode |
| R | Load Recursive Library (all subfolders) |
| B | Return to Browser Mode |
| + / - | Volume Up / Down |
| Tab | Toggle "Now Playing" View |
| s | Stop |
| q | Quit (or go back from Player View) |
License
MIT
Project details
Release history Release notifications | RSS feed
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 cli_music_player_cthulhu-0.4.3.tar.gz.
File metadata
- Download URL: cli_music_player_cthulhu-0.4.3.tar.gz
- Upload date:
- Size: 12.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f481c0811542fa8a6cef8ebb9429ca23124672bc6c2209ec7cf52995ad99d6df
|
|
| MD5 |
0a5cdace9c21b2a10a1c40c646c983a6
|
|
| BLAKE2b-256 |
3aff37a0da08822dd66f0abe63a2ef878b54208747004452d8933ba80448f579
|
File details
Details for the file cli_music_player_cthulhu-0.4.3-py3-none-any.whl.
File metadata
- Download URL: cli_music_player_cthulhu-0.4.3-py3-none-any.whl
- Upload date:
- Size: 12.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed46cc50f3af3999c377ef235a1ec1cfa3b158f31832e62d1c89b2c9ab648f6e
|
|
| MD5 |
c27ccadebd70a6a56fa43392cb0bf8e7
|
|
| BLAKE2b-256 |
e6b10f20376c7b716650455650c369019fc70a33ffcfb5ea01e684ef5d6cb579
|