chenqimiao/qm-music
About
🎧☁️ Your Private Music Service
Design & MediaMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.en.md
OriginalQM-Music 🎵
中文 | English
🎧☁️ Your Private Music Service
QM-Music is a private cloud music server based on Subsonic, designed as a lightweight high-performance solution for music enthusiasts. Supports one-click Docker deployment and provides full compatibility with Subsonic ecosystem clients (e.g. StreamMusic/feishin/airsonic/Amperfy/substreamer/music-assistant), enabling secure access to your personal music library anytime, anywhere.
🖥️ feishin
🌟 Core Features
- 🐳 Docker Containerization - Instant deployment with zero environment dependencies
- 🌱 Lightweight Deployment - Requires only ~150MB memory usage, low resource consumption, compatible with Raspberry Pi and other embedded devices
- 🎧 Subsonic Protocol Compatibility - Seamless integration with any Subsonic-compatible client
- ⚡ High-Performance Streaming - Low-latency media transmission
- 🔄 Smart Transcoding - On-demand libmp3lame/acc transcoding to save bandwidth (optional)
- 📁 Multi-Format Support - Comprehensive compatibility with MP3/FLAC/AAC/WAV formats
- 🔒 Self-Hosted Solution - Full control over your music data
🚀 Getting Started
Basic Deployment
docker run
docker run -d \
--name qm-music \
-p 6688:6688 \
-v [host_music_file_path]:/data/qm-music/music_dir \
-v [host_path_db_path]:/data/qm-music/db \
-v [host_path_cache_path]:/data/qm-music/cache \
-e QM_FFMPEG_ENABLE=true \
-e TZ=America/Chicago \
-e QM_SPOTIFY_ENABLE=false \
-e QM_SPOTIFY_CLIENT_ID=[QM_SPOTIFY_CLIENT_ID] \
-e QM_SPOTIFY_CLIENT_SECRET=[QM_SPOTIFY_CLIENT_SECRET] \
-e QM_LASTFM_ENABLE=false \
-e QM_LASTFM_API_KEY=[QM_LASTFM_API_KEY] \
-e QM_REFRESH_AUTO=true \
--restart unless-stopped \
qmmusic/qm-music:latest
docker compose
version: '3'
services:
qm-music:
container_name: qm-music
image: qmmusic/qm-music:latest
ports:
- "6688:6688"
volumes:
- [host_music_file_path]:/data/qm-music/music_dir
- [host_path_db_path]:/data/qm-music/db
- [host_path_cache_path]:/data/qm-music/cache
environment:
- QM_FFMPEG_ENABLE=true
- TZ=America/Chicago
- QM_SPOTIFY_ENABLE=false
- QM_SPOTIFY_CLIENT_ID=[QM_SPOTIFY_CLIENT_ID]
- QM_SPOTIFY_CLIENT_SECRET=[QM_SPOTIFY_CLIENT_SECRET]
- QM_LASTFM_ENABLE=false
- QM_LASTFM_API_KEY=[QM_LASTFM_API_KEY]
- QM_REFRESH_AUTO=true
restart: unless-stopped
⚙️ Configuration Instructions
- Environment Variables
QM_FFMPEG_ENABLE=trueEnable smart audio transcoding (recommended for outdoor use). Automatically switches between libmp3lame/acc encodings based on network conditions to reduce data usage (disabled by default).TZ=America/ChicagoConfigure according to your timezone.QM_SPOTIFY_ENABLE=falseEnable for enhanced metadata support SPOTIFY KEY ApplicationQM_SPOTIFY_CLIENT_IDNot requiredQM_SPOTIFY_CLIENT_SECRETNot requiredQM_LASTFM_ENABLE=falseEnable for enhanced metadata support LAST FM KEY ApplicationQM_LASTFM_API_KEYNot requiredQM_REFRESH_AUTO=trueScheduled refresh music library switch is enabled by defaultQM_CLEAN_PLAY_HISTORY_AUTO=trueOptional. Scheduled play history cleanup switch. Enabled by default.QM_SAVE_PLAY_HISTORY_MONTH=24Optional. Retention period for play history (in months). Default 24
- Volume Mounts
/data/qm-music/music_dir: Music file storage directory./data/qm-music/db: Database and metadata storage directory (do not store other files here)./data/qm-music/cache: Cache files directory.
🖥️ Initial Setup & Usage
- Access the admin interface at
http://[Server IP]:[Port]. - Log in with default credentials:
Username:admin
Password:admin - Immediately change the default password on the homepage.
- Navigate to Library Management and click the [Refresh Library] button.
- Wait for metadata parsing to complete (check progress via logs).
- Use the following connection parameters in client apps (StreamMusic/feishin/Amperfy/substreamer/music-assistant, etc.):
Server URL: http://[Server IP]:6688 Username: Updated admin username Password: Updated admin password
📜 License
This project is released under the Apache License 2.0. You may:
- Retain original copyright notices in derivative works
- Clearly document modifications in distributed derivatives
- No warranties expressed or implied
Full license text is available in LICENSE file. Your use constitutes acceptance of these terms.
Explore related projects
Loading…