Skip to main content

A music streaming cli.

Project description

🎵 daamusic — Music Streaming CLI

A terminal-based YouTube music streamer built in Python.
Simple. Offline-ready. MPV-powered.

PyPI version License Python 3.10+


📦 What is daamusic?

daamusic is a Python command-line tool that streams audio from YouTube directly in your terminal using mpv. It handles everything — from installing mpv to keeping the terminal clean.

🧪 Built as a DAA (Design & Analysis of Algorithms) PBL project in 4th Semester.


🚀 Features

  • 🔊 Stream music from YouTube
  • 💻 Clean terminal interface
  • ⚙️ Automatically downloads mpv on Windows/MacOs/Linux
  • 🎯 Caches mpv to avoid repeat downloads
  • 📡 Plays URL or lets you interactively search
  • 🧠 Written with simplicity and DAA concepts in mind

🧩 Installation

From PyPI

pip install daa_music

Then run:

daamusic

From GitHub (Latest Dev Version)

pip install git+https://github.com/kamalkoranga/daamusic.git

🎮 Usage

Interactive Search Mode

daamusic

🎛️ Interactive Controls

While the song is playing, use:

  • / : Skip backward/forward 5 seconds
  • / : Skip backward/forward 1 minute
  • Space : Pause / Play
  • m : Mute
  • q : Quit / Close the player

🛠️ Contributing

Pull requests are welcome!

  1. Fork the repository
  2. Create a new feature branch
  3. Make your changes
  4. Open a PR

📜 License

This project is licensed under the MIT License.
See LICENSE for more information.


🔗 Links

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

daa_music-0.0.3.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

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

daa_music-0.0.3-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file daa_music-0.0.3.tar.gz.

File metadata

  • Download URL: daa_music-0.0.3.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for daa_music-0.0.3.tar.gz
Algorithm Hash digest
SHA256 a098c4d32d622d6af388c0b53b21f79fee27bea2b41d3591a530fdf08532b35a
MD5 326ae929461933a329efadd4dd1980ad
BLAKE2b-256 3afb0b391e32dedf85ed16fd13e407243c72aec2880c0ecffb320acfd83f5278

See more details on using hashes here.

File details

Details for the file daa_music-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: daa_music-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for daa_music-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4ff5ec50213cda8f8bd1c6cfc075c5a0fc7537b941c7ac3773d40a9694c3e939
MD5 5b43846f753945241236715fe8feb12d
BLAKE2b-256 9f238aa561b83f90cd8d031c5489de9b8b2639b8678452229223eaa98e94c1aa

See more details on using hashes here.

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