Home / Guide / Copyparty as a media server

Copyparty as a Media Server: Music, Video, Thumbnails and Playlists

Turn copyparty into a personal media server. Enable thumbnails and tag indexing, stream music with transcoding, build playlists and search your library by artist or tempo.

Laptop playing music beside orange headphones and cassette tapes on a dark desk

Copyparty is best known as a file server, but it also makes a surprisingly capable personal media server. Its browser interface includes an audio player with playlists, it can read music tags and search by artist, album or tempo, it generates thumbnails for images and video, and it can transcode audio on the fly for phones on slow connections. All of this works on the files you already have, in the folders where they already live. This guide explains which features to switch on, which optional tools they need and how to organise a library that is pleasant to browse.

What copyparty offers for media

Before configuring anything, it helps to know what is available.

  • An in-browser audio player with a queue, playlists and an equaliser.
  • Thumbnails for images, video and album artwork.
  • Indexing of music tags such as artist, album, title, duration and bitrate.
  • Search across those tags, combined with ordinary file attributes.
  • Audio transcoding to smaller formats for playback on limited connections.
  • Grid and gallery views for browsing photo and video folders.

None of these features require you to import or convert your library. copyparty reads the files directly and keeps its own small database of what it has learned about them.

The optional tools behind media features

Media features rely on optional dependencies. Without them, copyparty still lists and serves files perfectly well; you simply see plain icons and fewer details.

  • Pillow generates image thumbnails.
  • FFmpeg and FFprobe produce video thumbnails, audio waveforms and transcoding, and can read media tags.
  • Mutagen reads music tags quickly and is used by default when present.

The easiest way to get all of them at once is the copyparty/ac Docker image, which bundles thumbnails and audio transcoding. On a regular installation, install Pillow with pip and FFmpeg with your package manager. On Windows, the documentation recommends installing FFmpeg manually and placing ffmpeg.exe and ffprobe.exe in a folder on your PATH, rather than relying on winget or the Microsoft Store.

Switching on indexing

Thumbnails work as soon as the tools are present, but search and tag display need indexing. Two global options do most of the work.

Terminal
[global]
  e2dsa
  e2ts

The first scans every volume and builds a database of files, which powers search, deduplication and upload tracking. The second reads media tags from audio and video files. You can apply the same options as flags on individual volumes if you prefer to index only your music library rather than every folder.

The first scan of a large library takes time and causes a burst of disk activity. Later scans are much faster, because copyparty only looks at what has changed.

Organising a music library

copyparty does not force any particular structure, but a tidy layout makes browsing easier for everyone.

  • Keep one folder per artist, with album folders inside.
  • Place cover artwork in each album folder, named cover or folder, so it appears as a thumbnail.
  • Make sure files carry correct tags, because search and the player rely on them.
  • Use consistent formats where possible; FLAC for archiving and Opus or MP3 for portable copies is a common combination.

A dedicated music volume with read-only access for the household keeps the library safe from accidental deletion while letting everyone listen.

Playing music in the browser

Click any audio file and the player bar appears at the bottom of the page. The next files in the folder follow automatically, so playing an album is as simple as clicking its first track. The player supports keyboard shortcuts, shuffle and repeat, and continues while you browse other folders.

On phones, the player integrates with the lock screen and media controls in most modern browsers. If playback stops when the screen turns off, the documentation suggests checking the phone’s battery optimisation settings for the browser.

Building playlists

copyparty can create and play playlists in the common m3u format, which most other music players also understand. You can build a queue in the browser and save it, or place m3u files you already have in a music folder. Because playlists are ordinary text files referencing other files, they remain portable if you ever move to a different player.

Audio transcoding for slower connections

A lossless album can be several hundred megabytes, which is impractical over mobile data. With FFmpeg installed, copyparty can transcode audio on the fly into a smaller format before sending it. The original files are untouched; only the stream is converted.

Transcoding is processor-intensive, so it is the most demanding media feature. A modern desktop handles several streams easily, while a small single-board computer may manage only one or two. If your server is modest, keep portable copies of favourite albums in a compact format instead.

Searching by tags

Once tags are indexed, the search tab becomes far more powerful. Alongside name, size and date, you can search by artist, album or title, and combine conditions. The documentation shows examples such as finding tracks within a tempo range or in a particular musical key. These two values come from optional audio analysis, and the dj Docker image includes the tools needed to detect them.

