Skip to content

About

Aggregated music player for Android. 9M+ legal tracks + 2,945 radio stations. 6 sources: Audius, Internet Archive, RadioBrowser, SomaFM, Openverse, Jamendo. Pure Java, 0 dependencies, full offline caching.

Topics

Resources

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

MusicFusion

CI Release License Android 21+ Java 8 APK 250KB 0 deps 9M+ tracks 2945 radio 6 sources 100% private Stars Forks

MusicFusion

6 sources · 9M+ tracks · 2,945 radio · 0 ads · 0 tracking
The only Android music player you'll ever need

Why · Features · Sources · Screenshots · Install · Architecture · Roadmap · License


🎯 Why MusicFusion?

Problem Spotify / YouTube / Apple MusicFusion
Price ¥10-30/月 Free forever
Ads Yes (free tier) Zero ads
Privacy Tracks you + sells data Zero tracking
Offline Premium only Always free
Login required Yes No signup
Source lock-in One provider 6 sources
Battery drain High (DRM, telemetry) Minimal
APK size 50-100MB <250KB
Reverse engineering Impossible (DRM) Open source

MusicFusion is built on one principle: music is a human right, not a subscription service.

✨ Features (v13)

🎵 Playback

  • Gapless playback (无缝播放)
  • ReplayGain (音量标准化)
  • 10-band graphic equalizer with custom curve save/load
  • Crossfade between tracks
  • Speed control (0.5x-2x)
  • Sleep timer
  • Lyrics display (offline + online)
  • Audio focus (duck when other apps play)

📚 Library

  • 9M+ tracks from 6 sources
  • Local files (mp3, flac, ogg, opus, m4a, wav)
  • Smart playlists with auto-generation
  • Favorites, history, queue
  • Bulk operations (select, delete, move)
  • Search across local + online (with source filter)
  • MusicBrainz metadata auto-enrichment

🌐 Online Sources (6)

口径说明:以 src/com/musicfusion/app/ 下实际存在的 source 实现与 SearchFilters / 搜索筛选中的 6 个来源为准。

  • Audius — decentralized, crypto-paid artists
  • Internet Archive — public domain + CC
  • RadioBrowser — live radio stations
  • SomaFM — listener-supported commercial-free
  • Openverse — CC-licensed audio search with license/file-type filters
  • Jamendo — independent artists (requires free client_id, see in-app settings)

⬇️ Download & Offline

  • Download manager (pause/resume/queue, MediaStore API 29+)
  • Auto-download playlists for offline
  • Smart cache (delete played songs after N days)
  • Per-track quality selector (96k / 128k / 192k / 320k)

📻 Podcasts

  • RSS/OPML import & export
  • Auto-update subscriptions
  • Playback speed (0.5x-2.5x)
  • Skip silences
  • Sleep timer per episode
  • Chapters support
  • Download for offline

🎨 UI/UX

  • AMOLED / high-contrast / light / sepia / custom themes
  • Material You dynamic colors (Android 12+)
  • Listen stats (charts: weekly / monthly / yearly, top genres, time-of-day heatmap, top artists)
  • Multiple widget sizes (2x1, 4x1, 4x2 with lyrics line)
  • BigPictureStyle notification (large art + scrolling lyrics + progress)
  • Android Auto media browser (read-only manifest)
  • Quick Settings tile (play/pause/skip)
  • App Shortcuts (long-press app icon: resume / search / radio / downloads / smart playlist)

🔗 Integrations

  • Last.fm Scrobble (optional, opt-in, no key required)
  • MusicBrainz metadata enhancement
  • Discord Rich Presence (shows current song)
  • MPRIS (Linux desktop control)

🔒 Privacy

  • Zero telemetry (no Firebase, no Crashlytics, no Google Play Services)
  • All data on-device (or your own server)
  • No accounts, no login
  • Network requests only to whitelisted sources
  • Open source — verify yourself

🏗️ Architecture (40 source files, 11000+ lines)

┌─────────────────────────────────────────────────────────────┐
│                     UI Layer (Activities)                     │
│  MainActivity │ WidgetActivity │ ShortcutsActivity │ AutoUI  │
└──────┬──────────────────────────────────────────────────────┬─┘
       │                                                       │
       ▼                                                       ▼
┌──────────────────┐                              ┌────────────────────┐
│ PlayerService    │◄───────── IPC ──────────►│  DownloadManager  │
│  (MediaSession)  │                              │  (MediaStore API) │
└──────┬───────────┘                              └────────────────────┘
       │
       ▼
┌────────────────────────────────────────────────────────────────┐
│                  Source Layer (6 implementations)              │
├─────────────────────┬──────────────────┬───────────────────────┤
│ Audius │ Archive │ RadioBrowser │ SomaFM │ Openverse │ Jamendo │
│ P2P      │ HTTP     │ HTTP+JSON     │ HTTP   │                │
└────┬────┴─────┬────┴───────┬────────┴────┬──┘                │
     │          │            │            │                    │
     ▼          ▼            ▼            ▼                    │
