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.5.tar.gz (8.5 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.5-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for daa_music-0.0.5.tar.gz
Algorithm Hash digest
SHA256 476cad7b5b3efd48e832f8e3171192f087c539a5e4c9eae6f18f7a04a0dc5944
MD5 0d03812ecce76aef4f69cce9e2009e10
BLAKE2b-256 0a55139bfab254d44479932caa19f9ea34889127a6c8fa9b29555225a6d9e9af

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for daa_music-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b3d53c7618472a934f02f191c1ce0791a871291fe32fcff934ea812a336aa7b9
MD5 e4975aae8aa8e3014b8f85c60dd42249
BLAKE2b-256 d4a0817eb1f5d7270dedf1583cfe7d21d62188c755c703720868025c4c30b863

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