Metadata-Version: 2.4
Name: daa_music
Version: 0.0.3
Summary: A music streaming cli.
Author-email: Klka <klka@duck.com>
License-Expression: MIT
Project-URL: Homepage, https://github.com/kamalkoranga/daamusic
Project-URL: Repository, https://github.com/kamalkoranga/daamusic
Keywords: music,cli,audio,tool
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: End Users/Desktop
Classifier: Topic :: Multimedia :: Sound/Audio
Classifier: Topic :: Utilities
Classifier: Environment :: Console
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: rich==14.0.0
Requires-Dist: yt-dlp==2025.3.31
Dynamic: license-file

<h1 align="center">🎵 daamusic — Music Streaming CLI</h1>

<p align="center">
  A terminal-based YouTube music streamer built in Python.<br/>
  Simple. Offline-ready. MPV-powered.
</p>

<p align="center">
  <a href="https://pypi.org/project/daa_music/"><img src="https://img.shields.io/pypi/v/daa_music.svg?color=blue" alt="PyPI version"></a>
  <a href="https://github.com/kamalkoranga/daamusic/blob/main/LICENSE"><img src="https://img.shields.io/github/license/kamalkoranga/daamusic.svg" alt="License"></a>
  <a href="https://github.com/kamalkoranga/daamusic/stargazers"><img src="https://img.shields.io/github/stars/kamalkoranga/daamusic.svg?style=social"></a>
  <img src="https://img.shields.io/badge/python-3.10%2B-blue.svg" alt="Python 3.10+">
</p>

---

## 📦 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

```bash
pip install daa_music
```

Then run:

```bash
daamusic
```
---

### From GitHub (Latest Dev Version)

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

## 🎮 Usage

### Interactive Search Mode

```bash
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](LICENSE) for more information.

---

## 🔗 Links

- PyPI: [daa_music](https://pypi.org/project/daa_music/)  
- GitHub: [kamalkoranga/daamusic](https://github.com/kamalkoranga/daamusic)  
- MPV: [https://mpv.io/](https://mpv.io/) 
