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.1.tar.gz (509.5 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.1-py3-none-any.whl (510.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cli_music_player_cthulhu-1.0.1.tar.gz
  • Upload date:
  • Size: 509.5 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.1.tar.gz
Algorithm Hash digest
SHA256 c1ee5096eeb939d74cd9f4aef56db73849df976e8fe9e281266098309324aa0d
MD5 f83ca5c4df7000fbb07df7aba0bc8c8d
BLAKE2b-256 46eb7eaba51ee1f269123a7851c162ae129a83420fb5f494ed8ebd17956e4325

See more details on using hashes here.

Provenance

The following attestation bundles were made for cli_music_player_cthulhu-1.0.1.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.1-py3-none-any.whl.

File metadata

File hashes

Hashes for cli_music_player_cthulhu-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8b3669a95bb086e4c7e92a090608cd8aeadb3629a8c16141319a0369e30e984f
MD5 70bdda5c56902d23cacb5526b7194d64
BLAKE2b-256 2eb94ed8ff845e3cb20ff2ca155e2ba2b63caa00c5980c2c8b2e625b706f4c4e

See more details on using hashes here.

Provenance

The following attestation bundles were made for cli_music_player_cthulhu-1.0.1-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