For DJs and collectors, this means locating every track in a certain key and tempo across a large library takes a moment rather than an evening.

Photos and video

For photo and video folders, switch to the grid view to see thumbnails at a glance. Clicking an image opens it in a lightbox, and arrow keys move through the folder. Videos play in the browser when their format is supported, which covers common formats such as MP4 and WebM.

Docker users should note that the official images cannot generate thumbnails for HEIF or HEIC photographs or for HEVC video, for legal reasons. If your library is dominated by these formats, running copyparty directly on the host with suitable libraries gives better results.

Sharing media with others

copyparty’s permissions make it easy to share selected media without exposing everything.

  • Give family members read access to the music and photo volumes.
  • Create an upload-only folder for friends to contribute photos from an event.
  • Generate a share link with an expiry date to send a single album or video to someone outside your household.

Because each volume has its own access list, a private folder can sit alongside a shared one without any risk of overlap.

Performance tips for media libraries

A few habits keep a media server responsive.

  • Store thumbnails and the index on a fast drive if your library lives on slower disks.
  • Avoid regenerating thumbnails for very large folders during busy periods.
  • Limit transcoding on low-power hardware.
  • Keep the index on local storage rather than a network share.

These adjustments matter most on single-board computers and NAS devices with spinning disks.

Keeping a media library healthy

A media library grows quietly, and small problems accumulate over time. Missing tags, duplicate albums and inconsistent folder names all make browsing harder. copyparty’s search helps you find these issues: search for files without an artist tag, sort by size to spot duplicates, or look for unusual formats that your devices struggle to play. Fixing a few at a time keeps the library tidy without turning maintenance into a chore.

Deduplication can also help, particularly when several people upload the same photos from an event. When enabled for a volume, copyparty can detect identical files and replace extra copies with links, saving space without anyone noticing a difference.

Listening on the move

copyparty’s player works in any modern browser, so your library is available wherever the server is reachable. On a phone, add the server to your home screen for quick access. For listening over mobile data, rely on transcoding to reduce data use, and consider keeping a smaller selection of favourite albums in a compact format so they stream quickly even on weak signals. Combined with secure remote access, this gives you a personal music service built entirely on files you own.

Audio formats and compatibility

Browsers differ in which audio formats they play natively. MP3, AAC and Opus work almost everywhere, while FLAC plays in most modern browsers but not every older one. When a browser cannot play a file directly, transcoding fills the gap by converting it to a format the browser understands. If transcoding is unavailable, keeping a portable copy in a widely supported format guarantees playback on every device your household uses.

Sharing a single album with a friend

Sometimes you want to send one album rather than open your whole library. Select the album folder and create a share link, choosing an expiry time that suits the occasion. Your friend opens the link, browses only that album and can play or download it. When the link expires, access ends automatically, with no account to remove and nothing else exposed. It is a tidy way to share music, holiday photos or a home video without giving anyone more than you intended.

Frequently Asked Questions

Can copyparty replace a dedicated music server?

For many households, yes. It plays music in the browser, supports playlists, searches tags and transcodes audio. Dedicated servers offer native apps and richer metadata, but copyparty needs far less setup.

Why do I not see thumbnails for my videos?

Video thumbnails require FFmpeg. Install it on the host, or use the copyparty/ac Docker image, which includes it.

How do I search my music by artist?

Enable tag indexing with the e2ts option, then use the search tab, where tag fields such as artist and album become available.

Does transcoding change my original files?

No. copyparty converts only the stream it sends to the browser; the files on disk remain exactly as they were.

Can copyparty play HEIC photos in Docker?

The official images cannot thumbnail HEIC or HEVC files for legal reasons. Run copyparty on the host with suitable libraries if you need them.

Conclusion

Copyparty is a capable media server hiding inside a file server. Add Pillow and FFmpeg, switch on indexing, organise your library with clear folders and correct tags, and you gain a browser-based music player with playlists, tag search and transcoding, plus thumbnail galleries for photos and video. It works with your existing files, shares selectively through precise permissions and runs on modest hardware, which makes it an appealing choice for anyone who wants their media available without another complex application.