ChinTunes ๐ต
The Ultimate High-Fidelity Music Downloader, Playlist Syncer & Terminal Mini-Player.
๐ Feature Highlights
1. ๐ต Studio 320kbps CD Masters
- Automatically matches song metadata against JioSaavn CD masters for authentic 320kbps audio.
- Direct high-speed CDN audio streaming with pure Python (
urllib), resulting in near-0% CPU load and maximum download speed.
2. ๐ค Real-Time Synced Lyrics & Album Covers
- Fetches synchronized timestamped lyrics (
.lrc / SYLT) from LRCLIB and NetEase.
- Auto-crops video thumbnails into clean 1:1 square album covers using pure Python Pillow without needing external tools.
- Embeds complete ID3v2.3, MP4 (
mutagen.mp4), and FLAC metadata directly into files.
3. ๐ Complete Playlist & Track Manager
- โจ Custom Playlists: Create new local playlists (e.g. "Gym Hits", "Roadtrip") without requiring a remote URL. Auto-generates matching standard
.m3u8 playlists for phone, car, and VLC compatibility.
- ๐ต Manage Songs: Inspect all songs in a playlist with file sizes and lyrics status. Play individual tracks or delete tracks and their sync history with one click.
- โก 1-Click Sync: Keeps your offline library perfectly synchronized with remote YouTube / Spotify playlists, automatically skipping already-downloaded songs.
4. ๐ Multi-Format Audio Library Matcher (MP3, M4A, FLAC, OGG, OPUS, WAV, AAC, ALAC, WEBM)
- Multi-Format Support: Works seamlessly across
.mp3, .m4a, .mp4, .flac, .aac, .ogg, .opus, .wav, .wave, .aiff, .alac, and .webm.
- Tri-Source Metadata Cascade:
- Apple iTunes CD Master API: Queries CD-release masters and fetches up to 1400x1400 ultra-high-definition artwork.
- JioSaavn Studio API: Secondary resolver for Indian, Bollywood, and regional tracks with studio 500x500 covers.
- YouTube & YouTube Music: Tertiary fallback via
yt-dlp to identify rare tracks, remixes, covers, and unreleased singles, retrieving maxresdefault thumbnail artwork.
- Cleans & Sanitizes: Automatically strips pirate site domains, bitrates (
320kbps), web URLs, and platform junk tokens.
- 1:1 Square Hi-Res Artwork: Center-crops artwork to square JPEG using Pillow (
PIL) without requiring external binaries.
- Synced Lyrics Backfill: Automatically queries and embeds synced karaoke lyrics directly into audio containers and writes matching
.lrc companion files.
- Optional Clean Rename: Automatically renames files into standardized
Title - Artist.ext format upon confirmation.
5. ๐ ๏ธ Library Tag & Cover Repair
- Point ChinTunes to any existing folder of music to backfill missing synchronized lyrics and 1:1 album covers offline.
โก 1-Click Automated Install
ChinTunes sets up its own isolated environment with zero pollution to your global system Python.
macOS & Linux:
./install.sh
(or run python3 install.py)
Windows:
Double-click install.bat
(or run python install.py in PowerShell / Command Prompt)
What the installer does automatically:
- System Pre-Flight: Checks Python version and optionally detects FFmpeg.
- Isolated Environment (
~/.chintunes/env): Creates a private virtual environment and installs all dependencies with 0 global footprint.
- Global Command Registration: Adds
chintunes and chintune to your PATH so they can be launched anywhere.
๐ How to Launch
Open any terminal and type:
chintunes
(or simply chintune)
Use your arrow keys to navigate the menu and press Enter to select.
๐๏ธ Terminal Mini-Player & Live Karaoke
Play any downloaded song or playlist directly inside your terminal with real-time scrolling lyrics:
โญโโโโโโโโโโโโโโโโโโโโโโโโ ChinTunes Terminal Player ๐ต โโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ AGAR TUM SAATH HO โ Arijit Singh โ
โ Track 1 of 203 โข M4A โข 13.26 MB โ
โ โ
โ PLAYING โถ 00:42 โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ 05:41 | ๐ 80% โ
โ โ
โ โโ Karaoke Synced Lyrics โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ Pal bhar thahar jaao โ
โ Dil ye sambhal jaaye โ
โ โซ Agar tum saath ho โช โ
โ Har gham phisal jaaye โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ Controls: [Space] Pause/Play [โ/โ] Peek ยฑ5s [โ/โ] Volume [N/P] Next/Prev โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
Keyboard Shortcuts:
| Key |
Action |
[Space] |
Pause / Resume playback |
[โ] / [Right Arrow] |
Peek / Seek forward +5 seconds |
[โ] / [Left Arrow] |
Peek / Seek backward -5 seconds |
[โ] / [+ / =] |
Volume Up (+5%) |
[โ] / [- / _] |
Volume Down (-5%) |
[N] |
Skip to Next Track |
[P] |
Jump to Previous Track (or replay from start) |
[Q] / [Esc] |
Stop playback and return cleanly to menu |
๐๏ธ 1-Click Complete Uninstall
To completely purge ChinTunes, its isolated virtual environment, global launchers, PATH entries, and optionally FFmpeg:
- macOS & Linux: Run
./uninstall.sh (or python3 uninstall.py)
- Windows: Double-click
uninstall.bat (or python uninstall.py)
Leaves zero residual files or broken packages on your machine.
๐ License
MIT License. Free and open source for personal music enjoyment.