Skip to main content

Overview

copyparty includes a powerful media player that supports almost every audio and video format, with features like playlist management, audio transcoding, and metadata-based searching.

Prerequisites

For the best media server experience, install these optional dependencies:

Basic Media Server Setup

Configuration File Setup

For a production media server, use a configuration file:
media-server.conf
Start the server:

Advanced Media Features

Audio Transcoding

The media player can transcode unsupported formats on-the-fly. Enable opus transcoding for mobile devices:
In the web UI, click [🎺] (media player settings):
  • Enable [oth] to transcode uncommon formats
  • Enable [flac] to transcode FLAC files for bandwidth savings
  • Choose [opus] or [mp3] as the output format

Custom Sort Order

Sort files by album, track number, artist, and title:
Or in config file:

RSS Feeds for Podcasts

Enable RSS feeds for podcast clients:
Access the RSS feed:
Add parameters:
  • ?rss&recursive - Include subfolders
  • ?rss&fext=mp3,opus - Only include specific formats
  • ?rss&nf=50 - Limit to 50 newest files
  • ?rss&pw=password - Include password in feed

Video Thumbnails

Video thumbnails are generated automatically with FFmpeg:
Disable video thumbnails to save CPU:

Playlist Support

Create and use M3U playlists:
1

Enable playlist creation

In the web UI, open [🎺] media player settings and enable [📻] create-playlist.
2

Add songs to playlist

  • Click [📻add] while a song is playing
  • Or select multiple files and click [📻add]
3

Save the playlist

  • Click [📻copy] to copy to clipboard
  • Create a new file with .m3u extension
  • Paste the playlist content
4

Play the playlist

Click on any .m3u file and choose “Play”

Metadata Indexing

Supported Audio Formats

copyparty can extract metadata from:
  • MP3, FLAC, Opus, Ogg Vorbis
  • M4A, AAC, ALAC
  • WMA, WAV, AIFF
  • Module formats (MOD, XM, S3M, IT)
  • And many more with FFmpeg

Additional Metadata with Plugins

Use external scripts to add BPM and key detection:
See example plugins in the repo.

Hide Tags by Default

Index tags for searching but don’t display them:
  • -mth - Tags to hide (still searchable)
  • Users can unhide them in the [⚙️] settings tab

Search Features

With indexing enabled, users can search by: Open [🔎] search tab:
  • Name: demetori - Find files with “demetori” in filename
  • Tags: artist:*nhato* - Find by artist tag
  • Raw query: tags.artist like '%touhou%' - SQL-style queries
Drag and drop files into the upload area and select “Search” to find duplicates by content hash.

Performance Optimization

Skip hashing for large video files:
Store the index database on a faster disk:
Disables video thumbnails but keeps audio spectrograms.
Thumbnails expire after 30 days (2592000 seconds).

Mobile Access

iOS Shortcuts

Create shortcuts to quickly access your music:
  1. Open Shortcuts app
  2. Create new shortcut
  3. Add “Open URL” action
  4. Set URL: http://your-server:3923/music

Android App

Use the copyparty Android app for quick uploads and access.

Progressive Web App

Add copyparty to your home screen:
  1. Open in mobile browser
  2. Tap “Add to Home Screen”
  3. Access like a native app

Example: Complete Music Server

complete-media.conf

Troubleshooting

  • Ensure -e2ts is set
  • Tags must be in -mte to display
  • Run with -e2tsr once to rebuild tag database
  • Check that FFmpeg or Mutagen is installed
  • Install FFmpeg and/or Pillow
  • Check file permissions on .hist/ folder
  • Some formats need specific FFmpeg builds
  • Use --th-ff-jpg for compatibility
  • Use --no-hash for large video files
  • Move database to SSD with --hist
  • Reduce --mtag-mt (default is CPU count)
Android: disable battery optimization for your browser app.iOS: known browser limitations, try enabling preload in player settings.

Next Steps