Skip to content

W4hyuXD/iv-Music

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

27 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽง iv-Music Player & Downloader

A modern, interactive music player and downloader built for Termux. Fully supports playlists, audio extraction, and interactive controls. Supported platforms: YouTube, Instagram, TikTok, Facebook, and others.

Powered by yt-dlp, ffmpeg, and mpv.


โœจ Features

  • ๐ŸŽต Download audio (MP3, M4A, OPUS, AAC, WAV)
  • ๐ŸŽฅ Download video (MP4, MKV, etc.)
  • ๐Ÿง  Interactive search mode (-sr)
  • ๐Ÿ” Convert Mp4 to Mp3
  • ๐Ÿ“œ Playlist mode (play/download all or choose individual items)
  • โš™๏ธ Auto-update yt-dlp each run
  • ๐Ÿ“‚ Output saved to /sdcard/Download/iv-Download/
  • ๐Ÿ” Auto-create folders for playlists
  • ๐Ÿ’ฌ Termux-friendly (designed for Android)

๐Ÿš€ Installation

pkg install python ffmpeg mpv -y
pip install yt-dlp colorama

Clone this repo:

git clone https://github.com/W4hyuXD/iv-Music.git
cd iv-Music

Run:

python3 iv.py -h

๐Ÿ’ก Usage

Basic commands

Command Description
iv -a <url> Download single video/audio (default: mp3 128kbps)
iv -v "<url>" Download Video (Selected Best Resolution)
iv -p <url> Play audio directly (no download)
iv -sr "query" Search interactively on YouTube
iv -f mp4 -q 720p <url> Download specific format/resolution
iv <playlist_url> Enter playlist interactive mode

๐ŸŽฎ Interactive Playlist Mode

When you open a playlist URL, you can choose:

1. Play all audio
2. Download all audio (.mp3)
3. Download all videos (.mp4)
4. View list & pick one item
5. Exit

๐Ÿง  Examples

# Search and play directly
python3 iv.py -sr "cigarettes after sex" --max-results 5

# Download a video at 720p
python3 iv.py -f mp4 -q 720p "https://youtu.be/example"

# Play a YouTube playlist
python3 iv.py -a "https://www.youtube.com/playlist?list=PLabc123xyz"

๐Ÿ—‚๏ธ Output

/sdcard/Download/iv-Download/
โ”œโ”€โ”€ my-song.mp3
โ”œโ”€โ”€ my-video.mp4
โ””โ”€โ”€ <playlist name>/
    โ”œโ”€โ”€ 001 - first track.mp3
    โ”œโ”€โ”€ 002 - second track.mp3

๐Ÿงฐ Dependencies

  • Python 3.12.11
  • ffmpeg
  • mpv
  • yt-dlp (auto-updated)

๐Ÿชถ Credits


๐Ÿ“œ License

MIT License ยฉ 2025 @WahyuDin Ambia

About

Music Downloader With iv.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages