Skip to main content

A lightweight terminal music player with mpv engine and auto-setup

Project description

Cthulhu Music Player 🐙🎵

Version 1.0.0

A powerful, hybrid music player that summons your beats from the deep. Featuring a modern GUI (PyQt6) for desktop comfort and a robust CLI mode for terminal dwellers.

✨ Features

  • Hybrid Interface:
    • GUI: Modern Dark Theme, Tabbed Interface (Now Playing, Library, Search, Queue), and Animated Visuals.
    • CLI: Lightweight, keyboard-driven terminal interface.
  • Universal Playback:
    • Local Library: Deep recursive scanning, instant filtering, and file management.
    • Online Streaming: Seamless YouTube and SoundCloud (prefix sc:) integration.
  • Immersive Experience:
    • Animated Cthulhu: Watch the Great Old One pulse to the rhythm.
    • Synced Lyrics: Automatic fetching from LRCLib and Letras.mus.br.
  • Smart Queue:
    • Manage your playlist with ease.
    • Context Menus: Right-click to add multiple items to the queue.
    • Jump: Double-click any item in the queue to play immediately.
  • Cross-Platform: Native support for Linux and Windows (with auto-mpv setup).

🚀 Installation

Via PIP

pip install cli-music-player-cthulhu

System Requirements

  • Python 3.9+
  • Linux: Requires mpv (sudo apt install mpv / sudo pacman -S mpv).
  • Windows: Auto-downloads mpv on first run.

🎮 Usage

🖥️ Graphical Interface (Recommended)

Launch the full experience:

musicplayer-gui

Controls:

  • Navigation: Use tabs to switch views.
  • Library: Type in the filter box. Press Enter to trigger a deep recursive search in subfolders.
  • Search: Type queries for YouTube. Prefix with sc: for SoundCloud.
  • Queueing: Select multiple items (Ctrl/Shift+Click) -> Right Click -> Add to Queue.
  • Debug Mode: Run musicplayer-gui --debug to see backend logs.

📟 Terminal Interface

Launch the lightweight TUI:

musicplayer

Controls: Space (Pause), / (Search), a (Queue), q (Quit).

📦 Building from Source

To build standalone executables (Linux/Windows):

  1. Clone and Install Dependencies:

    git clone https://github.com/thiagofmendonca/cli-music-player.git
    cd cli-music-player
    pip install .
    pip install pyinstaller
    
  2. Build:

    # Linux
    pyinstaller --noconfirm --onefile --windowed --name "CthulhuPlayer" --add-data "musicplayer/assets:musicplayer/assets" --icon "musicplayer/assets/frame1.png" --hidden-import "musicplayer" run_gui.py
    
    # Windows (PowerShell)
    pyinstaller --noconfirm --onefile --windowed --name "CthulhuPlayer" --add-data "musicplayer/assets;musicplayer/assets" --icon "musicplayer/assets/frame1.png" --hidden-import "musicplayer" run_gui.py
    

📜 License

MIT

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

cli_music_player_cthulhu-1.0.2.tar.gz (511.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cli_music_player_cthulhu-1.0.2-py3-none-any.whl (512.4 kB view details)

Uploaded Python 3

File details

Details for the file cli_music_player_cthulhu-1.0.2.tar.gz.

File metadata

  • Download URL: cli_music_player_cthulhu-1.0.2.tar.gz
  • Upload date:
  • Size: 511.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for cli_music_player_cthulhu-1.0.2.tar.gz
Algorithm Hash digest
SHA256 aeed6bf758da093108fef977e66554ad6002648a5d3990829fc9557ab102f851
MD5 aa154d6bdff94ec59abe836c63588ea9
BLAKE2b-256 bcc39048e4efb0390a4d2cb2dfec882457d0e3bd5f6898c6745e00ac670fac71

See more details on using hashes here.

Provenance

The following attestation bundles were made for cli_music_player_cthulhu-1.0.2.tar.gz:

Publisher: python-publish.yml on thiagofmendonca/cli-music-player

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cli_music_player_cthulhu-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for cli_music_player_cthulhu-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ee3d8df6946ae7b04610fab9b0e9adf21d52507f2093431adffcd41067428479
MD5 99fe8822dd3e904eecdc653a8466ebf6
BLAKE2b-256 85773b635404f3ba15079b67316bc156ccef9ac5318c418e873f3fee287b8903

See more details on using hashes here.

Provenance

The following attestation bundles were made for cli_music_player_cthulhu-1.0.2-py3-none-any.whl:

Publisher: python-publish.yml on thiagofmendonca/cli-music-player

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page