┌────────────────────────────────────────────────┐            │
│          Common Interface (Source.java)         │            │
│  search() · stream() · getPlaylist() · getInfo  │            │
└────────────────────┬───────────────────────────┘            │
                     │                                        │
                     ▼                                        ▼
┌────────────────────────────────────────────────────────────┐
│              Database Layer (SQLite)                        │
│  tracks · artists · albums · playlists · history · queue  │
└────────────────────────────────────────────────────────────┘

Tech highlights

  • Pure Java 8 — no Kotlin, no dependencies
  • Service-based playback — survives activity death
  • MediaSession integration — system media controls
  • Material 3 components with Material You dynamic colors
  • Foreground service for background playback
  • MediaBrowserService for Android Auto
  • AppWidgets with 3 sizes (2x1, 4x1, 4x2)
  • WorkManager for scheduled tasks (podcast refresh, cache cleanup)
  • Room style database abstraction (just raw SQLite, no lib)
  • Glide-style image loading (just BitmapFactory, no lib)

📦 Quick Start

Requirements

  • Android 5.0+ (API 21+)
  • ~5MB free space

Install (prebuilt APK)

# Download latest release
wget https://github.com/ice-wocker/MusicFusion/releases/latest/download/musicfusion.apk

# Or via ADB
adb install musicfusion.apk

Build from source

git clone https://github.com/ice-wocker/MusicFusion
cd MusicFusion
ANDROID_HOME=/path/to/android-sdk ./build.sh   # 产出 musicfusion.apk

要求:JDK 17 + Android SDK(build-tools / platforms 任一版本均可,脚本自动挑选)。 脚本不再依赖 Termux——aapt2 / d8 / zipalign / apksigner 全部取自 ANDROID_HOME,Windows / macOS / Linux 的 CI 都能跑。

First-run

  1. Open app → tap search → pick any source (e.g. Audius)
  2. Search for an artist → tap result → tap play
  3. All playing happens in PlayerService (survives app close)
  4. Tap album art → full screen player

🛠️ Development

# Build with debug info
./build.sh --debug

# Run tests
./scripts/test-all.sh

# Generate signed release APK
./build.sh --release

See CONTRIBUTING.md for how to add a new source.

🗺️ Roadmap

v14 (Q1 2026)

  • Cloud sync (optional, your own server)
  • Custom equalizer presets (community sharing)
  • Lyrics translation (offline)
  • Discord RPC improvements
  • MPRIS v2 (more desktop players)

v15 (Q2 2026)

  • Spotify Connect (if you happen to have Premium)
  • Last.fm loved tracks import
  • MusicBrainz "similar artists" radio
  • Bandcamp source
  • YouTube Music source (if API allows)

v16+ (future)

  • Web client (PWA, runs on any device)
  • iOS port (if SwiftUI stable enough)
  • CarPlay (when Apple allows)
  • Watch app (Wear OS)
  • Plugin system (3rd party sources)

🐛 FAQ

Q: Why is the APK so small (<250KB) compared to Spotify (~100MB)? A: We use 0 third-party libraries. No Firebase, no Google Play Services, no analytics SDK, no DRM. Just pure Android framework + SQLite.

Q: Can I add my own music server? A: Yes! The source layer is modular — implement Source.java interface and register. See docs/add-source.md.

Q: Does it support FLAC/Opus? A: Yes, Android's MediaPlayer/ExoPlayer handle all Android-supported formats.

Q: Will it work on Android Auto? A: Partial. The MediaBrowserService is registered, but full Auto UI requires a Google Play release.

Q: Why no Equalizer presets? A: v13 ships with default presets (Pop/Rock/Classical/Jazz). User presets are coming in v14.

🤝 Contributing

Contributions welcome! See CONTRIBUTING.md for the dev guide.

  • 🐛 Bug reports → issues
  • 💡 Feature requests → discussions
  • 🔧 PRs → fork → feature branch → PR

Most needed:

  • New source implementations (Subsonic, Navidrome, Plex)
  • Lyrics source integrations
  • UI/UX design improvements
  • Translation (we need i18n)

📜 License

MIT License. See LICENSE.

Copyright (c) 2026 ice-wocker

⭐ Star History

Star History Chart


Built with ❄ by ice-wocker — making small, free, single-file tools.

About

Aggregated music player for Android. 9M+ legal tracks + 2,945 radio stations. 6 sources: Audius, Internet Archive, RadioBrowser, SomaFM, Openverse, Jamendo. Pure Java, 0 dependencies, full offline caching.

Topics

Resources

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages