Overview
copyparty includes a full-featured media player with audio transcoding, tag indexing, playlists, and OS integration. Perfect for self-hosting your music library.Audio Player
A sophisticated web-based audio player with advanced features.Key Features
OS Integration
Control playback from your phone’s lockscreen or Windows media controls
Transcoding
Play any audio format via on-the-fly FFmpeg transcoding
Equalizer
Built-in EQ with dynamic range compression
Gapless Playback
Nearly gapless transitions between songs
Supported Formats
Always playable (no FFmpeg needed):- AAC, FLAC, M4A, MP3, OGG, Opus, WAV
- AC3, AIF, AIFF, ALAC, ALAW, AMR, APE, AU, DFPWM, DTS
- GSM, IT, M4A, MO3, MOD, MP2, MPC, MPTM, MT2, MULAW
- OKT, RA, S3M, TAK, TTA, ULAW, WMA, WV, XM, XPK
- Videos (audio track extracted)
Player Controls
Click theplay link next to an audio file to start playback.
Hotkeys:
P- Play/PauseJ/L- Previous/Next songU/O- Skip ±10 seconds0-9- Jump to 0%-90%Y- Download current file
Player Configuration
Open the[🎺] media player settings tab:
Switches
[🔁]Repeat one song forever[🔀]Shuffle files in each folder[preload]Start loading next track early (reduces silence between songs)[full]Full preload (download entire next file - good for unreliable connections)[~s]Toggle waveform display in seekbar[/np]Enable “now playing” IRC message buttons[📻]Enable playlist creation buttons[os-ctl]Enable OS lockscreen controls[seek]Allow seeking via lockscreen[art]Show album art on lockscreen[🎯]Auto-scroll to playing song[⟎]Shrink playback controls
Folder Playback
[loop]Loop the current folder[next]Continue into next folder
Transcoding Options
- Format Selection
- Output Format
Choose which formats to transcode:
[flac]- Convert FLAC/WAV to Opus/MP3[aac]- Convert AAC/M4A to Opus/MP3[oth]- Convert all other formats to Opus/MP3
FLAC and WAV transcoding must be explicitly enabled with
--allow-flac and --allow-wav due to disk space requirements.Audio Equalizer
Built-in equalizer and dynamic range compressor.- Adjustable frequency bands
- Volume boost
- Stereo width control (similar to crossfeed)
- Dynamic range compression
- Reduces pause between songs (helps with gapless playback)
Playlists (M3U/M3U8)
Create and play standard M3U playlists.Creating Playlists
Method 1: Using copyparty- Enable
[📻]in player settings - Click
📻addwhile songs are playing or selected - Click
📻copyto get playlist content - Create
playlist.m3uand paste content
Playing Playlists
Click an.m3u or .m3u8 file and choose Play.
Playlists can include songs across folders but don’t support filekeys/dirkeys. Users need read/get access to all files.
Video Player
Basic video playback with gallery integration.Features
- Click video files to play inline or fullscreen
- Navigate through videos in folder with
J/Lor arrow keys - Play video files as audio (audio track only, no video bandwidth)
- Loop ranges with
[and]hotkeys
Hotkeys
J/L, ←/→- Previous/Next videoF- FullscreenP/K/Space- Play/PauseU/O- Skip ±10 seconds0-9- Jump to 0%-90%M- MuteC- Continue to next videoV- Loop current video[- Set loop start]- Set loop end
Audio from Video
Add?v to any video/audio/image link to open it in the media player (audio-only for videos).
Media Indexing
Index audio tags for searching and organization.Enable Tag Indexing
Configuring Tags
Display tags (indexed and shown):Config File Example
Tag Sources
Mutagen (default):- Fast (~20x faster than FFprobe)
- Supports MP3, FLAC, Opus, M4A, WAV, AIF
--no-mutagen):
- Slower but more comprehensive
- Additional tags: melodic key, video resolution, framerate
- Processes all FFmpeg-supported formats
Available Metadata Tags
Common tags include:artist,title,album.tn(track number),.dur(duration - numeric tags start with.)genre,date,composer.bpm,key,comment.resw,.resh(video resolution)fmt(format/codec)
Custom Tag Parsers
Extend metadata with external programs.f- Force/overwrite existing tagst5- 5 second timeoutay- Audio files only (default)an- Non-audio files onlyad- All files
Transcoding Configuration
Server-Side
Per-Volume
Advanced Features
Folder Thumbnails from Audio
With-e2dsa enabled, copyparty extracts album art for folder thumbnails.
Cover image priority:
folder.png/folder.jpgcover.png/cover.jpg.folder.png/.folder.jpg(dotfiles)- First image in folder
- Embedded album art