Sign in

Mod for plex

Remove Codecs

This mod removes all codec subfolders from Plex's /config/Library/Application Support/Plex Media Server/Codecs/ folder, preserves the .device-id, and allows Plex to repopulate the codecs folder while starting up.

arch
amd64
built

Use it#

Set DOCKER_MODS on the plex container and recreate it. The mod is pulled on every start; several mods are separated with |.

DOCKER_MODS=ghcr.io/linuxserver-playground/mods:plex-remove-codecs

:plex-remove-codecs always gets the newest build. To stay on this one, pin its tag:

DOCKER_MODS=ghcr.io/linuxserver-playground/mods:plex-remove-codecs-2213c1c
services:
  plex:
    image: ghcr.io/linuxserver-playground/plex:latest
    environment:
      - DOCKER_MODS=ghcr.io/linuxserver-playground/mods:plex-remove-codecs

Community project

Improve this mod, or make your own

Mods are how LinuxServer images grow without getting heavier: a Dockerfile, a few scripts and a mod.yml. If this one is missing something, or you need one like it for another image, an AI agent in our harness can build and test it with you.

Ask your agent

  • The plex-remove-codecs mod <what is wrong>. Fix it, test it and draft the PR.
  • Make a mod like plex-remove-codecs for <another image>, and test it.

Making a mod Every way to help Get the harness (opens in a new tab)

Source: plex-remove-codecs branch (opens in a new tab). Every mod